:root {
    --jg-navy: #062f52;
    --jg-blue: #075783;
    --jg-red: #8cc9e8;
    --jg-ink: #172837;
    --jg-muted: #687987;
    --jg-line: #dfe7ed;
    --jg-soft: #f4f7f9;
    --jg-white: #ffffff;
}

.jg-lgz-page {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-bottom: 40px;
    background: #f5f8fa;
    color: var(--jg-ink);
}

.jg-lgz-page * {
    box-sizing: border-box;
}

.jg-lgz-container,
.jg-lgz-hero__inner {
    width: min(1170px, calc(100% - 48px));
    margin-inline: auto;
}

.jg-lgz-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 82px 24px 64px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 85% 12%, rgba(31, 132, 183, .3), transparent 31%),
        linear-gradient(125deg, #031d33, #063f69 58%, #075f91);
}

.jg-lgz-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
}

.jg-lgz-hero__inner {
    position: relative;
    z-index: 2;
}

.jg-lgz-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8cc9e8;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.jg-lgz-hero__eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

.jg-lgz-hero h1 {
    margin: 12px 0;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.jg-lgz-hero p {
    max-width: 750px;
    margin: auto;
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
    font-size: 1.05rem;
}

.jg-lgz-card,
.jg-lgz-price {
    padding: 28px;
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid var(--jg-line);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(18, 52, 75, .06);
}

.jg-lgz-card h2,
.jg-lgz-price h2 {
    margin-bottom: 12px;
    color: var(--jg-navy);
    font-weight: 800;
}

.jg-lgz-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.jg-lgz-price {
    text-align: center;
    padding: 4rem 2rem;
}

.jg-lgz-kicker {
    display: block;
    margin-bottom: .75rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #8cc9e8;
}

.jg-lgz-price h2 {
    margin-bottom: 2rem;
    color: #0d355d;
    font-weight: 800;
}

.jg-lgz-price-value {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #8cc9e8;
    margin-bottom: 2rem;
}

.jg-lgz-price-value span {
    font-size: .9em;
}

.jg-lgz-price p {
    max-width: 900px;
    margin: 0 auto;
}

.jg-lgz-current {
    flex: 0 0 auto;
    padding: 14px 18px;
    background: #f0f5f8;
    border: 1px solid var(--jg-line);
    border-radius: 12px;
}

.jg-lgz-current span {
    display: block;
    color: var(--jg-muted);
    font-size: .75rem;
}

.jg-lgz-current strong {
    color: var(--jg-navy);
    font-weight: 800;
}

.jg-lgz-intro {
    margin: 18px 0;
    color: var(--jg-muted);
}

.jg-lgz-chart {
    height: 360px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--jg-line);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(18, 52, 75, .055);
}

.jg-lgz-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.jg-lgz-stat {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--jg-line);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(18, 52, 75, .055);
}

.jg-lgz-stat span {
    display: block;
    color: var(--jg-muted);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.jg-lgz-stat strong {
    display: block;
    margin-top: 4px;
    color: var(--jg-navy);
    font-weight: 800;
}

.jg-lgz-stat--alert strong {
    color: var(--jg-red);
}

.jg-lgz-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 16px 18px;
    background: #fff5f6;
    border-left: 4px solid var(--jg-red);
    border-radius: 8px;
}

.jg-lgz-price {
    text-align: center;
}

.jg-lgz-price strong {
    display: block;
    margin: 12px 0;
    color: var(--jg-red);
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 900;
}

.jg-lgz-content-grid,
.jg-lgz-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.jg-lgz-checklist {
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.jg-lgz-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.55;
}

.jg-lgz-checklist li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--jg-red);
    font-weight: 900;
}

.jg-lgz-subscribe {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.jg-lgz-subscribe__icon,
.jg-lgz-options__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--jg-navy), var(--jg-blue));
    border-radius: 12px;
}

.jg-lgz-subscribe__icon {
    width: 54px;
    height: 54px;
}

.jg-lgz-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    color: #fff !important;
    background: var(--jg-red);
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}

.jg-lgz-button:hover,
.jg-lgz-button:focus {
    color: #fff !important;
    background: #c10512;
    text-decoration: none;
    transform: translateY(-2px);
}

.jg-lgz-options {
    gap: 18px;
}

.jg-lgz-options article {
    display: flex;
    gap: 16px;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--jg-line);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(18, 52, 75, .055);
}

.jg-lgz-options__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.jg-lgz-options__content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.jg-lgz-options__content h3 {
    color: var(--jg-navy);
    font-weight: 800;
}

.jg-lgz-options__content p {
    color: var(--jg-muted);
    line-height: 1.6;
}

.jg-lgz-options .jg-lgz-button {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 991px) {
    .jg-lgz-content-grid,
    .jg-lgz-options {
        grid-template-columns: 1fr;
    }

    .jg-lgz-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .jg-lgz-container,
    .jg-lgz-hero__inner {
        width: calc(100% - 28px);
    }

    .jg-lgz-hero {
        padding: 58px 18px 48px;
    }

    .jg-lgz-card,
    .jg-lgz-price {
        padding: 20px;
    }

    .jg-lgz-card__head {
        display: block;
    }

    .jg-lgz-current {
        margin-top: 15px;
    }

    .jg-lgz-stats,
    .jg-lgz-subscribe {
        grid-template-columns: 1fr;
    }

    .jg-lgz-button {
        width: 100%;
    }

    .jg-lgz-options .jg-lgz-button {
        align-self: stretch;
    }

    .jg-lgz-chart {
        height: 280px;
        padding: 12px;
    }
}

/* Kompatibilitaet: dritte Kostenoptimierungs-Card immer 100 Prozent breit */
.jg-lgz-options > .jg-lgz-option:nth-child(3),
.jg-lgz-options > article:nth-child(3) {
    grid-column: 1 / -1;
    width: 100%;
}

/* Falls im Twig noch keine Klasse jg-lgz-option gesetzt ist */
.jg-lgz-options > article {
    min-width: 0;
}

