/**
 * Homepage - front-page.php and template-parts/home/
 *
 * Direction "The printed annual" (taste-skill), colour and type from the brand
 * (see .claude/skills/asivo-brand). Five type sizes only:
 *   display        --text-display   h1, figure, FAQ heading, closing line
 *   heading        --text-3xl       section headings, prices, project titles
 *   statement      --text-xl        large sentences, questions
 *   body           --text-base      running text
 *   small          --text-sm        notes, facts
 * No borders, no shadows, no gradients: surfaces are separated by tone steps.
 * One radius (8px) for tiles and buttons.
 *
 * @package Asivo
 */

/* ================================
   Shared
   ================================ */

/* .home-container and .home-h2 live in components.css (shared with the
   process section on other pages). */

/* Zero specificity, so every component rule below wins without !important. */
:where(.home-hero, .home-work, .home-mosaic, .home-about, .home-process, .home-pricing, .home-faq, .home-cta) p {
    margin: 0;
}

/* ================================
   Hero - the two-by-two board
   ================================ */

.home-hero {
    padding: calc(var(--header-h) + var(--space-1)) var(--space-1) var(--space-1);
}

.admin-bar .home-hero {
    padding-top: calc(var(--header-h) + 32px + var(--space-1));
}

.home-hero__board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-1);
    height: calc(100svh - var(--header-h) - var(--space-2));
    min-height: 34rem;
    max-height: 60rem;
}

.home-hero__tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.home-hero__tile--title {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-4);
    background-color: var(--color-card-bg);
}

.home-hero__title {
    max-width: 14ch;
    margin: 0 0 var(--space-4);
    font-size: var(--text-display);
    font-weight: var(--font-bold);
    line-height: 1;
    letter-spacing: -0.03em;
}

.home-hero__tile--pic {
    padding: var(--space-3);
    background-color: var(--color-card-bg);
}

.home-hero__tile--pic-a {
    grid-area: 1 / 2;
}

.home-hero__tile--pic-b {
    grid-area: 2 / 1;
}

/* Only one reference ticked for the hero: the title takes the left column. */
.home-hero__board--single .home-hero__tile--title {
    grid-area: 1 / 1 / 3 / 2;
}

.home-hero__pair {
    grid-area: 2 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1);
    min-height: 0;
}

.home-hero__tile--dark,
.home-hero__tile--accent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3);
}

.home-hero__tile--dark {
    background-color: var(--color-surface-hover);
}

.home-hero__tile--accent {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
}

.home-hero__statement {
    max-width: none;
    font-size: var(--text-xl);
    line-height: 1.35;
}

.home-hero__tile--dark .home-hero__statement {
    font-size: var(--text-lg);
}

.home-hero__tile--accent .home-hero__statement {
    font-family: var(--font-headline);
    font-weight: var(--font-semibold);
    letter-spacing: -0.01em;
}

.home-hero__offer-link {
    align-self: flex-start;
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-dark-bg);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-hero__offer-link:hover,
.home-hero__offer-link:focus {
    color: var(--color-dark-bg);
    text-decoration-thickness: 2px;
}

.home-hero__offer-link:focus-visible {
    outline: 2px solid var(--color-dark-bg);
    outline-offset: 3px;
}

/* ================================
   Work - one lead project, the rest as compact cards
   ================================ */

.home-work {
    padding-block: var(--space-12);
}

.home-work__title {
    margin-bottom: var(--space-2);
}

.home-work__lead {
    max-width: 48ch;
    font-size: var(--text-base);
    color: var(--color-text-body);
}

/* Shared: trade and town under the name, the address as the link. */
.work-trade {
    margin-bottom: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-primary-light);
}

.work-link {
    display: inline-block;
    margin-top: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 0.25em;
}

.work-link:hover,
.work-link:focus {
    color: var(--color-accent);
}

/* The lead: picture 8 of 12 columns, the detail overlapping its lower edge. */
.work-feature {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-3);
    margin-top: var(--space-6);
}

.work-feature__visual {
    grid-column: 1 / 9;
    grid-row: 1;
}

.work-feature__detail {
    position: relative;
    z-index: 1;
    grid-column: 6 / 10;
    grid-row: 2;
    margin-top: -5rem;
}

.work-feature__text {
    grid-column: 10 / 13;
    grid-row: 1 / 3;
    align-self: center;
}

.work-feature__name {
    margin: 0 0 var(--space-1);
    font-size: var(--text-3xl);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.work-feature__desc {
    max-width: 40ch;
    font-size: var(--text-base);
    line-height: 1.55;
}

/* The rest: smaller cards, cropped from the top left so the logo stays. */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--space-8) var(--space-3);
    margin: var(--space-12) 0 0;
    padding: 0;
    list-style: none;
}

.work-card__shot {
    margin-bottom: var(--space-3);
}

.work-card__shot .shot__img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 0% 0%;
}

.work-card__shot .shot__name {
    font-size: var(--text-xl);
}

.work-card__name {
    margin: 0 0 var(--space-1);
    font-size: var(--text-xl);
    line-height: 1.15;
}

.work-card__desc {
    max-width: 44ch;
    font-size: var(--text-base);
    line-height: 1.5;
}

/* After the proof, the next step. */
.work-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-4);
    margin-top: var(--space-10);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background-color: var(--color-card-bg);
}

.work-cta__text {
    font-family: var(--font-headline);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .work-feature__visual {
        grid-column: 1 / 13;
    }

    .work-feature__detail {
        grid-column: 7 / 13;
        margin-top: -4rem;
    }

    .work-feature__text {
        grid-column: 1 / 7;
        grid-row: 2;
        align-self: start;
        padding-top: var(--space-3);
    }
}

@media (max-width: 768px) {
    .home-work {
        padding-block: var(--space-10);
    }

    /* Phone: the detail picture and the card texts go, the scroll halves. */
    .work-feature {
        display: block;
    }

    .work-feature__detail,
    .work-card__desc {
        display: none;
    }

    .work-feature__text {
        padding-top: var(--space-3);
    }

    .work-grid {
        gap: var(--space-6);
        margin-top: var(--space-8);
    }

    .work-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ================================
   Mosaic - unlike tiles
   ================================ */

.home-mosaic {
    padding-block: var(--space-12);
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 6rem;
    gap: var(--space-1);
}

.mosaic__tile {
    margin: 0;
    padding: var(--space-3);
    overflow: hidden;
    border-radius: var(--radius-md);
}

.mosaic__tile--head   { grid-area: 1 / 1 / 4 / 7;   background-color: var(--color-primary); }
.mosaic__tile--found  { grid-area: 1 / 7 / 4 / 13;  background-color: var(--color-card-bg); }
.mosaic__tile--photo  { grid-area: 4 / 1 / 10 / 7;  background-color: var(--color-surface-hover); }
.mosaic__tile--figure { grid-area: 4 / 7 / 7 / 10;  background-color: var(--color-surface-hover); }
.mosaic__tile--list   { grid-area: 4 / 10 / 7 / 13; background-color: var(--color-primary); }
.mosaic__tile--call   { grid-area: 7 / 7 / 10 / 13; background-color: var(--color-card-bg); }

.mosaic__heading {
    max-width: 12ch;
    font-size: var(--text-3xl);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.mosaic__statement {
    max-width: 24ch;
    font-size: var(--text-xl);
    line-height: 1.3;
    color: var(--color-white);
}

.mosaic__tile--photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.mosaic__phone {
    display: block;
    width: min(72%, 24rem);
    height: auto;
    border: 0.5rem solid var(--color-dark-bg);
    border-bottom: 0;
    border-radius: 1.75rem 1.75rem 0 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 28px 56px -24px rgba(0, 0, 0, 0.8); /* taste-skill-ignore: owner asked for embedded screenshots */
}

.mosaic__figure {
    font-family: var(--font-headline);
    font-size: var(--text-display);
    font-weight: var(--font-bold);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--color-accent);
}

.mosaic__caption {
    margin-top: var(--space-1);
    max-width: 30ch;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    line-height: 1.45;
    color: var(--color-text-body);
}

.mosaic__list-title {
    margin: 0 0 var(--space-1);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: 0;
}

.mosaic__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-ui);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-white);
}

/* ================================
   About - the person, large enough to recognise
   ================================ */

.home-about {
    padding-block: var(--space-12);
}

.home-about__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-3);
    align-items: center;
}

.home-about__photo {
    grid-column: 1 / 5;
    margin: 0;
}

.home-about__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: var(--radius-md);
}

.home-about__body {
    grid-column: 6 / 13;
}

.home-about__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-4);
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.home-about__facts li {
    margin: 0;
}

.home-about__facts a {
    color: var(--color-text-body);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-about__lead,
.home-about__more {
    max-width: 56ch;
    font-size: var(--text-lg);
    line-height: 1.45;
}

.home-about__lead strong {
    font-weight: var(--font-medium);
    color: var(--color-white);
}

.home-about__more {
    margin-top: 1.35em;
    color: var(--color-text-secondary);
}

/* ================================
   Pricing - plans as a large table
   ================================ */

.home-pricing {
    padding-block: var(--space-12);
}

/* The finder: the page's one live thing. */
.finder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    align-items: start;
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background-color: var(--color-card-bg);
    border-radius: var(--radius-md);
}

.finder[hidden] {
    display: none;
}

.finder__form {
    display: contents;
}

.finder__question {
    margin: 0;
    padding: 0;
    border: 0;
}

.finder__legend {
    margin-bottom: var(--space-2);
    padding: 0;
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-white);
}

.finder__result {
    grid-column: 1 / -1;
}

.finder__option {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    min-height: 44px;
    margin: 0 0 var(--space-1);
    padding: var(--space-2) var(--space-3);
    line-height: 1.4;
    border-radius: var(--radius-md);
    background-color: var(--color-surface-hover);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    color: var(--color-white);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.finder__option:hover {
    background-color: var(--color-primary);
}

.finder__option input {
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    margin: 0.2em 0 0;
    accent-color: var(--color-accent);
}

.finder__option:has(input:checked) {
    background-color: var(--color-primary);
}

.finder__option:has(input:focus-visible) {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.finder__result {
    font-size: var(--text-base);
    line-height: 1.5;
}

.finder__hint {
    color: var(--color-text-secondary);
}

.finder__answer {
    margin-bottom: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    line-height: 1.25;
    color: var(--color-white);
}

.finder__note {
    margin-bottom: var(--space-2);
    color: var(--color-text-body);
}

.finder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

/* The table */
.price-table-wrap {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-base);
}

.price-table th,
.price-table td {
    padding: var(--space-2) var(--space-3);
    text-align: left;
    vertical-align: top;
    font-weight: var(--font-normal);
}

.price-table__corner {
    width: 22%;
}

.price-table__label {
    font-family: var(--font-ui);
    color: var(--color-text-secondary);
}

.price-table td {
    color: var(--color-white);
}

/* Every second row one tone step from the ground. */
.price-table tbody tr:nth-child(odd) th,
.price-table tbody tr:nth-child(odd) td {
    background-color: var(--color-card-bg);
}

.price-table .price-table__plan {
    padding-top: var(--space-4);
}

.price-table__name,
.price-table__price {
    display: block;
    font-family: var(--font-headline);
    font-size: var(--text-3xl);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.price-table__name {
    font-weight: var(--font-bold);
}

.price-table__price {
    font-weight: var(--font-normal);
}

.price-table__vat,
.price-table__badge {
    display: block;
    margin-top: var(--space-1);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.price-table__badge {
    font-weight: var(--font-semibold);
}

.price-table .price-table__action {
    padding-block: var(--space-3) var(--space-4);
}

/* The recommended plan: its whole column on the accent tone. */
.price-table .price-table__cell--featured,
.price-table tbody tr:nth-child(odd) .price-table__cell--featured {
    background-color: var(--color-accent);
    color: var(--color-dark-bg);
    font-weight: var(--font-medium);
}

.price-table__cell--featured .price-table__name,
.price-table__cell--featured .price-table__price,
.price-table__cell--featured .price-table__vat,
.price-table__cell--featured .price-table__badge {
    color: var(--color-dark-bg);
}

/* Finder match: a quiet second marker, not a second accent. */
.price-table .is-match:not(.price-table__cell--featured) {
    background-color: var(--color-surface-hover);
}

.price-table thead .is-match::after {
    content: "Passt zu Ihren Antworten";
    display: block;
    margin-top: var(--space-1);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

/* Phone blocks - hidden on wider screens. */
.price-blocks {
    display: none;
}

.home-pricing__note {
    max-width: 70ch;
    margin-top: var(--space-4);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--color-text-secondary);
}

.home-pricing__note a {
    color: var(--color-text-body);
    text-decoration: underline;
}

/* ================================
   FAQ - a band per question
   ================================ */

.faq-band {
    padding-block: var(--space-6);
}

.faq-band:nth-of-type(even) {
    background-color: var(--color-card-bg);
}

.faq-band--head {
    display: flex;
    align-items: flex-end;
    min-height: 40svh;
    background-color: var(--color-surface-hover);
}

.faq-band__heading {
    margin: 0;
    font-size: var(--text-display);
    line-height: 1;
    letter-spacing: -0.03em;
}

.faq-band__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-3);
}

.faq-band__question {
    grid-column: 1 / 6;
    margin: 0;
    font-size: var(--text-xl);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.faq-band__answer {
    grid-column: 7 / 13;
    max-width: 60ch;
    font-size: var(--text-base);
    line-height: 1.55;
}

/* ================================
   Close - the idea again, inverted
   ================================ */

.home-cta {
    display: flex;
    min-height: 64svh;
    padding-block: var(--space-10) var(--space-6);
    background-color: var(--color-text-body);
    color: var(--color-dark-bg);
}

.home-cta__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-8);
}

.home-cta__title {
    max-width: 13ch;
    margin: 0;
    font-size: var(--text-display);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--color-dark-bg);
}

.home-cta__foot {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-3);
    align-items: end;
}

.home-cta__text {
    grid-column: 1 / 7;
    max-width: 44ch;
    font-size: var(--text-base);
    line-height: 1.55;
    color: var(--color-dark-bg);
}

.home-cta__actions {
    grid-column: 7 / 13;
}

.home-cta .contact-actions {
    justify-content: flex-end;
}

/* Dark ink on the light closing ground. */
.home-cta .contact-actions__details {
    margin-left: auto;
    text-align: right;
    color: var(--color-dark-bg);
}

/* ================================
   Shared control feedback
   ================================ */

.home-hero .btn:active,
.home-pricing .btn:active,
.home-cta .btn:active {
    transform: scale(0.98);
}

/* ================================
   Motion
   Without the js-motion class (no JavaScript) everything is simply visible.
   ================================ */

/* Entrances ([data-reveal], the process bars) live in components.css, shared
   with the other pages. */

/* The signature move: the hero picture opens like a shutter. */
.js-motion [data-shutter] img {
    clip-path: inset(0 0 0 45%);
    transform: scale(1.12);
    transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-motion [data-shutter].is-in img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .js-motion [data-shutter] img {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
    }

    .home-hero .btn:active,
    .home-pricing .btn:active,
    .home-cta .btn:active {
        transform: none;
    }
}

/* ================================
   Phone and small tablet
   ================================ */

@media (max-width: 900px) {
    .home-hero__board {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .home-hero__tile--title {
        grid-area: auto;
        order: 1;
        min-height: 30svh;
        padding: var(--space-3);
    }

    .home-hero__pair {
        grid-area: auto;
        order: 2;
        grid-template-columns: 1fr;
    }

    .home-hero__tile--pic-a {
        grid-area: auto;
        order: 3;
        aspect-ratio: 4 / 3;
    }

    /* The second crop moves out of the first screen on a phone. */
    .home-hero__tile--pic-b {
        display: none;
    }
}

@media (max-width: 768px) {
    .home-h2 {
        margin-bottom: var(--space-4);
    }

    .home-mosaic,
    .home-about,
    .home-process,
    .home-pricing {
        padding-block: var(--space-10);
    }

    /* Statements stay at paragraph size on a phone. */
    .home-hero__statement,
    .mosaic__statement {
        font-size: var(--text-lg);
    }

    /* Mosaic: two columns, natural heights. */
    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        gap: var(--space-1);
    }

    .mosaic__tile--head,
    .mosaic__tile--found,
    .mosaic__tile--photo,
    .mosaic__tile--call {
        grid-area: auto;
        grid-column: 1 / -1;
    }

    .mosaic__tile--figure,
    .mosaic__tile--list {
        grid-area: auto;
        grid-column: auto;
    }

    @media (max-width: 480px) {
        .mosaic__tile--figure,
        .mosaic__tile--list {
            grid-column: 1 / -1;
        }
    }

    .mosaic__tile--head   { order: 1; }
    .mosaic__tile--photo  { order: 2; }
    .mosaic__tile--figure { order: 3; }
    .mosaic__tile--list   { order: 4; }
    .mosaic__tile--found  { order: 5; }
    .mosaic__tile--call   { order: 6; }

    .mosaic__tile--head {
        padding-block: var(--space-6) var(--space-4);
    }

    /* About */
    .home-about__grid {
        display: block;
    }

    .home-about__lead,
    .home-about__more {
        font-size: var(--text-lg);
        line-height: 1.4;
    }

    .home-about__photo {
        width: min(80%, 22rem);
        margin-bottom: var(--space-4);
    }

    /* Mosaic: the phone picture */
    .mosaic__tile--photo {
        padding-top: var(--space-4);
    }

    .mosaic__phone {
        width: min(70%, 16rem);
    }

    /* Pricing: blocks instead of the table. */
    .finder {
        grid-template-columns: 1fr;
        padding: var(--space-3);
    }

    .price-table-wrap {
        display: none;
    }

    .price-blocks {
        display: grid;
        gap: var(--space-2);
    }

    .price-block {
        padding: var(--space-4) var(--space-3);
        border-radius: var(--radius-md);
        background-color: var(--color-card-bg);
    }

    .price-block--featured {
        background-color: var(--color-accent);
        color: var(--color-dark-bg);
    }

    .price-block.is-match:not(.price-block--featured) {
        background-color: var(--color-surface-hover);
    }

    .price-block__badge {
        margin-top: var(--space-1);
        font-family: var(--font-ui);
        font-size: var(--text-sm);
        font-weight: var(--font-semibold);
    }

    .price-block__name {
        margin: 0;
        font-size: var(--text-3xl);
        line-height: 1.05;
        color: inherit;
    }

    .price-block--featured .price-block__name {
        color: var(--color-dark-bg);
    }

    .price-block__price {
        margin-top: var(--space-1);
        font-family: var(--font-headline);
        font-size: var(--text-3xl);
        line-height: 1.05;
    }

    .price-block__vat {
        font-family: var(--font-ui);
        font-size: var(--text-sm);
    }

    .price-block__rows {
        margin: var(--space-3) 0;
    }

    .price-block__row {
        padding-block: var(--space-1);
    }

    .price-block__row dt {
        font-family: var(--font-ui);
        font-size: var(--text-sm);
        color: var(--color-text-secondary);
    }

    .price-block--featured .price-block__row dt,
    .price-block--featured .price-block__vat {
        color: var(--color-dark-bg);
    }

    .price-block__row dd {
        margin: 0;
        font-size: var(--text-base);
    }

    .price-block__action {
        width: 100%;
    }

    /* FAQ */
    .faq-band {
        padding-block: var(--space-4);
    }

    .faq-band--head {
        min-height: 30svh;
    }

    .faq-band__grid {
        display: block;
    }

    .faq-band__question {
        margin-bottom: var(--space-2);
        font-size: var(--text-lg);
    }

    /* Close */
    .home-cta {
        min-height: 70svh;
        padding-block: var(--space-8) var(--space-4);
    }

    .home-cta__foot {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
    }

    .home-cta .contact-actions__details {
        margin-left: 0;
        text-align: left;
    }
}

/* Four plans: names and prices one step smaller, cells a little tighter,
   so the table fits the container without scrolling sideways. */
.price-table__name,
.price-table__price {
    font-size: var(--text-xl);
}

.price-table th,
.price-table td {
    padding-inline: var(--space-2);
}

.price-table__label {
    padding-left: var(--space-3) !important;
}

.price-table .price-from {
    font-family: var(--font-ui);
    font-size: 0.5em;
    font-weight: var(--font-semibold);
    letter-spacing: 0;
    vertical-align: 0.3em;
    margin-right: 0.1em;
}

/* Four plans do not fit the table on tablets: from 1100px down the stacked
   blocks take over, two side by side until the phone layout above. */
@media (min-width: 769px) and (max-width: 1100px) {
    .price-table-wrap {
        display: none;
    }

    .price-blocks {
        display: grid;
        gap: var(--space-2);
    }

    .price-block {
        padding: var(--space-4) var(--space-3);
        border-radius: var(--radius-md);
        background-color: var(--color-card-bg);
    }

    .price-block--featured {
        background-color: var(--color-accent);
        color: var(--color-dark-bg);
    }

    .price-block.is-match:not(.price-block--featured) {
        background-color: var(--color-surface-hover);
    }

    .price-block__badge {
        margin-top: var(--space-1);
        font-family: var(--font-ui);
        font-size: var(--text-sm);
        font-weight: var(--font-semibold);
    }

    .price-block__name {
        margin: 0;
        font-size: var(--text-3xl);
        line-height: 1.05;
        color: inherit;
    }

    .price-block--featured .price-block__name {
        color: var(--color-dark-bg);
    }

    .price-block__price {
        margin-top: var(--space-1);
        font-family: var(--font-headline);
        font-size: var(--text-3xl);
        line-height: 1.05;
    }

    .price-block__vat {
        font-family: var(--font-ui);
        font-size: var(--text-sm);
    }

    .price-block__rows {
        margin: var(--space-3) 0;
    }

    .price-block__row {
        padding-block: var(--space-1);
    }

    .price-block__row dt {
        font-family: var(--font-ui);
        font-size: var(--text-sm);
        color: var(--color-text-secondary);
    }

    .price-block--featured .price-block__row dt,
    .price-block--featured .price-block__vat {
        color: var(--color-dark-bg);
    }

    .price-block__row dd {
        margin: 0;
        font-size: var(--text-base);
    }

    .price-block__action {
        width: 100%;
    }

    .price-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    /* Side by side the four blocks read as a row of icon cards; the button text says enough. */
    .price-block__action .btn__icon {
        display: none;
    }
}
