.highlight-tariff-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.angebot-tariff-tab-container {
    width: 100%;
    container-name: angebot-tariff-tab;
    container-type: inline-size;
    display: flex;
    justify-content: center;
}

.highlight-tariff-tab__left {
    flex: 1 1 auto;
    min-width: 0;
}

.highlight-tariff-tab__name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: #4A2D14;
}

.highlight-tariff-tab__specs {
    margin-top: 20px;
}

.highlight-tariff-tab__specs ul {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-type: none !important;
}

.highlight-tariff-tab__specs li {
    position: relative;
    margin: 8px 0;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.3;
    color: #000;
}

.highlight-tariff-tab__specs li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
}

.highlight-tariff-tab__right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
}

.highlight-tariff-tab__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.highlight-tariff-tab__price-stack {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
}

.highlight-tariff-tab__price-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 0 0 auto;
    padding-top: 6px;
}

.highlight-tariff-tab__old-price {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--brand-dark);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.highlight-tariff-tab__price {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--brand-primary);
    white-space: nowrap;
    font-weight: 700;
}

.highlight-tariff-tab__price--angebot {
    font-size: 32px;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.highlight-tariff-tab__price-label {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-primary);
    text-transform: none;
}

.highlight-tariff-tab__price-number,
.highlight-tariff-tab__price-comma {
    font-size: 78px;
    font-weight: 800;
    line-height: 0.95;
}

.highlight-tariff-tab__price-currency {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    margin-left: 4px;
    transform: translateY(-0.12em);
}

.highlight-tariff-tab__cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: 0 0 auto;
}

.highlight-tariff-tab__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    min-width: 220px;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--brand-accent);
    border: 2px solid var(--brand-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: .2s;
}

.highlight-tariff-tab__button:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}

.highlight-tariff-tab__documents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 20px;
    max-width: 100%;
}

.highlight-tariff-tab__document-link {
    color: var(--brand-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    white-space: nowrap;
}

.highlight-tariff-tab__document-link:hover {
    color: var(--brand-primary);
}

.highlight-tariff-tab--angebot {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.angebot-tariff-tab__header {
    padding: 22px 26px 20px;
    background: var(--brand-primary);
    color: var(--brand-on-primary);
    border-width: 3px;
    border-style: solid;
    border-radius: 25px 25px 0px 0px;
}

.angebot-tariff-tab__title {
    margin: 0;
        font-size: clamp(21px, 3vw, 35px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 2px;
    color: inherit;
}

.angebot-tariff-tab__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 26px 30px;
}

.angebot-tariff-tab__benefits ul {
    margin: 0;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
}

.angebot-tariff-tab__benefits li {
    display: flex;
    align-items: flex-start;
    list-style: none !important;
    margin: 10px 0;
    padding-left: 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--brand-dark);
}

.angebot-tariff-tab__benefits li::marker {
    content: '';
}

.angebot-tariff-tab__benefits li::before {
    content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Vector-green.svg);
    flex: 0 0 auto;
    width: 18px;
    height: 13px;
    margin-right: 12px;
    margin-top: 2px;
}

.angebot-tariff-tab__price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 18px 18px;
    border-radius: 18px;
    border: 1px solid #F1D7A6;
    background: linear-gradient(180deg, #FFFBEF 0%, #FFF8E7 100%);
    text-align: center;
}

.angebot-tariff-tab__price-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.angebot-tariff-tab__price-main {
    display: inline-flex;
    align-items: flex-end;
    color: var(--brand-primary);
    line-height: 1;
}

.angebot-tariff-tab__price-number,
.angebot-tariff-tab__price-comma {
    font-size: clamp(52px, 14vw, 72px);
    font-weight: 700;
    line-height: 0.9;
}

.angebot-tariff-tab__price-currency {
    margin-left: 4px;
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 700;
    line-height: 1;
}

.angebot-tariff-tab__price-period {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: var(--brand-dark);
    opacity: 0.75;
}

.angebot-tariff-tab__old-price {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brand-dark);
    opacity: 0.7;
}

.angebot-tariff-tab__old-price-value {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.angebot-tariff-tab__countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.angebot-tariff-tab__countdown-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-dark);
}

.angebot-tariff-tab__countdown-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border: 2px solid var(--brand-accent);
    border-radius: 50%;
}

.angebot-tariff-tab__countdown-icon::before,
.angebot-tariff-tab__countdown-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    background: var(--brand-accent);
    transform-origin: center top;
}

.angebot-tariff-tab__countdown-icon::before {
    width: 2px;
    height: 6px;
    transform: translate(-50%, -95%);
}

.angebot-tariff-tab__countdown-icon::after {
    width: 6px;
    height: 2px;
    transform: translate(-5%, -50%) rotate(35deg);
    transform-origin: left center;
}

.angebot-tariff-tab__countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 300px;
}

.angebot-tariff-tab__countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.angebot-tariff-tab__countdown-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 40%;
    background: var(--brand-accent);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.angebot-tariff-tab__countdown-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--brand-dark);
    opacity: 0.7;
}

.angebot-tariff-tab__countdown-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--brand-dark);
    opacity: 0.8;
}

.angebot-tariff-tab__countdown-note::before {
    content: '\231B';
    font-size: 14px;
    color: var(--brand-accent);
}

.angebot-tariff-tab__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.angebot-tariff-tab__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 14px 24px;
    border-radius: 16px;
    background: var(--brand-accent);
    border: 2px solid var(--brand-accent);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    transition: .2s;
}

.angebot-tariff-tab__button:hover {
    background: #ffffff;
    color: var(--brand-accent);
    text-decoration: none;
}

.angebot-tariff-tab__button-arrow {
    font-size: 24px;
    line-height: 1;
}

.angebot-tariff-tab__documents {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
}

.angebot-tariff-tab__document-link {
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
}

.angebot-tariff-tab__document-link:hover {
    color: var(--brand-primary);
}

@media screen and (max-width: 1024px) {
    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) {
        flex-direction: column;
        align-items: flex-start;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__right {
        width: 100%;
        justify-content: space-between;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__name {
        font-size: 36px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__specs li {
        font-size: 22px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__price {
        font-size: 40px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__old-price {
        font-size: 24px;
    }
}

@media screen and (max-width: 767px) {
    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__name {
        font-size: 30px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__specs li {
        font-size: 18px;
        padding-left: 24px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__right {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__prices {
        width: 100%;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__price {
        font-size: 34px;
        text-align: left;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__old-price {
        font-size: 18px;
    }

    .highlight-tariff-tab:not(.highlight-tariff-tab--angebot) .highlight-tariff-tab__button {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }
}

@container angebot-tariff-tab (max-width: 1024px) {
    .highlight-tariff-tab--angebot {
        max-width: 100%;
    }

    .angebot-tariff-tab__body {
        padding: 24px 22px 26px;
    }

    .angebot-tariff-tab__benefits li {
        font-size: 17px;
    }

    .angebot-tariff-tab__countdown-grid {
        gap: 10px;
    }
}

@container angebot-tariff-tab (max-width: 767px) {
    .angebot-tariff-tab__header {
        padding: 20px 22px 18px;
    }

    .angebot-tariff-tab__body {
        gap: 22px;
        padding: 22px 18px 24px;
    }

    .angebot-tariff-tab__benefits li {
        margin: 11px 0;
        padding-left: 0;
        font-size: 19px;
    }

    .angebot-tariff-tab__benefits li::before {
        content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Vector-green-2.svg);
        width: 16px;
        height: 16px;
        margin-right: 10px;
        margin-top: 0px;
    }

    .angebot-tariff-tab__price-card {
        padding: 20px 14px 16px;
    }

    .angebot-tariff-tab__price-row {
        gap: 6px;
    }

    .angebot-tariff-tab__price-period {
        margin-bottom: 6px;
        font-size: 16px;
    }

    .angebot-tariff-tab__old-price {
        font-size: 17px;
    }

    .angebot-tariff-tab__countdown-grid {
        gap: 8px;
        max-width: 280px;
    }

    .angebot-tariff-tab__countdown-value {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .angebot-tariff-tab__button {
        min-height: 56px;
        padding: 12px 20px;
        font-size: 20px;
    }

    .angebot-tariff-tab__button-arrow {
        font-size: 22px;
    }

    .angebot-tariff-tab__documents {
        gap: 8px 14px;
    }

    .angebot-tariff-tab__document-link {
        font-size: 13px;
    }
}
