/* ==========================================================================
   Home page redesign
   Scoped to body.home so shared styles on other pages stay untouched.
   ========================================================================== */

body.home {
    --ink: #2b2c33;
    --ink-2: #34353d;
    --ink-line: rgba(255, 255, 255, 0.1);
    --ink-text: #b9bac2;
    --surface: #ffffff;
    --surface-alt: #fafaf8;
    --line: #ebe8e4;
    --heading: #111114;
    --body: #52525b;
    --brand: #f29061;
    --brand-deep: #e2733f;
    --brand-soft: rgba(242, 144, 97, 0.12);
    --radius: 16px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    background: var(--surface);
    color: var(--body);
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Shared section rhythm
   -------------------------------------------------------------------------- */

body.home section,
body.home .how-it-works {
    padding: 112px 0;
    position: relative;
}

body.home section h2,
body.home .how-it-works h2 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--heading);
    text-align: center;
    margin: 0 auto 16px;
    max-width: 820px;
    text-wrap: balance;
}

body.home .section-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--body);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

body.home .section-eyebrow {
    display: table;
    margin: 0 auto 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.home section .btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

body.home section .btn-large {
    padding: 15px 28px;
    font-size: 1rem;
}

body.home section .btn-primary {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(242, 144, 97, 0.6);
}

body.home section .btn-primary:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -8px rgba(242, 144, 97, 0.7);
}

body.home section .btn-secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--heading);
}

body.home section .btn-secondary:hover {
    border-color: var(--heading);
    background: var(--heading);
    color: #fff;
}

/* Shared card treatment */
body.home .compliance-card,
body.home .solution-card,
body.home .flow-step,
body.home .benefit {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(17, 17, 20, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.home .compliance-card:hover,
body.home .solution-card:hover,
body.home .flow-step:hover,
body.home .benefit:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 144, 97, 0.45);
    box-shadow: 0 20px 40px -20px rgba(17, 17, 20, 0.18);
}

/* Icon tile used across cards */
body.home .compliance-icon,
body.home .solution-card .icon,
body.home .flow-step .step-icon,
body.home .benefit .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    transition: background 0.3s var(--ease);
}

body.home .compliance-icon i,
body.home .solution-card .icon i,
body.home .flow-step .step-icon i,
body.home .benefit .icon i {
    font-size: 1.15rem;
    color: var(--brand-deep);
    transform: none;
    transition: color 0.3s var(--ease);
}

body.home .compliance-card:hover .compliance-icon,
body.home .solution-card:hover .icon,
body.home .flow-step:hover .step-icon,
body.home .benefit:hover .icon {
    background: var(--brand);
}

body.home .compliance-card:hover .compliance-icon i,
body.home .solution-card:hover .icon i,
body.home .flow-step:hover .step-icon i,
body.home .benefit:hover .icon i {
    color: #fff;
    transform: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

body.home .hero {
    min-height: auto;
    padding: 168px 0 128px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

/* main.js animates this element's inline background; the new hero draws its own */
body.home .hero .animated-background {
    display: none;
}

body.home .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}

body.home .hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 900px;
    height: 900px;
    right: -220px;
    top: -260px;
    background: radial-gradient(circle, rgba(242, 144, 97, 0.28) 0%, rgba(242, 144, 97, 0.08) 38%, transparent 68%);
    pointer-events: none;
}

body.home .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
}

body.home .hero-content {
    max-width: 640px;
}

/* Grid items default to min-width: auto, so one long word (e.g. German
   "Datensicherheitsplattform") would stretch the column past the screen */
body.home .hero-container > * {
    min-width: 0;
}

body.home .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    margin-bottom: 28px;
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #d4d4d8;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

body.home .hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 0 rgba(242, 144, 97, 0.6);
    animation: home-pulse 2.4s infinite;
}

@keyframes home-pulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 144, 97, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(242, 144, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 144, 97, 0); }
}

body.home .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.028em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 30%, #dcdce2 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    -webkit-hyphens: auto;
            hyphens: auto;
    /* fallback for languages without a hyphenation dictionary (e.g. gsw-CH) */
    overflow-wrap: anywhere;
}

body.home .hero .subheadline {
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--ink-text);
    margin-bottom: 40px;
    max-width: 540px;
}

body.home .hero .cta-group {
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

body.home .hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

body.home .hero .btn-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

body.home .hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 0;
    margin: 0;
    color: var(--ink-text);
    font-size: 0.9375rem;
}

body.home .hero-points li {
    display: flex;
    align-items: center;
    gap: 9px;
}

body.home .hero-points i {
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 144, 97, 0.16);
    color: var(--brand);
}

body.home .hero-image {
    position: relative;
}

body.home .hero-image::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 144, 97, 0.35) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

body.home .hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 24px 48px rgba(20, 20, 26, 0.35));
    animation: home-float 7s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   Partner logos strip
   -------------------------------------------------------------------------- */

body.home .partners-in-hero {
    margin-top: 0;
    padding: 44px 0 36px;
    background: var(--surface);
    border-top: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

body.home .partners-in-hero::before {
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

body.home .partners-in-hero::after {
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

body.home .partners-title {
    display: block;
    left: auto;
    transform: none;
    margin: 0 0 8px;
    padding: 0;
    color: #8a8a93;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

body.home .partners-title::after {
    display: none;
}

body.home .partners-in-hero .logo-carousel {
    margin: 8px auto 0;
    gap: 72px;
}

body.home .partners-in-hero .logo-item,
body.home .partners-in-hero .logo-item-large {
    height: 72px;
    min-width: 150px;
    padding: 8px;
}

body.home .partners-in-hero .logo-item img,
body.home .partners-in-hero .logo-item-large img {
    min-height: 0;
    max-height: 44px;
    max-width: 150px;
    transform: none;
    filter: grayscale(1) contrast(1.05);
    opacity: 0.7;
    mix-blend-mode: multiply;
}

/* These two files carry a lot of built-in whitespace */
body.home .partners-in-hero .logo-item-large img[alt="BMBF"] {
    max-height: 72px;
    max-width: 200px;
}

body.home .partners-in-hero .logo-item-large img[alt="Swiss Insurtech Hub"] {
    max-height: 64px;
    max-width: 190px;
}

body.home .partners-in-hero .logo-item:hover img,
body.home .partners-in-hero .logo-item-large:hover img {
    transform: none;
    filter: grayscale(0);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Compliance
   -------------------------------------------------------------------------- */

body.home .compliance {
    background: var(--surface-alt);
}

body.home .compliance::before {
    display: none;
}

body.home .compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
}

/* Shared styles cap these grids at 400-450px on tablets */
body.home .compliance-grid,
body.home .solutions-grid,
body.home .industry-benefits,
body.home .flow-diagram {
    max-width: none;
    width: 100%;
}

body.home .compliance-card {
    text-align: left;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.home .compliance-card h3::after,
body.home .compliance-card h3::before {
    display: none;
}

body.home .compliance-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading);
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    text-align: left;
}

body.home .compliance-card p {
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--body);
    text-align: left;
    margin: 0;
}

body.home .compliance-footer {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

body.home .compliance-footer p {
    color: var(--body);
    font-size: 1rem;
    max-width: 620px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Solutions + differentiators grids
   -------------------------------------------------------------------------- */

body.home .solutions {
    background: var(--surface);
}

body.home .solutions h2 + .solutions-grid {
    margin-top: 56px;
}

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

body.home .solution-card {
    text-align: left;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

body.home .solution-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

body.home .solution-card:hover::after {
    opacity: 1;
}

body.home .solution-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading);
    margin: 0 0 10px;
    text-align: left;
}

body.home .solution-card p {
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--body);
    margin: 0 0 24px;
    text-align: left;
    flex-grow: 1;
}

body.home .solution-card .learn-more {
    margin-top: auto;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.home .solution-card .learn-more i {
    font-size: 0.8rem;
    transition: transform 0.25s var(--ease);
}

body.home .solution-card:hover .learn-more i {
    transform: translateX(4px);
}

/* Dark differentiators band */
body.home .differentiators {
    background: var(--ink);
    overflow: hidden;
    isolation: isolate;
}

body.home .differentiators::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 1000px;
    height: 600px;
    left: 50%;
    top: -320px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(242, 144, 97, 0.22) 0%, transparent 65%);
}

body.home .differentiators h2 {
    color: #fff;
}

body.home .differentiators .section-subtitle {
    color: var(--ink-text);
}

body.home .differentiators .section-eyebrow {
    background: rgba(242, 144, 97, 0.14);
    color: var(--brand);
}

body.home .differentiators .solution-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    border-color: var(--ink-line);
    box-shadow: none;
}

body.home .differentiators .solution-card:hover {
    border-color: rgba(242, 144, 97, 0.45);
    box-shadow: 0 24px 48px -24px rgba(242, 144, 97, 0.35);
}

body.home .differentiators .solution-card h3 {
    color: #fff;
}

body.home .differentiators .solution-card p {
    color: var(--ink-text);
    margin-bottom: 0;
}

body.home .differentiators .solution-card .icon {
    background: rgba(242, 144, 97, 0.14);
}

body.home .differentiators .solution-card .icon i {
    color: var(--brand);
}

/* --------------------------------------------------------------------------
   What it protects
   -------------------------------------------------------------------------- */

body.home .protection {
    background: var(--surface-alt);
}

body.home .protection-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
}

body.home .protection-grid {
    width: 100%;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

body.home .protection-grid .logo-item {
    flex: 0 0 calc((100% - 8 * 12px) / 9);
    height: 80px;
    min-width: 0;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

body.home .protection-grid .logo-item:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 144, 97, 0.45);
}

body.home .protection-grid .logo-item img {
    max-width: 100%;
    max-height: 32px;
    min-height: 0;
    object-fit: contain;
}

body.home .protection-description {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

body.home .protection-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

body.home .protection-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.25s var(--ease);
}

body.home .protection-feature:hover {
    border-color: rgba(242, 144, 97, 0.45);
    transform: none;
}

body.home .protection-feature i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

body.home .protection-feature:hover i {
    background: var(--brand);
    color: #fff;
    transform: none;
}

body.home .protection-feature-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

body.home .protection-feature-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

body.home .how-it-works {
    background: var(--surface);
}

body.home .how-it-works::before {
    display: none;
}

body.home .how-it-works .container {
    max-width: 1200px;
}

body.home .how-it-works h2 {
    margin-bottom: 64px;
}

body.home .flow-diagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    position: relative;
    counter-reset: none;
}

/* Connector line behind the step numbers */
body.home .flow-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 144, 97, 0.55), transparent);
}

body.home .flow-arrow {
    display: none;
}

body.home .flow-step {
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 40px 28px 32px;
    text-align: left;
    align-items: flex-start;
}

body.home .flow-step::before {
    content: '0' attr(data-step);
    top: -14px;
    left: 28px;
    transform: none;
    width: auto;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: 0 0 0 6px var(--surface);
}

body.home .flow-step .step-icon::before {
    display: none;
}

body.home .flow-step h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 10px;
}

body.home .flow-step p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--body);
}

/* --------------------------------------------------------------------------
   Industry challenges
   -------------------------------------------------------------------------- */

body.home .industry-challenges {
    background: var(--surface-alt);
}

body.home .industry-challenges h2 {
    margin-bottom: 40px;
}

body.home .tab-headers {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
    padding: 6px;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
}

body.home .tab-btn {
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--body);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

body.home .tab-btn::after {
    display: none;
}

body.home .tab-btn:hover {
    color: var(--heading);
    background: var(--surface-alt);
    border: 0;
}

body.home .tab-btn.active {
    background: var(--ink);
    color: #fff;
    border: 0;
}

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

body.home .benefit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    text-align: left;
}

body.home .benefit-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 8px;
}

body.home .benefit-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

body.home .final-cta {
    padding: 0 0 112px;
    background: var(--surface-alt);
    color: #fff;
    text-align: center;
}

body.home .final-cta::before {
    display: none;
}

body.home .final-cta .container {
    max-width: 1200px;
}

body.home .final-cta .cta-content {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 88px 40px;
    border-radius: 24px;
    background: var(--ink);
}

body.home .final-cta .cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 80% at 50% 120%, rgba(242, 144, 97, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 100% 0%, rgba(242, 144, 97, 0.15) 0%, transparent 70%);
}

body.home .final-cta .cta-content::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%);
            mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%);
}

body.home .final-cta h2 {
    color: #fff;
    text-shadow: none;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

body.home .final-cta .trust-fact {
    color: var(--ink-text);
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto 20px;
}

body.home .final-cta .cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    color: #d4d4d8;
    font-size: 0.9375rem;
}

body.home .final-cta .cta-benefits i {
    color: var(--brand);
}

body.home .final-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.home .final-cta .cta-buttons .btn {
    min-width: 0;
    border-radius: 10px;
    padding: 15px 28px;
    font-size: 1rem;
}

body.home .final-cta .cta-buttons .btn-primary {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
}

body.home .final-cta .cta-buttons .btn-primary:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #fff;
}

body.home .final-cta .cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.home .final-cta .cta-buttons .btn-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

body.home .final-cta .cta-buttons .btn i {
    color: inherit;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    body.home .protection-features {
        grid-template-columns: repeat(2, 1fr);
    }

    body.home .protection-grid .logo-item {
        flex-basis: calc((100% - 6 * 12px) / 7);
    }

    body.home .flow-diagram {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    body.home .flow-diagram::before {
        display: none;
    }
}

@media (max-width: 992px) {
    body.home section,
    body.home .how-it-works {
        padding: 88px 0;
    }

    body.home .hero {
        padding: 128px 0 88px;
    }

    body.home .hero-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
        text-align: center;
    }

    body.home .hero-content {
        max-width: 680px;
        margin: 0 auto;
        order: 1;
    }

    body.home .hero-image {
        order: 2;
    }

    body.home .hero-image img {
        max-width: 380px;
    }

    body.home .hero .subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    body.home .hero .cta-group,
    body.home .hero-points {
        justify-content: center;
    }

    /* Six solution cards pair up; the three-card rows stay in one line */
    body.home .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.home .compliance-grid,
    body.home .differentiators .solutions-grid,
    body.home .industry-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    /* Narrow three-column cards can't fit long German compounds unbroken */
    body.home .compliance-card p,
    body.home .compliance-card h3,
    body.home .solution-card p,
    body.home .solution-card h3,
    body.home .benefit p,
    body.home .benefit h3 {
        -webkit-hyphens: auto;
                hyphens: auto;
        overflow-wrap: anywhere;
    }

    body.home .compliance-card,
    body.home .solution-card,
    body.home .benefit {
        padding: 24px;
    }

    body.home .protection-grid .logo-item {
        flex-basis: calc((100% - 5 * 12px) / 6);
    }
}

@media (max-width: 640px) {
    body.home section,
    body.home .how-it-works {
        padding: 72px 0;
    }

    body.home .hero {
        padding: 112px 0 72px;
    }

    body.home .hero h1 {
        font-size: clamp(1.875rem, 9.5vw, 2.5rem);
    }

    body.home .hero .subheadline {
        font-size: 1.0625rem;
    }

    body.home .hero .cta-group .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    body.home .hero-points {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    body.home .hero-image img {
        max-width: 280px;
    }

    body.home .section-subtitle {
        margin-bottom: 40px;
    }

    body.home .compliance-grid,
    body.home .solutions-grid,
    body.home .differentiators .solutions-grid,
    body.home .industry-benefits,
    body.home .flow-diagram {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Long compound words (German, Swiss German) must break rather than
       widen cards past the screen */
    body.home section h2,
    body.home section h3,
    body.home section h4,
    body.home section p,
    body.home section li,
    body.home .tab-btn {
        -webkit-hyphens: auto;
                hyphens: auto;
        overflow-wrap: anywhere;
    }

    body.home .tab-headers {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    /* The hero subtitle has no very long words; keep it unhyphenated */
    body.home .hero .subheadline {
        -webkit-hyphens: manual;
                hyphens: manual;
    }

    body.home .protection-features {
        grid-template-columns: 1fr;
    }

    body.home .protection-grid {
        gap: 8px;
    }

    body.home .protection-grid .logo-item {
        flex-basis: calc((100% - 2 * 8px) / 3);
        height: 68px;
        padding: 12px 14px;
    }

    body.home .protection-grid .logo-item img {
        max-height: 30px;
    }

    body.home .how-it-works .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Four tabs don't fit on one line: use a 2x2 segmented grid */
    body.home .tab-headers {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        border-radius: 16px;
        overflow: visible;
    }

    body.home .tab-btn {
        border-radius: 11px;
        padding: 10px 12px;
        white-space: normal;
        line-height: 1.3;
        text-align: center;
        font-size: 0.875rem;
    }

    body.home .final-cta {
        padding-bottom: 72px;
    }

    body.home .final-cta .cta-content {
        padding: 64px 24px;
        border-radius: 20px;
    }

    body.home .final-cta .cta-buttons .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    body.home .hero-eyebrow {
        font-size: 0.75rem;
        padding: 6px 12px 6px 10px;
        gap: 8px;
    }
}

@media (max-width: 350px) {
    body.home .hero-eyebrow {
        font-size: 0.6875rem;
        letter-spacing: 0;
        max-width: 100%;
    }

    body.home .hero h1 {
        font-size: 1.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .hero-image img,
    body.home .hero-eyebrow-dot {
        animation: none;
    }
}
