/* =========================================================
   DIWA – SUPPORT
   Seitenspezifische Ergänzungen zu style.css
   ========================================================= */


/* =========================================================
   01 · HERO
   ========================================================= */

.support-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    background: #b7c9c2;
    color: var(--ink);
}


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

.support-hero-photo {
    position: absolute;
    inset: 0 0 112px 0;
    z-index: 0;
}

.support-hero-photo picture,
.support-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.support-hero-photo img {
    object-fit: cover;

    /* Wohnwagen bleibt rechts,
       Baum wandert aus dem Navigationsbereich. */
    object-position: 58% center;
}


/* ---------------------------------------------------------
   Wash
   --------------------------------------------------------- */

.support-hero-wash {
    position: absolute;
    inset: 0 0 112px 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(183, 201, 194, .96) 0%,
        rgba(183, 201, 194, .93) 30%,
        rgba(183, 201, 194, .72) 48%,
        rgba(183, 201, 194, .24) 70%,
        rgba(183, 201, 194, .06) 100%
    );
}


/* ---------------------------------------------------------
   Inhalt über Bild und Wash
   --------------------------------------------------------- */

.support-hero > .site-head {
    position: relative;
    z-index: 10;
}

.support-hero-copy,
.support-threshold {
    position: relative;
    z-index: 2;
}

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

.support-hero-copy {
    width: min(calc(100% - 7vw), var(--max));
    margin: 0 auto;
    align-self: center;
    padding: 45px 0 75px;
}

.support-hero-copy h1 {
    max-width: 1100px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6.4vw, 100px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.04em;
}

.support-hero-copy h1 em {
    color: #526e67;
    font-style: normal;
}

.support-hero-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   Threshold
   --------------------------------------------------------- */

.support-threshold {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0 max(
        3.5vw,
        calc((100vw - var(--max)) / 2)
    );
    background: #f3f0ea;
    border-top: 1px solid var(--line);
}

.support-threshold a {
    min-height: 112px;
    padding: 25px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--line);
}

.support-threshold a:last-child {
    border-right: 1px solid var(--line);
}

.support-threshold small {
    margin-bottom: 7px;
    opacity: .45;
}

.support-threshold span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}


/* =========================================================
   02 · SUPPORT – GRUNDLAYOUT
   ========================================================= */

.sp h2,
.sp h3,
.sp-note,
.sp-statement p,
.sp-finale h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -.028em;
}

.sp-grid {
    display: grid;
    grid-template-columns: minmax(150px, .32fr) minmax(0, 1.68fr);
    gap: 6vw;
}

.sp-label span {
    display: block;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    opacity: .28;
}

.sp-label .eyebrow {
    margin: 0;
}

.sp-copy h2,
.sp-price-head h2,
.sp-prepaid h2,
.sp-conditions h2 {
    max-width: 1000px;
    margin: 0 0 55px;
    font-size: clamp(48px, 5.4vw, 82px);
    line-height: 1.03;
}

.sp-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw;
    max-width: 1050px;
}

.sp-cols p {
    margin: 0 0 22px;
    font-size: 18px;
}

.sp-cols .lead,
.sp-prepaid-copy .lead {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.43;
}

.sp-note {
    max-width: 760px;
    margin: 65px 0 0;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    font-size: 29px;
}


/* =========================================================
   03 · DIREKT / HOSTING
   ========================================================= */

.sp-direct {
    background: #f3f0ea;
}

.sp-hosting {
    background: #e9e5de;
}


/* =========================================================
   04 · STATEMENTS
   ========================================================= */

.sp-statement {
    padding: 105px max(
        4.5vw,
        calc((100vw - 1280px) / 2)
    );
}

.sp-statement p {
    margin: 0;
    font-size: clamp(44px, 5.5vw, 84px);
    line-height: 1.06;
}

.sp-statement-dark {
    background: #10262d;
    color: #f3f0ea;
}


/* =========================================================
   05 · TARIFE
   ========================================================= */

.sp-tarife {
    background: #b7c9c2;
}

.sp-price-head {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 8vw;
    align-items: end;
}

.sp-price-head h2 {
    margin: 0;
}

.sp-price-head > p {
    max-width: 470px;
    margin: 0 0 8px;
    font-size: 18px;
}

.sp-action {
    margin-top: 65px;
    padding-top: 35px;
    border-top: 1px solid rgba(16, 38, 45, .3);
}

.sp-tariff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 70px;
    border-top: 1px solid rgba(16, 38, 45, .35);
    border-bottom: 1px solid rgba(16, 38, 45, .35);
}

.sp-tariff {
    min-width: 0;
    padding: 34px 25px 38px;
}

.sp-tariff + .sp-tariff {
    border-left: 1px solid rgba(16, 38, 45, .25);
}

.sp-tariff-type {
    margin: 0 0 24px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    opacity: .7;
}

.sp-tariff-price {
    margin: 0 0 28px;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 2.25vw, 38px);
    line-height: 1;
    letter-spacing: -.025em;
}

.sp-tariff-price small {
    margin-left: 4px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    opacity: .6;
}

.sp-tariff > p:last-child {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.sp-tariff-featured {
    background: rgba(243, 240, 234, .35);
}

.sp-tariff-emergency {
    background: rgba(16, 38, 45, .07);
}

.sp-tariff-foot {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.55;
}

.sp-tariff-foot p {
    max-width: 690px;
    margin: 0;
}

.sp-tariff-foot p:last-child {
    white-space: nowrap;
}


/* =========================================================
   06 · PREPAID
   ========================================================= */

.sp-prepaid {
    background: #10262d;
    color: #f3f0ea;
}

.sp-prepaid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw;
}

.sp-prepaid .eyebrow {
    color: #b8c9c2;
}

.sp-prepaid h2 {
    margin-top: 25px;
    font-size: clamp(60px, 7vw, 105px);
}

.sp-prepaid-copy p {
    margin: 0 0 24px;
    font-size: 18px;
}

.sp-prepaid .text-link {
    margin-top: 20px;
    border-color: #f3f0ea;
}

.sp-prepaid-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 75px;
    border-top: 1px solid rgba(243, 240, 234, .35);
    border-bottom: 1px solid rgba(243, 240, 234, .35);
}

.sp-prepaid-plans article {
    padding: 40px 4vw 44px 0;
}

.sp-prepaid-plans article + article {
    padding-left: 4vw;
    border-left: 1px solid rgba(243, 240, 234, .25);
}

.sp-prepaid-plans .sp-plan-featured {
    background: rgba(243, 240, 234, .055);
}

.sp-plan-name {
    margin: 0 0 22px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
    opacity: .65;
}

.sp-plan-credit {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -.03em;
}

.sp-plan-rate {
    margin: 0 0 26px;
    color: #b8c9c2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.sp-prepaid-plans article > p:last-child {
    margin: 0;
    font-size: 15px;
    opacity: .82;
}

.sp-prepaid-note {
    max-width: 900px;
    margin: 45px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.4;
}


/* =========================================================
   07 · HILFE / BEDINGUNGEN
   ========================================================= */

.sp-help {
    background: #f3f0ea;
}

.sp-help-lead {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.4;
}

.sp-help .sp-copy > p:last-child {
    max-width: 720px;
    font-size: 18px;
}

.sp-conditions {
    background: #e9e5de;
}

.sp-condition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sp-condition-grid > div {
    padding: 42px 3.5vw 48px 0;
}

.sp-condition-grid > div + div {
    padding-left: 3.5vw;
    border-left: 1px solid var(--line);
}

.sp-condition-grid h3 {
    margin: 0 0 20px;
    font-size: 31px;
}

.sp-condition-grid p {
    margin: 0;
    font-size: 16px;
}

.sp-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 55px;
}

.sp-docs a {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
}

.sp-doc-pending {
    opacity: .55;
}


/* =========================================================
   08 · FINALE
   ========================================================= */

.sp-finale {
    background: #f3f0ea;
}

.sp-finale .section {
    padding-top: 150px;
    padding-bottom: 170px;
}

.sp-finale h2 {
    max-width: 1100px;
    margin: 0 0 55px;
    font-size: clamp(60px, 7vw, 108px);
    line-height: 1.02;
}


/* =========================================================
   09 · RESPONSIVE – TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .sp-tariff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-tariff {
        border-bottom: 1px solid rgba(16, 38, 45, .25);
    }

    .sp-tariff:nth-child(odd) {
        border-left: 0;
    }

    .sp-tariff:last-child {
        grid-column: 1 / -1;
        border-bottom: 0;
    }

    .sp-tariff-price {
        font-size: 34px;
    }
}


@media (max-width: 960px) {

    /* Hero: Topbar ? Bild ? Text ? Threshold */
    .support-hero {
        min-height: auto;
        grid-template-rows: auto auto auto auto;
    }

    .support-hero-photo {
        position: relative;
        grid-row: 2;
        inset: auto;
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .support-hero-photo img {
        object-position: center center;
    }

    .support-hero-wash {
        display: none;
    }

    .support-hero-copy {
        grid-row: 3;
        width: calc(100% - 40px);
        padding: 75px 0;
    }

    .support-threshold {
        grid-row: 4;
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }

    /* Inhaltsbereiche */
    .sp-grid,
    .sp-cols,
    .sp-price-head,
    .sp-prepaid-grid {
        grid-template-columns: 1fr;
    }

    .sp-grid {
        gap: 40px;
    }

    .sp-label {
        display: flex;
        align-items: baseline;
        gap: 18px;
    }

    .sp-label span {
        margin: 0;
        font-size: 34px;
    }

    .sp-cols,
    .sp-price-head,
    .sp-prepaid-grid {
        gap: 30px;
    }

    .sp-condition-grid {
        grid-template-columns: 1fr;
    }

    .sp-condition-grid > div {
        padding: 35px 0;
    }

    .sp-condition-grid > div + div {
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .sp-finale .section {
        padding-top: 110px;
        padding-bottom: 120px;
    }
}


/* =========================================================
   10 · RESPONSIVE – PHONE
   ========================================================= */

@media (max-width: 620px) {

    .support-hero-copy h1 {
        font-size: clamp(48px, 13vw, 64px);
    }

    .support-threshold {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-threshold a {
        min-height: 90px;
    }

    .sp-copy h2,
    .sp-price-head h2,
    .sp-prepaid h2,
    .sp-conditions h2 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .sp-cols .lead,
    .sp-prepaid-copy .lead {
        font-size: 23px;
    }

    .sp-cols p,
    .sp-prepaid-copy p {
        font-size: 16px;
    }

    .sp-statement {
        padding: 75px 20px;
    }

    .sp-statement p {
        font-size: clamp(38px, 11vw, 54px);
    }

    .sp-docs {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .sp-tariff-grid,
    .sp-prepaid-plans {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .sp-tariff + .sp-tariff,
    .sp-prepaid-plans article + article {
        border-top: 1px solid currentColor;
        border-left: 0;
    }

    .sp-tariff,
    .sp-prepaid-plans article,
    .sp-prepaid-plans article + article {
        padding: 28px 0;
    }

    .sp-tariff:last-child {
        grid-column: auto;
    }

    .sp-tariff-foot {
        flex-direction: column;
        gap: 10px;
    }

    .sp-prepaid-plans .sp-plan-featured {
        background: transparent;
    }

    .sp-prepaid-note {
        font-size: 20px;
    }
}
