/*
 * "Hosting & Daten, 100% in der Schweiz" (section.final-cta-section)
 *
 * The section comes from the page content (home page custom code and the
 * industry/generator pages) with the same markup everywhere. This file
 * restyles that markup: dark band over the full width, text and the three
 * points on the left, the Swiss map with a soft glow on the right.
 *
 * Selectors start with "html body" so they win over the inline <style> the
 * content ships with.
 */

html body section.final-cta-section {
    --sh-bg: #071c2b;
    --sh-green: #11876a;
    --sh-green-hover: #0e7259;
    --sh-mint: #5fd3a8;
    --sh-line: rgba(255, 255, 255, 0.12);

    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 7rem 1rem;
    color: #fff;
    background:
        radial-gradient(800px 480px at 85% 30%, rgba(17, 135, 106, 0.4), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(17, 135, 106, 0.14), transparent 60%),
        var(--sh-bg);
}

html body section.final-cta-section .final-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

html body section.final-cta-section .cta-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

html body section.final-cta-section .cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

html body section.final-cta-section .cta-content {
    float: none;
    width: auto;
    padding: 0;
}

/* eyebrow */
html body section.final-cta-section .cta-label {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--sh-mint);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html body section.final-cta-section .cta-title {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 2.2vw + 14px, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

html body section.final-cta-section .cta-description {
    max-width: 32.5rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* the three points: icon tile, title, one sentence */
html body section.final-cta-section .cta-feature-list {
    display: grid;
    gap: 0;
    margin: 2rem 0 0;
    padding: 0;
}

html body section.final-cta-section .feature-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 2px;
    align-items: center;
    margin: 0;
    padding: 1rem 0;
    border-top: 1px solid var(--sh-line);
}

html body section.final-cta-section .feature-item:last-child {
    border-bottom: 1px solid var(--sh-line);
}

html body section.final-cta-section .feature-item .cta-feature-icon {
    display: none;
}

html body section.final-cta-section .feature-item::before {
    content: "";
    grid-row: span 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(95, 211, 168, 0.12);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

/* icons: server, office building, headset (stroke #5fd3a8) */
html body section.final-cta-section .feature-item:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd3a8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4' width='17' height='7' rx='2'/%3E%3Crect x='3.5' y='13' width='17' height='7' rx='2'/%3E%3Cpath d='M7.5 7.5h.01M7.5 16.5h.01M11 7.5h5M11 16.5h5'/%3E%3C/svg%3E");
}

html body section.final-cta-section .feature-item:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd3a8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20.5V6.5l8-3 8 3v14'/%3E%3Cpath d='M9 20.5v-4h6v4M8 9.5h.01M12 9.5h.01M16 9.5h.01M8 13h.01M12 13h.01M16 13h.01'/%3E%3C/svg%3E");
}

html body section.final-cta-section .feature-item:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd3a8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-1a8 8 0 0 1 16 0v1'/%3E%3Crect x='3' y='13' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='13' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 19a3 3 0 0 1-3 2.5h-3'/%3E%3C/svg%3E");
}

html body section.final-cta-section .cta-feature-text {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

html body section.final-cta-section .feature-item::after {
    grid-column: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.5;
}

html body section.final-cta-section .feature-item:nth-child(1)::after {
    content: "Ihre Daten bleiben im Land.";
}

html body section.final-cta-section .feature-item:nth-child(2)::after {
    content: "Schweizer Recht und Vertragspartner.";
}

html body section.final-cta-section .feature-item:nth-child(3)::after {
    content: "Persönlich, auf Deutsch.";
}

/* button */
html body section.final-cta-section .final-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 0;
    padding: 0;
}

html body section.final-cta-section .cta-button.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.5rem;
    border: 1px solid var(--sh-green);
    border-radius: 8px;
    background-color: var(--sh-green);
    box-shadow: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

html body section.final-cta-section .cta-button.cta-button-primary:hover {
    border-color: var(--sh-green-hover);
    background-color: var(--sh-green-hover);
    color: #fff;
}

html body section.final-cta-section .cta-button-icon {
    width: 18px;
    height: 18px;
}

/* map with glow and a small "stored in Switzerland" note */
html body section.final-cta-section .cta-image-wrapper {
    position: relative;
    inset: auto;
    display: grid;
    justify-items: center;
    gap: 1.75rem;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
}

html body section.final-cta-section .cta-image-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(95, 211, 168, 0.18), transparent);
    transform: translate(-50%, -60%);
    pointer-events: none;
}

html body section.final-cta-section .cta-image {
    position: relative;
    display: block;
    width: 86%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

html body section.final-cta-section .cta-image-wrapper::after {
    content: "Daten gespeichert in der Schweiz";
    position: relative;
    padding: 0.625rem 0.875rem 0.625rem 2.125rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background:
        radial-gradient(circle at 1.125rem 50%, var(--sh-mint) 0 4px, rgba(95, 211, 168, 0.2) 4px 8px, transparent 8px),
        rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    html body section.final-cta-section {
        padding: 4rem 1rem;
    }

    html body section.final-cta-section .cta-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }
}
