/*
 * Main UI for the G1 marketing website.
 * Colors are injected through CSS variables in includes/header.php, allowing red/blue branding via config.
 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--brand-dark);
    background: #fff;
    line-height: 1.55;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-secondary), white 30%); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 32px)); }
.section-pad { padding: clamp(72px, 9vw, 132px) 0; }
.bg-soft { background: linear-gradient(180deg, #f7f9ff 0%, #fff 100%); }
.bg-dark { background: radial-gradient(circle at 10% 0%, rgba(232, 36, 46, .35), transparent 28%), radial-gradient(circle at 90% 10%, rgba(11, 77, 255, .45), transparent 30%), #07111f; }
.text-light { color: #fff; }
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    border-radius: 0;
    background: rgba(7,17,31,.72);
    color: #fff;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0,0,0,.24);
    transition: background .25s ease, transform .25s ease;
}
.site-header.is-scrolled { background: rgba(7,17,31,.92); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(11, 77, 255, .35);
}
.brand-copy { display: inline-flex; min-width: 0; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.05; }
.brand-text { display: block; min-width: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.brand-powered { display: block; color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.brand-powered a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.42); }
.brand-powered a:hover, .brand-powered a:focus-visible { border-bottom-color: #fff; }
.primary-nav { display: flex; align-items: center; gap: 18px; font-weight: 750; font-size: .94rem; }
.primary-nav a { opacity: .9; }
.primary-nav a:hover, .primary-nav a.active { opacity: 1; }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: #fff; color: #07111f; }
.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.lang-switch a { padding: 5px 8px; border-radius: 999px; font-size: .78rem; }
.lang-switch a.active { background: rgba(255,255,255,.22); }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; border-radius: 8px; }
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: #07111f; }
.hero-video, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-fallback { display: none; opacity: .36; }
.hero-video.is-hidden { display: none; }
.hero-video.is-hidden + .hero-fallback { display: block; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(232,36,46,.44), transparent 34%), radial-gradient(circle at 75% 25%, rgba(11,77,255,.45), transparent 36%), linear-gradient(90deg, rgba(7,17,31,.96), rgba(7,17,31,.55) 55%, rgba(7,17,31,.95)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr); gap: clamp(32px, 7vw, 88px); align-items: center; padding-top: 86px; }
.hero-copy h1 { font-size: clamp(3.1rem, 7.8vw, 7.6rem); line-height: .88; margin: 18px 0 24px; max-width: 880px; letter-spacing: -.08em; }
.hero-title-keyword {
    color: #88adff;
    text-shadow: 0 0 18px rgba(95, 136, 255, .24), 0 8px 24px rgba(11, 77, 255, .16);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-title-keyword {
        background: linear-gradient(180deg, #c9dbff 0%, #8fb2ff 48%, #5f88ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}
.hero-subtitle { max-width: 690px; font-size: clamp(1.08rem, 2vw, 1.38rem); color: rgba(255,255,255,.84); }
.badge { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: inherit; border: 1px solid rgba(255,255,255,.22); font-weight: 850; font-size: .87rem; }
.badge.small { font-size: .78rem; padding: 6px 10px; background: color-mix(in srgb, var(--brand-secondary), white 88%); color: var(--brand-secondary); border-color: transparent; }
.pulse-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-primary); box-shadow: 0 0 0 8px rgba(232,36,46,.18); animation: badgePulseDot 1.35s ease-out infinite; transform-origin: center; }
@keyframes badgePulseDot {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232,36,46,.42); }
    68% { transform: scale(1.16); box-shadow: 0 0 0 12px rgba(232,36,46,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232,36,46,0); }
}
.hero-actions, .social-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; background-clip: padding-box; overflow: hidden; isolation: isolate; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary), var(--brand-secondary) 42%) 36%, var(--brand-secondary)) padding-box; background-clip: padding-box; border-color: transparent; box-shadow: 0 18px 45px rgba(11,77,255,.27); }
.btn-glass { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); backdrop-filter: blur(12px); }
.btn-outline { background: #fff; border-color: rgba(7,17,31,.12); color: var(--brand-dark); box-shadow: 0 14px 35px rgba(7,17,31,.08); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn.full { width: 100%; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proof-row span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 800; font-size: .92rem; }
.fomo-line { margin-top: 20px; color: #ffdce0; font-weight: 800; }
.hero-card-stack { display: grid; gap: 14px; min-width: 0; }
.hero-card { border: 1px solid rgba(255,255,255,.22); border-radius: 32px; background: rgba(255,255,255,.1); box-shadow: 0 30px 90px rgba(0,0,0,.35); backdrop-filter: blur(18px); overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: rgba(255,255,255,.08); }
.hero-card-body { padding: 24px; }
.hero-badge-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 0 22px 24px; list-style: none; }
.hero-badge-item { flex: 0 1 108px; min-width: 82px; max-width: 122px; display: grid; place-items: center; min-height: 68px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-badge-row.is-framed .hero-badge-item { min-height: 86px; padding: 9px; border-radius: 20px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 34px rgba(0,0,0,.16); }
.hero-card .hero-badge-item img { width: 100%; height: auto; max-height: 68px; aspect-ratio: auto; object-fit: contain; background: transparent; }
.hero-deposit-card { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.1); color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.26); backdrop-filter: blur(18px); }
.hero-deposit-label { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand-primary), white 12%); color: #fff; font-size: .74rem; font-weight: 950; letter-spacing: .08em; line-height: 1.1; text-transform: uppercase; }
.hero-deposit-card strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: #fff; font-size: clamp(1.65rem, 2.4vw, 2.2rem); line-height: .95; letter-spacing: -.055em; }
.hero-deposit-amount { display: inline-block; }
.hero-deposit-vat { display: inline-block; color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 920; letter-spacing: -.01em; line-height: 1.15; }
.hero-deposit-card p { margin: 0; color: rgba(255,255,255,.8); font-size: .94rem; line-height: 1.45; }
.hero-card-body h2 { margin: 12px 0; font-size: 1.45rem; }
.price-pill, .status-pill { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--brand-dark); font-weight: 950; font-size: .86rem; }
.status-pill { background: #edf2ff; color: var(--brand-secondary); }
.trustbar { position: relative; z-index: 2; margin-top: -44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust-item { padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(7,17,31,.12); border: 1px solid rgba(7,17,31,.08); }
.trust-item strong { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.trust-item span { color: #526072; }
.eyebrow { color: var(--brand-primary); text-transform: uppercase; letter-spacing: .14em; font-weight: 950; font-size: .76rem; margin: 0 0 10px; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.04; }
h2 { font-size: clamp(2.05rem, 4vw, 4.4rem); margin: 0 0 18px; }
h3 { font-size: 1.28rem; margin: 0 0 10px; }
p { margin: 0 0 16px; }
.split-head { display: grid; grid-template-columns: 1fr minmax(260px, 440px); gap: 28px; align-items: end; margin-bottom: 34px; }
.split-head > p { color: #536173; font-size: 1.08rem; }
.card-grid { display: grid; gap: 16px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card, .panel, .step-card, .gallery-card, .testimonial, .inquiry-form, .contact-note, .media-item { border: 1px solid rgba(7,17,31,.09); border-radius: 28px; background: #fff; box-shadow: 0 20px 60px rgba(7,17,31,.08); }
.trigger-section { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pain-card { position: relative; overflow: hidden; border: 1px solid rgba(7,17,31,.09); border-radius: 28px; background: #fff; box-shadow: 0 20px 60px rgba(7,17,31,.08); }
.pain-card:not(.has-visual) { padding: 24px; }
.pain-card::after { content: ''; position: absolute; inset: auto -20% -45% -20%; height: 120px; background: linear-gradient(135deg, rgba(232,36,46,.12), rgba(11,77,255,.16)); filter: blur(4px); pointer-events: none; }
.pain-card-body { position: relative; z-index: 1; }
.pain-card.has-visual .pain-card-body { padding: 20px 22px 24px; }
.pain-visual { position: relative; z-index: 1; height: 148px; margin: 0; overflow: hidden; background: color-mix(in srgb, var(--brand-light), white 24%); }
.pain-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,17,31,0) 35%, rgba(6,17,31,.28) 100%); pointer-events: none; }
.pain-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); }
.pain-card h3 { min-height: 82px; color: var(--brand-dark); }
.pain-card p { color: #536173; position: relative; z-index: 1; }
.pain-label, .gain-label { display: inline-flex; width: fit-content; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.pain-label { background: color-mix(in srgb, var(--brand-primary), white 88%); color: var(--brand-primary); }
.gain-label { margin-top: 8px; background: color-mix(in srgb, var(--brand-secondary), white 88%); color: var(--brand-secondary); }
.transformation-section h2 { margin-bottom: 28px; }
.before-after { border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: rgba(255,255,255,.08); box-shadow: 0 28px 80px rgba(0,0,0,.22); overflow: hidden; }
.ba-head, .ba-row { display: grid; grid-template-columns: 1fr 1fr; }
.ba-head span { padding: 18px 20px; font-weight: 950; background: rgba(255,255,255,.1); color: #fff; }
.ba-row { border-top: 1px solid rgba(255,255,255,.12); }
.ba-row p { margin: 0; padding: 18px 20px; color: rgba(255,255,255,.78); }
.ba-row p:first-child { color: rgba(255,255,255,.58); }
.ba-row p:last-child { color: #fff; font-weight: 850; background: linear-gradient(90deg, rgba(11,77,255,.12), rgba(232,36,46,.1)); }
.feature-card { padding: 24px; min-height: 245px; }
.feature-card p, .panel li, .step-card p, .gallery-card p, .testimonial footer { color: #536173; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; margin-bottom: 24px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); }
.two-col { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 6vw, 82px); align-items: start; }
.two-col.align-center { align-items: center; }
.sticky-copy { position: sticky; top: 120px; }
.service-panels { display: grid; gap: 18px; }
.panel { padding: 30px; }
.panel-blue { background: linear-gradient(145deg, color-mix(in srgb, var(--brand-secondary), white 92%), #fff); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--brand-secondary), white 85%); color: var(--brand-secondary); font-size: .78rem; font-weight: 950; }
.check-list.negative li::before { content: '—'; background: color-mix(in srgb, var(--brand-primary), white 86%); color: var(--brand-primary); }
.check-list.compact { gap: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.step-card { padding: 26px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; color: #fff; }
.step-card span { display: block; color: #90b2ff; font-weight: 950; margin-bottom: 30px; }
.step-card p { color: rgba(255,255,255,.72); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid.all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card { overflow: hidden; }
.gallery-card-media-link { display: block; overflow: hidden; background: #edf2ff; }
.gallery-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: #edf2ff; transition: transform .62s cubic-bezier(.22, .61, .36, 1); transform-origin: center; }
.gallery-card div { padding: 22px; }
.gallery-card h2, .gallery-card h3 { margin-top: 10px; }
.text-link { color: var(--brand-secondary); font-weight: 950; }
.gallery-card .text-link { display: inline-flex; align-items: center; gap: 4px; }
.text-link-arrow { display: inline-block; line-height: 1; will-change: transform; }
@keyframes galleryMoreArrowJump {
    0%, 100% { transform: translateX(0); }
    42% { transform: translateX(3px); }
}
@media (hover: hover) and (pointer: fine) {
    .gallery-card .text-link:hover .text-link-arrow,
    .gallery-card .text-link:focus-visible .text-link-arrow { animation: galleryMoreArrowJump .52s cubic-bezier(.22, .61, .36, 1); }
    .gallery-card-media-link:hover img,
    .gallery-card-media-link:focus-visible img { transform: scale(1.045); }
}

.client-logo-section { padding-block: clamp(68px, 8vw, 112px); background: #fff; border-top: 1px solid rgba(7,17,31,.06); border-bottom: 1px solid rgba(7,17,31,.06); }
.client-logo-section .split-head { gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 38px; }
.client-logo-section .eyebrow { margin-bottom: 9px; font-size: .75rem; letter-spacing: .14em; color: var(--brand-primary); }
.client-logo-section h2 { max-width: 760px; font-size: clamp(1.75rem, 3.1vw, 3.3rem); line-height: 1.06; letter-spacing: -.04em; }
.client-logo-section .split-head > p { max-width: 540px; color: #5f6d80; font-size: 1.03rem; }
.client-logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 21px; margin-top: 0; }
.client-logo-card { position: relative; overflow: hidden; width: min(100%, 310px); min-height: clamp(130px, 10.5vw, 152px); display: grid; place-items: center; padding: clamp(26px, 3vw, 38px); border-radius: 25px; background: #fff; border: 1px solid rgba(7,17,31,.08); box-shadow: 0 18px 50px rgba(7,17,31,.068); color: var(--brand-dark); text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.client-logo-card:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(7,17,31,.08); border-color: rgba(11,77,255,.16); }
.client-logo-card img { max-width: min(220px, 86%); max-height: 80px; object-fit: contain; opacity: .96; filter: saturate(.96); transition: transform .2s ease; }
.client-logo-card:hover img { transform: scale(1.08); }
a.client-logo-card[href]::after { content: ''; position: absolute; top: 14px; right: 14px; z-index: 2; width: 26px; height: 26px; background-color: #536173; opacity: .82; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E") center / contain no-repeat; transition: background-color .18s ease, opacity .18s ease; }
a.client-logo-card[href]:hover::after { background-color: var(--brand-secondary); opacity: 1; }
.client-logo-card span { font-size: .94rem; font-weight: 850; letter-spacing: -.01em; }
.client-logo-card em { color: #758195; font-style: normal; font-size: .81rem; font-weight: 720; }
.logo-cloud { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.logo-cloud span { display: grid; place-items: center; min-height: 74px; border-radius: 20px; border: 1px solid rgba(7,17,31,.08); background: #fff; color: #536173; font-weight: 900; text-align: center; padding: 10px; }
.logo-cloud.customer-marquee { position: relative; display: block; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.customer-marquee-track { display: flex; align-items: stretch; gap: 10px; width: max-content; max-width: none; will-change: transform; transform: translate3d(0, 0, 0); }
.logo-cloud.customer-marquee span { flex: 0 0 auto; width: clamp(190px, 16vw, 260px); }

.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.testimonial { margin: 0; padding: 26px; }
.testimonial p { font-size: 1.06rem; }
.testimonial footer { font-weight: 850; }
.phone-mock { width: min(330px, 100%); min-height: 600px; margin-inline: auto; padding: 20px; border-radius: 46px; background: #07111f; box-shadow: 0 32px 90px rgba(7,17,31,.28); border: 8px solid #131e2c; color: #fff; }
.phone-top { width: 92px; height: 20px; border-radius: 999px; background: #263345; margin: 0 auto 30px; }
.phone-video-card { min-height: 410px; border-radius: 32px; padding: 24px; display: grid; align-content: end; background: radial-gradient(circle at 25% 18%, var(--brand-primary), transparent 32%), radial-gradient(circle at 80% 15%, var(--brand-secondary), transparent 34%), linear-gradient(160deg, #14233c, #060b13); }
.phone-video-card span { font-size: 4rem; font-weight: 950; opacity: .35; }
.phone-video-card strong { font-size: 1.6rem; }
.phone-video-card em { color: rgba(255,255,255,.7); }
.phone-stats { display: flex; gap: 8px; margin-top: 14px; }
.phone-stats span { flex: 1; text-align: center; padding: 12px 6px; border-radius: 16px; background: #142033; color: #90b2ff; font-size: .78rem; font-weight: 900; }
.social-section { background: #fff; }
.social-reel-carousel { position: relative; margin-top: clamp(34px, 5vw, 58px); background: transparent !important; }
.social-reel-carousel::before, .social-reel-carousel::after { content: none !important; display: none !important; background: transparent !important; box-shadow: none !important; }
.social-reel-viewport { width: 100%; background: transparent !important; background-color: transparent !important; box-shadow: none !important; touch-action: pan-y; cursor: grab; }
.social-reel-carousel.is-dragging .social-reel-viewport { cursor: grabbing; }
.social-reel-strip { display: grid; grid-template-columns: repeat(var(--visible-reels, 4), minmax(0, 1fr)); gap: 18px; padding: 6px 0 18px; width: 100%; max-width: none; background: transparent !important; background-color: transparent !important; box-shadow: none !important; }
.social-reel-card { min-width: 0; background: transparent !important; box-shadow: none !important; }
.social-reel-card[hidden] { display: none !important; }
.reel-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(7,17,31,.93); color: #fff; box-shadow: 0 18px 44px rgba(7,17,31,.22); cursor: pointer; transition: transform .2s ease, opacity .2s ease, visibility .2s ease, background-color .2s ease; }
.reel-nav:hover { transform: translateY(-50%) scale(1.06); background: rgba(7,17,31,1); }
.reel-nav:disabled { cursor: default; transform: translateY(-50%); }
.social-reel-carousel.is-at-start .reel-nav-prev,
.social-reel-carousel.is-at-end .reel-nav-next,
.social-reel-carousel.is-no-overflow .reel-nav { opacity: 0; visibility: hidden; pointer-events: none; }
.reel-nav span { font-size: 1.75rem; line-height: 1; font-weight: 850; margin-top: -2px; }
.reel-nav-prev { left: 0; }
.reel-nav-next { right: 0; }
.reel-frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 32px; background: #07111f; box-shadow: 0 24px 70px rgba(7,17,31,.22); border: 1px solid rgba(255,255,255,.16); }
.reel-video { width: 100%; height: 100%; object-fit: cover; background: #07111f; }
.reel-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,31,.15), transparent 32%, rgba(7,17,31,.82)); pointer-events: none; }
.reel-ui { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; font-size: .78rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.reel-ui > span:last-child { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.reel-live-dot { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(232,36,46,.86); box-shadow: 0 12px 28px rgba(232,36,46,.28); }
.reel-live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: reelLivePulse 1.2s ease-out infinite; }
@keyframes reelLivePulse {
    0% { opacity: 1; transform: scale(1); }
    70% { opacity: .35; transform: scale(1.7); }
    100% { opacity: 1; transform: scale(1); }
}
.reel-copy { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; }
.reel-copy strong { display: block; font-size: 1.22rem; line-height: 1.05; margin-bottom: 8px; letter-spacing: -.035em; }
.reel-copy p { margin: 0; color: rgba(255,255,255,.76); font-size: .92rem; }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid rgba(7,17,31,.08); border-radius: 20px; padding: 18px 20px; box-shadow: 0 16px 42px rgba(7,17,31,.06); }
.faq-item summary { cursor: pointer; font-weight: 950; }
.faq-item p { margin-top: 12px; color: #536173; }
.contact-section { background: radial-gradient(circle at 15% 15%, rgba(232,36,46,.1), transparent 24%), radial-gradient(circle at 85% 10%, rgba(11,77,255,.12), transparent 28%), #fff; }
.contact-copy p { color: #536173; font-size: 1.06rem; }
.contact-note { padding: 20px; display: grid; gap: 6px; margin-top: 24px; }
.contact-note strong { color: var(--brand-primary); }
.contact-note-micro-offer strong { color: var(--brand-secondary); }
.inquiry-form { padding: 26px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 850; font-size: .9rem; }
input, textarea { width: 100%; border: 1px solid rgba(7,17,31,.14); border-radius: 16px; padding: 13px 14px; background: #f8faff; color: var(--brand-dark); }
textarea { resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; color: #536173; font-weight: 700; }
.checkbox input { width: 20px; margin-top: 2px; }
.char-count { text-align: right; color: #7a8798; font-size: .78rem; }
.hp-field { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: 16px; font-weight: 850; }
.form-status.success { background: #e9fff2; color: #076b34; }
.form-status.error { background: #fff0f1; color: #a40e1a; }
.page-hero { padding-top: 140px; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); margin: 0 0 18px; }
.gallery-content-section { padding-top: clamp(32px, 4.4vw, 56px); }
.folder-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-bottom: 30px; }
.folder-meta div { padding: 22px; border-radius: 22px; background: #f8faff; border: 1px solid rgba(7,17,31,.08); }
.folder-meta span { display: block; color: #536173; font-weight: 850; font-size: .82rem; letter-spacing: .03em; }
.folder-meta strong { display: block; margin-top: 7px; font-size: 1.02rem; }
.folder-detail-text { margin-bottom: 30px; padding: clamp(22px, 3vw, 30px); border-radius: 24px; background: linear-gradient(145deg, #fff, #f8faff); border: 1px solid rgba(7,17,31,.08); box-shadow: 0 18px 52px rgba(7,17,31,.065); }
.folder-detail-text p { max-width: 980px; color: #536173; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.folder-detail-text p:last-child { margin-bottom: 0; }
.gallery-back-icon { flex: 0 0 auto; width: 1.08em; height: 1.08em; }
.media-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-items: start; }
.media-item { grid-column: span 6; overflow: hidden; margin: 0; display: flex; flex-direction: column; }
.media-item--wide { grid-column: span 12; }
.media-item--landscape { grid-column: span 6; }
.media-item--portrait { grid-column: span 4; }
.media-item--square { grid-column: span 4; }
.media-item img, .media-item video { width: 100%; height: auto; object-fit: cover; background: #edf2ff; display: block; }
.media-item--wide img, .media-item--wide video { aspect-ratio: 21 / 9; }
.media-item--landscape img, .media-item--landscape video { aspect-ratio: 16 / 10; }
.media-item--portrait img, .media-item--portrait video { aspect-ratio: 9 / 14; }
.media-item--square img, .media-item--square video { aspect-ratio: 1 / 1; }
.media-item figcaption { padding: 16px 18px; color: #536173; font-weight: 850; }
.gallery-empty-state {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: clamp(34px, 6vw, 58px) clamp(22px, 4vw, 42px);
    border: 1px solid rgba(7,17,31,.09);
    border-radius: 28px;
    background: linear-gradient(145deg, #fff, #f8faff);
    box-shadow: 0 20px 60px rgba(7,17,31,.075);
    text-align: center;
}
.gallery-empty-icon {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    box-shadow: 0 18px 38px rgba(11,77,255,.18);
}
.gallery-empty-icon::before,
.gallery-empty-icon::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
}
.gallery-empty-icon::before {
    left: 50%;
    top: 50%;
    width: 30px;
    height: 22px;
    border: 3px solid #fff;
    border-radius: 8px;
    transform: translate(-50%, -50%);
}
.gallery-empty-icon::after {
    left: 18px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
}
.gallery-empty-state h2 {
    margin: 2px 0 0;
    font-size: clamp(1.7rem, 3.2vw, 2.75rem);
}
.gallery-empty-state p {
    max-width: 620px;
    margin: 0;
    color: #536173;
    font-size: 1.04rem;
}
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.7rem; margin-top: 30px; }
.prose p { color: #4e5b6c; }

.legal-page-polished {
    background: radial-gradient(circle at 12% 0%, rgba(232,36,46,.06), transparent 26%), radial-gradient(circle at 88% 6%, rgba(11,77,255,.07), transparent 30%), #fff;
}
.legal-page-polished .container { display: grid; gap: 18px; }
.legal-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
    gap: 18px;
    align-items: stretch;
}
.legal-identity,
.legal-contact-card,
.legal-data-card,
.legal-copy-card {
    border: 1px solid rgba(7,17,31,.09);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(7,17,31,.075);
}
.legal-identity {
    padding: clamp(28px, 4.4vw, 44px);
    background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--brand-secondary), white 94%));
}
.legal-identity .eyebrow { margin-bottom: 12px; }
.legal-identity h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    letter-spacing: -.045em;
}
.legal-address-plain {
    margin-top: 22px;
    font-style: normal;
    color: #334155;
    font-size: 1.04rem;
    font-weight: 760;
    line-height: 1.65;
}
.legal-address-plain span {
    display: block;
    margin-bottom: 7px;
    color: var(--brand-primary);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.legal-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(24px, 3.2vw, 32px);
}
.legal-contact-card h2,
.legal-data-card h2,
.legal-copy-card h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}
.legal-contact-card p {
    margin: 0;
    color: #536173;
}
.legal-contact-list {
    display: grid;
    gap: 10px;
}
.legal-contact-list p {
    display: grid;
    gap: 3px;
    padding-top: 12px;
    border-top: 1px solid rgba(7,17,31,.08);
}
.legal-contact-list span,
.legal-data-card dt {
    color: #758195;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.legal-contact-list strong,
.legal-data-card dd {
    color: var(--brand-dark);
    font-weight: 900;
    overflow-wrap: anywhere;
}
.legal-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.legal-data-card {
    padding: 24px;
}
.legal-data-card dl {
    display: grid;
    gap: 13px;
    margin: 0;
}
.legal-data-card div {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.legal-data-card dd {
    margin: 0;
    font-size: .98rem;
}
.legal-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.legal-copy-card {
    padding: 24px;
}
.legal-copy-card p {
    margin: 0;
    color: #536173;
}
.legal-map-section {
    margin-top: 16px;
}
.legal-map-section .location-card-legal-map {
    margin: 0;
}
.legal-map-section .location-card-legal-map h2 {
    font-size: 1.45rem;
}
.legal-map-section .location-address {
    color: #334155;
    font-weight: 760;
}

.location-card {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(7,17,31,.09);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(7,17,31,.08);
}
.location-card h2,
.location-card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
}
.location-address {
    margin-bottom: 14px;
    color: #536173;
    font-weight: 750;
}
.location-card-legal {
    margin: 14px 0 30px;
}
.location-card-contact {
    margin-top: 24px;
}
.location-map-wrap {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 22px;
    border: 1px solid rgba(7,17,31,.08);
    background: #edf2ff;
}
.location-map-iframe {
    width: 100%;
    min-height: 300px;
    height: clamp(260px, 34vw, 360px);
    display: block;
    border: 0;
    background: #edf2ff;
}
.location-card-contact .location-map-iframe {
    min-height: 260px;
    height: clamp(240px, 28vw, 320px);
}
.location-map-iframe:not([src]) {
    display: none;
}
.location-map-placeholder {
    min-height: inherit;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: clamp(18px, 4vw, 30px);
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand-secondary), white 90%), #fff);
    color: var(--brand-dark);
}
.location-map-placeholder[hidden] {
    display: none !important;
}
.location-map-placeholder strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: -.02em;
}
.location-map-placeholder p {
    max-width: 620px;
    margin: 0;
    color: #536173;
}
.location-map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.location-map-actions .btn {
    min-height: 44px;
    padding: 10px 16px;
}

.site-footer { padding: 32px 16px 20px; background: #07111f; color: #fff; }
.footer-cta { width: min(1160px, 100%); margin: 0 auto 34px; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px; border-radius: 30px; background: linear-gradient(135deg, rgba(232,36,46,.22), rgba(11,77,255,.22)); border: 1px solid rgba(255,255,255,.14); }
.footer-cta h2 { font-size: clamp(1.9rem, 3vw, 3.2rem); margin: 0; }
.footer-grid { width: min(1160px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr .7fr .8fr; gap: 28px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.7); }
.footer-grid a { display: block; margin: 8px 0; }
.footer-grid h3 { font-size: 1rem; }
.footer-brand { margin-bottom: 12px; }
.footer-bottom { width: min(1160px, 100%); margin: 18px auto 0; display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.55); font-size: .9rem; }
.cookie-banner { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; width: min(980px, calc(100% - 32px)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px; border-radius: 24px; background: rgba(7,17,31,.95); color: #fff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 25px 90px rgba(0,0,0,.35); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 4px 0 0; color: rgba(255,255,255,.72); }
.cookie-actions { display: flex; gap: 10px; }
.whatsapp-float { position: fixed; z-index: 49; right: 18px; bottom: 18px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #07111f; font-weight: 950; box-shadow: 0 16px 40px rgba(0,0,0,.25); }

.scroll-robot {
    position: fixed;
    z-index: var(--scroll-robot-z-index, 38);
    right: var(--scroll-robot-right, clamp(22px, 3.2vw, 58px));
    bottom: var(--scroll-robot-bottom, 96px);
    width: var(--scroll-robot-width, clamp(94px, 8.4vw, 148px));
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(28px, 16px, 0) scale(.92);
    transform-origin: right bottom;
    transition: opacity .28s ease, transform .28s ease;
}
.scroll-robot img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 34px rgba(7,17,31,.24));
}
.scroll-robot.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
@media (min-width: 1180px) and (min-height: 720px) {
    .scroll-robot { display: block; }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
@media (max-width: 1020px) {
    .hero-grid, .two-col, .split-head { grid-template-columns: 1fr; }
    .card-grid.four, .steps, .gallery-grid, .gallery-grid.all, .testimonials, .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .logo-cloud { grid-template-columns: repeat(3, 1fr); }
    .client-logo-grid { grid-template-columns: 1fr; }
    .sticky-copy { position: static; }
}
@media (max-width: 1020px) {
    .legal-overview,
    .legal-data-grid,
    .legal-copy-grid { grid-template-columns: 1fr; }
    .legal-data-grid { gap: 14px; }
}
@media (max-width: 820px) {
    .site-header { border-radius: 0; align-items: flex-start; }
    .nav-toggle { display: block; }
    .primary-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; border-radius: 0 0 24px 24px; background: rgba(7,17,31,.96); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: 12px 14px; }
    .nav-cta { text-align: center; }
    .lang-switch { align-self: flex-start; }
    .hero-grid { padding-top: 116px; }
    .hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
    .trustbar, .folder-meta, .media-grid, .footer-grid, .footer-cta, .cookie-banner { grid-template-columns: 1fr; }
    .media-item, .media-item--wide, .media-item--landscape, .media-item--portrait, .media-item--square { grid-column: 1 / -1; }
    .trustbar { margin-top: 0; padding-top: 18px; }
    .footer-cta { align-items: stretch; }
    .cookie-actions { justify-content: stretch; }
    .cookie-actions .btn { flex: 1; }
}
@media (max-width: 620px) {
    .brand { gap: 9px; max-width: calc(100vw - 86px); }
    .brand-text { font-size: 1.2rem; }
    .brand-powered { font-size: .82rem; }
    .container, .narrow { width: min(100% - 24px, 1160px); }
    .section-pad { padding: 62px 0; }
    .gallery-content-section { padding-top: 30px; }
    .hero { min-height: auto; padding-top: 86px; }
    .hero-actions, .proof-row, .social-actions { flex-direction: column; align-items: stretch; }
    .social-reel-strip { grid-template-columns: repeat(var(--visible-reels, 1), minmax(0, 1fr)); padding-left: 0; padding-right: 0; }
    .pain-visual { height: 170px; }
    .reel-nav { width: 40px; height: 40px; }
    .btn { width: 100%; }
    .hero-card { border-radius: 24px; }
    .card-grid.four, .steps, .gallery-grid, .gallery-grid.all, .testimonials, .logo-cloud, .client-logo-grid, .form-row, .pain-grid, .ba-head, .ba-row { grid-template-columns: 1fr; }
    .logo-cloud.customer-marquee span { width: clamp(150px, 62vw, 220px); min-height: 64px; }
    .client-logo-section .split-head { margin-bottom: 30px; }
    .client-logo-card { min-height: 118px; padding: 24px 26px; }
    .client-logo-card img { max-width: min(196px, 86%); max-height: 70px; }
    a.client-logo-card[href]::after { top: 12px; right: 12px; width: 24px; height: 24px; }
    .feature-card { min-height: auto; }
    .footer-bottom { flex-direction: column; }
    .whatsapp-float { width: 52px; height: 52px; }
}


@media (max-width: 620px) {
    .legal-page-polished .container { gap: 14px; }
    .legal-overview { gap: 14px; }
    .legal-identity,
    .legal-contact-card,
    .legal-data-card,
    .legal-copy-card { border-radius: 24px; }
    .legal-identity,
    .legal-contact-card,
    .legal-data-card,
    .legal-copy-card { padding: 20px; }
    .legal-address-plain { font-size: 1rem; line-height: 1.58; }
    .legal-map-section { margin-top: 8px; }
}

@media (max-width: 620px) {
    .location-card {
        padding: 16px;
        border-radius: 24px;
    }
    .location-map-wrap {
        min-height: 230px;
        border-radius: 18px;
    }
    .location-map-iframe,
    .location-card-contact .location-map-iframe {
        min-height: 230px;
        height: 260px;
    }
    .location-map-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .location-map-actions .btn,
    .location-map-actions .text-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Gallery media enlargement: controlled lightbox for images and videos in portrait or landscape formats. */
.media-preview { position: relative; background: #edf2ff; }
.media-preview.is-clickable { cursor: zoom-in; }
.media-preview img, .media-preview video { width: 100%; height: 100%; display: block; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.media-zoom-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(7,17,31,.78);
    color: #fff;
    box-shadow: 0 16px 36px rgba(7,17,31,.22);
    backdrop-filter: blur(14px);
    cursor: pointer;
    font-weight: 900;
    transition: transform .18s ease, background-color .18s ease, opacity .18s ease;
}
.media-zoom-btn:hover { transform: translateY(-2px); background: rgba(7,17,31,.94); }
.media-zoom-btn span { font-size: 1.12rem; line-height: 1; }
.media-zoom-btn strong { font-size: .82rem; }
.media-lightbox[hidden] { display: none !important; }
.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 72px);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.media-lightbox *,
.media-lightbox *::before,
.media-lightbox *::after {
    user-select: none;
    -webkit-user-select: none;
}
.media-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7,17,31,.84);
    backdrop-filter: blur(14px);
    cursor: zoom-out;
}
.media-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100vw - 80px));
    max-height: min(86vh, 860px);
    display: grid;
    gap: 12px;
    justify-items: center;
    box-sizing: border-box;
    padding-inline: clamp(72px, 7vw, 104px);
}
.media-lightbox-close,
.media-lightbox-nav {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 999px;
    background: rgba(255,255,255,.97);
    color: #07111f;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-align: center;
    box-sizing: border-box;
}
.media-lightbox-close {
    position: absolute;
    top: -18px;
    right: clamp(12px, 1.8vw, 28px);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.media-lightbox-close::before,
.media-lightbox-close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}
.media-lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.media-lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.media-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 18px 42px rgba(0,0,0,.24);
    transform: translateY(-50%);
    transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}
.media-lightbox-nav::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 13px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    border-radius: 2px;
}
.media-lightbox-prev::before { transform: translate(-42%, -50%) rotate(-135deg); }
.media-lightbox-next::before { transform: translate(-58%, -50%) rotate(45deg); }
.media-lightbox-nav:hover { background: #fff; transform: translateY(-50%) scale(1.04); }
.media-lightbox-nav[hidden],
.media-lightbox-nav:disabled { display: none !important; }
.media-lightbox-prev { left: clamp(8px, 1.4vw, 22px); }
.media-lightbox-next { right: clamp(8px, 1.4vw, 22px); }
.media-lightbox-content {
    width: 100%;
    max-height: 82vh;
    display: grid;
    place-items: center;
}
.media-lightbox-content img,
.media-lightbox-content video {
    width: auto;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 24px;
    background: #07111f;
    box-shadow: 0 30px 90px rgba(0,0,0,.34);
    -webkit-user-drag: none;
    user-select: none;
}
.media-lightbox-content img { cursor: default; }
.media-lightbox-caption {
    max-width: min(900px, 100%);
    margin: 0;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    text-align: center;
    font-weight: 850;
    backdrop-filter: blur(12px);
}
body.is-lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
    .media-zoom-btn { right: 10px; bottom: 10px; min-height: 38px; padding: 8px 11px; }
    .media-zoom-btn strong { display: none; }
    .media-lightbox { padding: 14px; }
    .media-lightbox-dialog {
        width: 100%;
        max-height: 90vh;
        padding-inline: 0;
        padding-bottom: 68px;
    }
    .media-lightbox-close { top: 10px; right: 10px; width: 46px; height: 46px; }
    .media-lightbox-close::before,
    .media-lightbox-close::after { width: 16px; height: 3px; }
    .media-lightbox-nav {
        top: auto;
        bottom: 6px;
        width: 48px;
        height: 48px;
        transform: none;
    }
    .media-lightbox-nav::before { width: 11px; height: 11px; border-width: 3px; }
    .media-lightbox-nav:hover { transform: none; }
    .media-lightbox-prev { left: calc(50% - 62px); }
    .media-lightbox-next { right: calc(50% - 62px); }
    .media-lightbox-content img,
    .media-lightbox-content video { border-radius: 18px; max-height: 74vh; }
    .media-lightbox-caption { border-radius: 18px; font-size: .92rem; }
}

/* Layout collision guard: keeps large marketing headlines from overlapping adjacent cards/panels on desktop widths. */
.container { width: min(1280px, calc(100% - 32px)); }
.footer-cta,
.footer-grid,
.footer-bottom { width: min(1280px, 100%); }
.hero-grid > *,
.two-col > *,
.split-head > *,
.hero-copy,
.hero-card-stack,
.sticky-copy,
.before-after,
.service-panels,
.panel { min-width: 0; }
h1,
h2,
h3,
.hero-copy h1,
.sticky-copy h2 { max-width: 100%; overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
.hero-grid { grid-template-columns: minmax(0, 1.28fr) minmax(300px, .62fr); gap: clamp(28px, 5vw, 72px); }
.hero-copy h1 { font-size: clamp(3rem, 6.5vw, 6.8rem); line-height: .9; }
.two-col { grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); gap: clamp(34px, 5vw, 72px); }
.two-col .sticky-copy h2 { font-size: clamp(2.3rem, 4.4vw, 4.15rem); line-height: 1.06; }
.before-after,
.service-panels,
.panel { max-width: 100%; }
@media (min-width: 1320px) {
    .container { width: min(1320px, calc(100% - 48px)); }
    .footer-cta,
    .footer-grid,
    .footer-bottom { width: min(1320px, 100%); }
}
@media (max-width: 1280px) and (min-width: 1021px) {
    .container { width: min(1220px, calc(100% - 28px)); }
    .hero-grid { grid-template-columns: minmax(0, 1.34fr) minmax(300px, .56fr); gap: clamp(26px, 4vw, 52px); }
    .hero-copy h1 { font-size: clamp(3rem, 6vw, 5.9rem); letter-spacing: -.07em; }
    .two-col { grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr); gap: clamp(30px, 4vw, 54px); }
    .two-col .sticky-copy h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
}
@media (max-width: 1180px) {
    .two-col,
    .two-col.align-center { grid-template-columns: 1fr; }
    .sticky-copy { position: static; }
    .two-col .sticky-copy h2 { max-width: 900px; }
}
@media (max-width: 620px) {
    .container,
    .narrow { width: min(100% - 24px, 1160px); }
    .hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
    h2 { font-size: clamp(2rem, 10.5vw, 3.35rem); }
}

/* Mobile hero refinement: keeps the proven desktop hero untouched while forcing the hero into a clean single-column layout on tablet and mobile widths. */
@media (max-width: 1020px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(28px, 6vw, 42px);
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: auto;
        align-items: flex-start;
        padding-top: 96px;
        padding-bottom: 64px;
    }
    .hero-grid {
        padding-top: 0;
    }
    .hero-copy h1 {
        font-size: clamp(2.55rem, 12vw, 4.2rem);
        line-height: .96;
        letter-spacing: -.065em;
        margin: 16px 0 18px;
    }
    .hero-subtitle {
        max-width: 100%;
        font-size: clamp(1rem, 4.1vw, 1.16rem);
    }
    .badge {
        max-width: 100%;
        align-items: flex-start;
        white-space: normal;
        line-height: 1.25;
    }
    .hero-actions {
        margin-top: 24px;
    }
    .proof-row {
        margin-top: 20px;
    }
    .hero-card-stack {
        width: 100%;
        max-width: 430px;
        margin-inline: auto;
        gap: 12px;
    }
    .hero-card {
        width: 100%;
        max-width: 430px;
        margin-inline: auto;
        border-radius: 26px;
    }
    .hero-deposit-card {
        border-radius: 22px;
        padding: 16px 18px;
    }
    .hero-card img {
        aspect-ratio: 16 / 10;
        object-fit: cover;
        padding: 0;
        background: rgba(255,255,255,.08);
    }
    .hero-card-body {
        padding: 20px;
    }
    .hero-card-body h2 {
        font-size: 1.2rem;
    }
    .hero-badge-row {
        gap: 12px;
        padding: 0 18px 22px;
    }
    .hero-badge-item {
        flex-basis: 104px;
        min-height: 62px;
    }
    .hero-badge-row.is-framed .hero-badge-item {
        min-height: 80px;
    }
    .hero-card .hero-badge-item img {
        max-height: 62px;
        aspect-ratio: auto;
        object-fit: contain;
        background: transparent;
    }
}

@media (max-width: 620px) {
    .hero {
        padding-top: 92px;
        padding-bottom: 54px;
    }
    .hero-grid {
        gap: 24px;
    }
    .hero-copy h1 {
        font-size: clamp(2.25rem, 11.4vw, 3.15rem);
        line-height: 1;
        letter-spacing: -.055em;
    }
    .hero-card-stack {
        max-width: 100%;
        gap: 10px;
    }
    .hero-card {
        max-width: 100%;
        border-radius: 24px;
    }
    .hero-deposit-card {
        border-radius: 20px;
        padding: 15px 16px;
    }
    .hero-deposit-card strong {
        font-size: clamp(1.45rem, 8vw, 1.95rem);
    }
    .hero-deposit-card p {
        font-size: .9rem;
    }
    .hero-card img {
        aspect-ratio: 4 / 3;
    }
    .hero-badge-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 0 14px 18px;
    }
    .hero-badge-item {
        min-width: 0;
        max-width: none;
        min-height: 54px;
        padding: 0;
        border-radius: 0;
    }
    .hero-badge-row.is-framed .hero-badge-item {
        min-height: 72px;
        padding: 8px;
        border-radius: 18px;
    }
    .hero-card .hero-badge-item img {
        max-height: 54px;
        aspect-ratio: auto;
        object-fit: contain;
        background: transparent;
    }
}

/* Mobile transformation table: keep the before/after comparison readable by allowing horizontal scrolling instead of stacking the columns. */
@media (max-width: 620px) {
    .transformation-section .before-after {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .transformation-section .ba-head,
    .transformation-section .ba-row {
        grid-template-columns: minmax(230px, 1fr) minmax(280px, 1fr);
        min-width: 620px;
    }
    .transformation-section .ba-head span,
    .transformation-section .ba-row p {
        min-width: 0;
    }
}


/* Extended legal pages: Datenschutz and Cookies. Keeps the legal content readable while matching the existing card-based G1 design. */
.legal-hero-intro {
    max-width: 760px;
    color: rgba(255,255,255,.78);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}
.legal-updated {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 820;
    font-size: .88rem;
}
.legal-policy-page {
    background: radial-gradient(circle at 12% 4%, rgba(232,36,46,.07), transparent 28%), radial-gradient(circle at 92% 10%, rgba(11,77,255,.08), transparent 30%), #fff;
}
.legal-policy-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 34px);
    align-items: start;
}
.legal-policy-summary {
    position: sticky;
    top: 112px;
}
.legal-policy-summary-card,
.legal-policy-card {
    border: 1px solid rgba(7,17,31,.09);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 60px rgba(7,17,31,.075);
}
.legal-policy-summary-card {
    padding: 24px;
}
.legal-policy-summary-card h2 {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
}
.legal-policy-content {
    display: grid;
    gap: 16px;
}
.legal-policy-card {
    padding: clamp(22px, 3vw, 34px);
}
.legal-policy-card h2 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.4vw, 2.35rem);
    line-height: 1.08;
}
.legal-policy-card h2:not(:first-child) {
    margin-top: 28px;
}
.legal-policy-card h3 {
    margin-top: 22px;
    color: var(--brand-dark);
}
.legal-policy-card p,
.legal-policy-list li,
.legal-policy-table td {
    color: #536173;
}
.legal-policy-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.legal-policy-list li {
    position: relative;
    padding-left: 28px;
}
.legal-policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: .08em;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-secondary), white 86%);
    color: var(--brand-secondary);
    font-size: .78rem;
    font-weight: 950;
}
.legal-policy-summary-card .btn {
    margin-top: 22px;
}
.legal-contact-box {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--brand-secondary), white 94%), #fff);
    border: 1px solid rgba(11,77,255,.09);
}
.legal-contact-box strong {
    font-size: 1.08rem;
}
.legal-contact-box span {
    color: #536173;
}
.legal-definition-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 0;
}
.legal-definition-list div {
    min-width: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8faff;
    border: 1px solid rgba(7,17,31,.07);
}
.legal-definition-list dt {
    color: #7a8798;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.legal-definition-list dd {
    margin: 6px 0 0;
    color: var(--brand-dark);
    font-weight: 850;
    overflow-wrap: anywhere;
}
.legal-definition-list a {
    color: var(--brand-secondary);
}
.legal-table-wrap {
    width: 100%;
    margin-top: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(7,17,31,.08);
    border-radius: 20px;
    background: #fff;
}
.legal-policy-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}
.legal-policy-table th,
.legal-policy-table td {
    padding: 15px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(7,17,31,.07);
}
.legal-policy-table tr:last-child th,
.legal-policy-table tr:last-child td {
    border-bottom: 0;
}
.legal-policy-table th {
    width: 32%;
    color: var(--brand-dark);
    font-weight: 920;
}
.legal-policy-table thead th {
    background: #f8faff;
    color: #536173;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.legal-cookie-table {
    min-width: 900px;
}
.legal-status-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-secondary), white 88%);
    color: var(--brand-secondary);
    font-weight: 950;
    white-space: nowrap;
    font-size: .82rem;
}
.legal-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.legal-cookie-actions .btn {
    min-width: 210px;
}
.legal-config-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.legal-config-item {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(7,17,31,.08);
    background: #f8faff;
}
.legal-config-item span {
    color: #536173;
    font-weight: 850;
}
.legal-config-item strong {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .82rem;
}
.legal-config-item strong.is-enabled {
    background: #e9fff2;
    color: #076b34;
}
.legal-config-item strong.is-disabled {
    background: #fff0f1;
    color: #a40e1a;
}
@media (max-width: 1080px) {
    .legal-policy-grid {
        grid-template-columns: 1fr;
    }
    .legal-policy-summary {
        position: static;
    }
    .legal-config-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .legal-policy-card,
    .legal-policy-summary-card {
        border-radius: 24px;
        padding: 20px;
    }
    .legal-definition-list {
        grid-template-columns: 1fr;
    }
    .legal-policy-table th,
    .legal-policy-table td {
        padding: 13px 14px;
    }
    .legal-cookie-actions {
        display: grid;
    }
    .legal-cookie-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

/* Messe-Schmerzen Baumdiagramm: verbindet die oberen Problem-/Lösungskacheln mit der zentralen G1-Lösung darunter. */
.pain-diagram {
    position: relative;
    display: grid;
    gap: 0;
    isolation: isolate;
}
.pain-diagram .pain-grid,
.pain-solution-card {
    position: relative;
    z-index: 2;
}
.pain-diagram .pain-grid {
    margin-bottom: clamp(104px, 7.8vw, 132px);
}
.pain-tree-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.pain-tree-lines path {
    fill: none;
    stroke: #000;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: none;
}
.pain-tree-lines .pain-tree-branch {
    stroke: #000;
    opacity: .72;
}
.pain-tree-lines .pain-tree-trunk,
.pain-tree-lines .pain-tree-arrow {
    stroke: #000;
    opacity: .82;
}
.pain-tree-lines .pain-tree-mobile {
    stroke: #000;
    opacity: .72;
}

.pain-solution-card {
    display: block;
    width: 100%;
    min-height: clamp(260px, 25.6vw, 368px);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(7,17,31,.08);
    border-radius: 24px;
    background: #07111f;
    box-shadow: 0 24px 68px rgba(7,17,31,.12);
}
.pain-solution-card::after,
.pain-solution-card::before {
    content: none;
}
.pain-solution-card .pain-card-body,
.pain-solution-card .pain-visual {
    position: relative;
}
.pain-solution-card .pain-visual {
    z-index: 1;
}
.pain-solution-card .pain-card-body {
    z-index: 2;
}
.pain-solution-card .pain-solution-card-body {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(455px, 46%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
    text-align: left;
    background: linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(7,17,31,.84) 62%, rgba(7,17,31,0) 100%);
    color: #fff;
}
.pain-solution-card .gain-label {
    margin-top: 0;
    margin-bottom: 20px;
    background: var(--brand-secondary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11,77,255,.28);
}
.pain-solution-card h3 {
    min-height: 0;
    max-width: 360px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.82rem, 2.45vw, 2.62rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.pain-solution-card h3::after {
    content: none !important;
    display: none !important;
}
.pain-solution-divider {
    display: block;
    width: 62px;
    height: 4px;
    margin: 16px 0 22px;
    border-radius: 999px;
    background: var(--brand-secondary);
}
.pain-solution-card p {
    max-width: 340px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(.98rem, 1.12vw, 1.08rem);
    line-height: 1.5;
}
.pain-solution-card p::before {
    content: none !important;
    display: none !important;
}
.pain-solution-card .pain-solution-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #07111f;
}
.pain-solution-visual::before,
.pain-solution-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.pain-solution-visual::before {
    background: linear-gradient(90deg, rgba(7,17,31,.96) 0%, rgba(7,17,31,.62) 34%, rgba(7,17,31,.14) 64%, rgba(7,17,31,.28) 100%);
}
.pain-solution-visual::after {
    background: radial-gradient(circle at 38% 0%, rgba(11,77,255,.28), transparent 34%), linear-gradient(180deg, rgba(7,17,31,.06) 0%, rgba(7,17,31,.26) 100%);
}
.pain-solution-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    padding: 0;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .pain-card.has-visual .pain-visual img {
        transition: transform .62s cubic-bezier(.22, .61, .36, 1);
        will-change: transform;
    }
    .pain-card.has-visual:not(.pain-solution-card) .pain-visual img {
        transform: scale(1.055);
    }
    .pain-card.has-visual:not(.pain-solution-card):hover .pain-visual img {
        transform: scale(1);
    }
}
.pain-roi-line {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: clamp(34px, 4.1vw, 52px) auto 0;
    display: grid;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(88,128,255,.18);
    border-radius: 28px;
    background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
    box-shadow: 0 18px 52px rgba(7,17,31,.075);
    text-align: left;
}
.pain-roi-media {
    position: relative;
    min-height: 262px;
    overflow: hidden;
}
.pain-roi-media-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}
.pain-roi-line::after {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 0;
    pointer-events: none;
    width: 1px;
    background: linear-gradient(180deg, rgba(88,128,255,0) 0%, rgba(88,128,255,.28) 12%, rgba(88,128,255,.28) 88%, rgba(88,128,255,0) 100%);
    transform: translateX(clamp(300px, 28.2vw, 390px));
}
.pain-roi-badge {
    position: absolute;
    left: clamp(28px, 7vw, 86px);
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 12px 28px 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 38px rgba(22,64,178,.12);
}
.pain-roi-badge-icon {
    flex: 0 0 auto;
    width: 116px;
    height: 116px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #2f65ff 0%, #124eff 100%);
    box-shadow: 0 14px 34px rgba(17,79,255,.22), 0 0 0 14px rgba(17,79,255,.08);
}
.pain-roi-badge-icon img {
    width: 58px;
    height: 58px;
}
.pain-roi-badge-text {
    color: var(--brand-secondary);
    font-size: .92rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pain-roi-line > p,
.pain-roi-list {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: clamp(28px, 3vw, 36px) clamp(28px, 3.2vw, 40px) clamp(28px, 3vw, 36px) clamp(32px, 3.2vw, 44px);
}
.pain-roi-line p {
    max-width: 760px;
    color: #263445;
    font-weight: 560;
    line-height: 1.48;
}
.pain-roi-list {
    display: grid;
    align-content: center;
    gap: 16px;
    list-style: none;
}
.pain-roi-list li {
    position: relative;
    min-width: 0;
    margin: 0;
    padding-left: 38px;
    color: #263445;
    font-size: clamp(1rem, 1vw, 1.08rem);
    font-weight: 560;
    line-height: 1.42;
}
.pain-roi-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: .08em;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f65ff 0%, #124eff 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(11,77,255,.2);
}
.pain-roi-list strong {
    color: #07111f;
    font-weight: 950;
}
@media (max-width: 1020px) {
    .pain-diagram .pain-grid {
        margin-bottom: clamp(86px, 9.6vw, 112px);
    }
    .pain-tree-lines path {
        stroke-width: 1.55;
    }
    .pain-solution-card {
        min-height: clamp(300px, 41vw, 390px);
    }
    .pain-solution-card .pain-solution-card-body {
        width: min(420px, 54%);
    }
    .pain-roi-line {
        grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    }
    .pain-roi-line::after {
        transform: translateX(clamp(250px, 31vw, 320px));
    }
    .pain-roi-media {
        min-height: 238px;
    }
    .pain-roi-badge {
        left: 22px;
        padding-right: 22px;
    }
    .pain-roi-badge-icon {
        width: 96px;
        height: 96px;
    }
    .pain-roi-badge-icon img {
        width: 48px;
        height: 48px;
    }
    .pain-roi-badge-text {
        font-size: .84rem;
    }
}

@media (max-width: 620px) {
    .pain-diagram .pain-grid {
        margin-bottom: 76px;
    }
    .pain-tree-lines path {
        stroke-width: 1.4;
    }
    .pain-solution-card {
        min-height: 500px;
        border-radius: 24px;
    }
    .pain-solution-card .pain-solution-card-body {
        inset: auto 0 0 0;
        width: 100%;
        min-height: 58%;
        padding: 128px 22px 24px;
        justify-content: flex-end;
        background: linear-gradient(180deg, rgba(7,17,31,0) 0%, rgba(7,17,31,.78) 31%, rgba(7,17,31,.95) 100%);
    }
    .pain-solution-card .gain-label {
        margin-bottom: 14px;
    }
    .pain-solution-card h3 {
        max-width: 100%;
        font-size: clamp(1.55rem, 8vw, 2.05rem);
    }
    .pain-solution-card h3::after {
        content: none !important;
        display: none !important;
    }
    .pain-solution-divider {
        width: 56px;
        height: 4px;
        margin: 12px 0 16px;
    }
    .pain-solution-card p {
        max-width: 100%;
        font-size: .96rem;
    }
    .pain-solution-card p::before {
        content: none !important;
        display: none !important;
    }
    .pain-solution-visual::before {
        background: linear-gradient(180deg, rgba(7,17,31,.06) 0%, rgba(7,17,31,.16) 38%, rgba(7,17,31,.74) 100%);
    }
    .pain-solution-visual img {
        object-position: 58% center;
    }
    .pain-roi-line {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }
    .pain-roi-media {
        min-height: 154px;
    }
    .pain-roi-line::after {
        top: 154px;
        bottom: auto;
        left: 18px;
        right: 18px;
        width: auto;
        height: 1px;
        transform: none;
        background: linear-gradient(90deg, rgba(88,128,255,0) 0%, rgba(88,128,255,.28) 12%, rgba(88,128,255,.28) 88%, rgba(88,128,255,0) 100%);
    }
    .pain-roi-badge {
        left: 18px;
        top: 50%;
        gap: 14px;
        padding: 10px 16px 10px 12px;
    }
    .pain-roi-badge-icon {
        width: 82px;
        height: 82px;
        box-shadow: 0 10px 24px rgba(17,79,255,.22), 0 0 0 12px rgba(17,79,255,.08);
    }
    .pain-roi-badge-icon img {
        width: 42px;
        height: 42px;
    }
    .pain-roi-badge-text {
        font-size: .78rem;
    }
    .pain-roi-line > p,
    .pain-roi-list {
        padding: 22px 18px;
        max-width: 100%;
        font-size: .96rem;
    }
    .pain-roi-list {
        gap: 11px;
        text-align: left;
    }
    .pain-roi-list li {
        padding-left: 34px;
    }
}

/* Strict fix: sichtbare Trennlinie der gemeinsamen Lösung.
   Die Linie wird als eigenes Element gerendert und alle alten Pseudo-Linien werden deaktiviert,
   damit sie nicht mehr unter dem Wort der Überschrift erscheinen können. */
.pain-solution-card .pain-solution-card-body h3::after,
.pain-solution-card .pain-solution-card-body p::before {
    content: none !important;
    display: none !important;
}

.pain-solution-card .pain-solution-divider {
    flex: 0 0 auto;
    display: block !important;
    width: 62px;
    height: 4px;
    margin: 18px 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-secondary);
    box-shadow: none;
    line-height: 0;
}

.pain-solution-card .pain-solution-card-body > h3 {
    margin-bottom: 0 !important;
}

.pain-solution-card .pain-solution-card-body > p {
    margin-top: 0 !important;
}

@media (max-width: 620px) {
    .pain-solution-card .pain-solution-divider {
        width: 56px;
        height: 4px;
        margin: 14px 0 16px;
    }
}

/* Width-dependent fix: Bei breiten Viewports wurde die Überschrift zu nah an die
   Divider-Linie gerendert. Die linke Copy-Spalte bekommt deshalb auf Desktop
   eine kontrollierte Breite und die Divider-Linie bleibt als eigenes Block-Element
   nach dem vollständigen Heading stehen. */
@media (min-width: 821px) {
    .pain-solution-card .pain-solution-card-body {
        width: clamp(360px, 38vw, 500px);
        padding-right: clamp(34px, 4.5vw, 58px);
    }

    .pain-solution-card .pain-solution-card-body > h3 {
        max-width: 430px;
        margin-bottom: 0 !important;
    }

    .pain-solution-card .pain-solution-divider {
        width: 62px;
        height: 4px;
        margin: 24px 0 20px;
    }
}

@media (min-width: 1181px) {
    .pain-solution-card .pain-solution-card-body {
        width: clamp(400px, 36vw, 520px);
    }

    .pain-solution-card .pain-solution-card-body > h3 {
        max-width: 430px;
    }
}

@media (max-width: 820px) and (min-width: 621px) {
    .pain-solution-card .pain-solution-divider {
        margin: 18px 0 18px;
    }
}

/* ROI-Fokus Badge-Optik: kein Switch-/Toggle-Eindruck.
   Icon und Text wirken jetzt als lockere Kennzeichnung statt als zusammenhängender Schalter. */
.pain-roi-badge {
    gap: 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.pain-roi-badge-text {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-secondary), white 88%);
    box-shadow: 0 10px 24px rgba(17,79,255,.06);
}

@media (max-width: 1020px) {
    .pain-roi-badge {
        gap: 16px;
        padding: 0;
    }
}

@media (max-width: 620px) {
    .pain-roi-badge {
        gap: 14px;
        padding: 0;
    }

    .pain-roi-badge-text {
        min-height: 32px;
        padding: 6px 12px;
    }
}
