/* =========================================================
   FERTIGHAUS & TROCKENBAU – PAGE STYLES
   Namespace: .fertighaus-
========================================================= */

/* GLOBAL */
html {
    scroll-behavior: smooth;
}

.fertighaus-page {
    background: #ffffff;
    color: #1d2433;
    overflow-x: clip;
}

.fertighaus-shell {
    width: min(1360px, calc(100% - 120px));
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .fertighaus-shell {
        width: calc(100% - 64px);
    }
}

@media (max-width: 640px) {
    .fertighaus-shell {
        width: calc(100% - 32px);
    }
}

/* HERO */
.fertighaus-hero {
    position: relative;
    width: 100%;
    min-height: 780px;
    padding: 0;
    overflow: hidden;
    background: #071734;
}

.fertighaus-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 23, 52, 0.88) 0%, rgba(7, 23, 52, 0.70) 30%, rgba(7, 23, 52, 0.38) 58%, rgba(7, 23, 52, 0.16) 100%),
        linear-gradient(180deg, rgba(7, 23, 52, 0.08) 0%, rgba(7, 23, 52, 0.18) 100%);
}

.fertighaus-hero::after {
    display: none;
}

.fertighaus-hero-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    z-index: 1;
    overflow: hidden;
}

.fertighaus-hero-media img,
.fertighaus-hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 780px;
    object-fit: cover;
    object-position: center center;
}

.fertighaus-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(13, 20, 34, 0.70) 0%, rgba(13, 20, 34, 0.52) 34%, rgba(13, 20, 34, 0.24) 62%, rgba(13, 20, 34, 0.10) 100%),
        linear-gradient(180deg, rgba(13, 20, 34, 0.10) 0%, rgba(13, 20, 34, 0.06) 100%);
}

.fertighaus-hero .fertighaus-shell {
    position: relative;
    z-index: 4;
    min-height: 780px;
}

.fertighaus-hero-grid {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: flex-end;
}

.fertighaus-hero__inner {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 900px;
    padding: 220px 0 36px;
}

.fertighaus-hero .subheadline {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(18, 32, 60, 0.10);
}

.fertighaus-hero h1 {
    margin: 0 0 18px;
    max-width: 18ch;
    font-size: clamp(40px, 4vw, 62px);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: #ffffff;
    text-wrap: balance;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.fertighaus-hero .intro {
    margin: 0;
    max-width: 860px;
    font-size: 17px;
    line-height: 1.72;
    color: rgba(255,255,255,0.93);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.fertighaus-hero .intro strong {
    color: #ffffff;
    font-weight: 800;
}

.fertighaus-hero .region {
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.55;
    color: #ffffff;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.fertighaus-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.fertighaus-hero__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(18, 32, 60, 0.10);
}

.fertighaus-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* BUTTONS */
.fertighaus-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.fertighaus-page .btn:hover {
    transform: translateY(-1px);
}

.fertighaus-page .btn-primary {
    background: #2f7cff;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(47, 124, 255, 0.20);
}

.fertighaus-page .btn-primary:hover {
    box-shadow: 0 16px 30px rgba(47, 124, 255, 0.24);
}

.fertighaus-page .btn-secondary {
    background: #ffffff;
    color: #1d2433;
    border: 1px solid #dfe6f2;
    box-shadow: 0 8px 20px rgba(18, 32, 60, 0.05);
}

.fertighaus-hero .btn-primary {
    box-shadow: 0 16px 30px rgba(47, 124, 255, 0.26);
}

.fertighaus-hero .btn-secondary {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.9);
}

.fertighaus-page .btn-secondary:hover {
    border-color: #2f7cff;
    background: #f4f8ff;
}

/* PAGE-SPECIFIC SERVICE OVERVIEW */
.page-template-page-innenausbau-fertighaus .service-overview-nav {
    margin-top: 0 !important;
    padding-top: 60px;
    padding-bottom: 32px;
}

.page-template-page-innenausbau-fertighaus .service-overview-nav__head h2 {
    max-width: 13ch;
}

/* CONTENT */
.fertighaus-content {
    padding: 96px 0 110px;
}

.fertighaus-layout {
    width: 100%;
}

.fertighaus-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.fertighaus-section,
.fertighaus-faq {
    width: 100%;
}

.fertighaus-section {
    padding: 0 0 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid #e8eef7;
}

.fertighaus-section:last-child {
    margin-bottom: 0;
}

.fertighaus-section--wide {
    border-bottom: 0;
    padding-bottom: 6px;
}

.fertighaus-section h2,
.fertighaus-faq h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1d2433;
    max-width: 24ch;
    text-wrap: balance;
}

.fertighaus-section h3,
.fertighaus-card h3,
.fertighaus-type-card h3,
.faq-item h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.28;
    color: #1d2433;
}

.fertighaus-section p,
.fertighaus-card p,
.fertighaus-type-card p,
.faq-item p {
    margin: 0 0 18px;
    max-width: 840px;
    color: #586375;
    font-size: 17px;
    line-height: 1.78;
}

/* KICKER */
.fertighaus-highlight-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2f7cff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* INLINE BOXES */
.fertighaus-inline-boxes {
    border-bottom: 0;
    padding-bottom: 4px;
}

.fertighaus-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fertighaus-card {
    padding: 28px 26px;
    border: 1px solid #dfe6f2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 32, 60, 0.06);
}

.fertighaus-card-accent {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.fertighaus-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.fertighaus-card p {
    margin-bottom: 18px;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.72;
}

.fertighaus-card .btn {
    margin-top: 4px;
}

.fertighaus-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fertighaus-card ul li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 26px;
    color: #1d2433;
    font-size: 15px;
    line-height: 1.65;
}

.fertighaus-card ul li:last-child {
    margin-bottom: 0;
}

.fertighaus-card ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    top: 0;
    color: #2f7cff;
    font-weight: 800;
}

/* MEDIA BLOCK */
.fertighaus-media-block {
    border-bottom: 0;
    padding-bottom: 8px;
}

.fertighaus-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 34px;
    align-items: center;
}

.fertighaus-media-text,
.fertighaus-media-image {
    min-width: 0;
}

.fertighaus-media-image img,
.fertighaus-media-image video,
.fertighaus-media-placeholder img,
.fertighaus-media-placeholder video {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    border-radius: 28px;
    border: 1px solid #dfe6f2;
    box-shadow: 0 18px 38px rgba(18, 32, 60, 0.08);
    background: #eef4fb;
}

/* HIGHLIGHT */
.fertighaus-highlight {
    border-bottom: 0;
    margin-bottom: 46px;
    padding-bottom: 0;
}

.fertighaus-highlight-box {
    padding: 34px 34px;
    border: 1px solid #dfe6f2;
    border-radius: 28px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 18px 38px rgba(18, 32, 60, 0.06);
}

/* PILLARS */
.fertighaus-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fertighaus-pillar-card {
    position: relative;
    padding: 28px 24px 24px;
    border: 1px solid #dfe6f2;
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(47,124,255,0.08), transparent 34%), #ffffff;
    box-shadow: 0 16px 34px rgba(18, 32, 60, 0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    min-width: 0;
}

.fertighaus-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(18, 32, 60, 0.09);
}

.fertighaus-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: #edf4ff;
    font-size: 24px;
    box-shadow: inset 0 0 0 1px rgba(47,124,255,0.08);
}

.fertighaus-pillar-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.24;
}

.fertighaus-pillar-card p {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
}

/* METHOD GRID */
.fertighaus-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fertighaus-method-card {
    position: relative;
    padding: 24px;
    border: 1px solid #dfe6f2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 32, 60, 0.05);
    min-height: 100%;
    min-width: 0;
}

.fertighaus-method-card::before {
    content: "";
    display: block;
    width: 52px;
    height: 6px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f7cff 0%, #8ab6ff 100%);
}

.fertighaus-method-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.24;
}

.fertighaus-method-card p {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.72;
}

/* LIST GRID */
.fertighaus-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fertighaus-list-card {
    padding: 24px;
    border: 1px solid #dfe6f2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 32, 60, 0.06);
}

.fertighaus-list-card .fertighaus-list {
    margin-top: 16px;
}

/* LISTS */
.fertighaus-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.fertighaus-list li {
    position: relative;
    margin: 0 0 12px;
    padding: 14px 16px 14px 52px;
    border: 1px solid #dfe6f2;
    border-radius: 18px;
    background: #f8fbff;
    color: #1d2433;
    font-size: 16px;
    line-height: 1.65;
    box-shadow: 0 8px 20px rgba(18, 32, 60, 0.04);
}

.fertighaus-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #edf4ff;
    color: #2f7cff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TYPE GRID */
.fertighaus-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fertighaus-type-card {
    padding: 24px;
    border: 1px solid #dfe6f2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(18, 32, 60, 0.06);
    min-width: 0;
}

.fertighaus-type-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.26;
    color: #1d2433;
}

.fertighaus-type-card p {
    margin: 0;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.72;
    color: #586375;
}

/* STEPS */
.fertighaus-steps-visual {
    border-bottom: 0;
    padding-bottom: 8px;
}

.steps-creative-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.step-creative {
    position: relative;
    padding: 26px;
    border: 1px solid #dfe6f2;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 34px rgba(18, 32, 60, 0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.step-creative:hover {
    transform: translateY(-3px);
    border-color: #c9d9f5;
    box-shadow: 0 20px 40px rgba(18, 32, 60, 0.08);
}

.step-creative__top {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.step-creative__number {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, #2f7cff 0%, #1968f1 100%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(47, 124, 255, 0.18);
}

.step-creative__top h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.28;
}

.step-creative__media {
    margin-bottom: 18px;
}

.step-creative__media img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center center;
    border-radius: 22px;
}

.step-creative p {
    margin: 0;
    max-width: 100%;
    color: #586375;
    font-size: 16px;
    line-height: 1.72;
}

/* TIMELINE */
.fertighaus-timeline {
    position: relative;
    margin-top: 38px;
    padding: 8px 0 8px;
}

.fertighaus-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(47, 124, 255, 0.08) 0%, rgba(47, 124, 255, 0.40) 16%, rgba(47, 124, 255, 0.20) 100%);
    border-radius: 999px;
}

.fertighaus-step-card {
    position: relative;
    width: calc(50% - 42px);
    margin-bottom: 26px;
    padding: 24px 24px 22px 88px;
    border: 1px solid #dfe6f2;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(18, 32, 60, 0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.fertighaus-step-card:last-child {
    margin-bottom: 0;
}

.fertighaus-step-card:hover {
    transform: translateY(-3px);
    border-color: #c9d9f5;
    box-shadow: 0 22px 42px rgba(18, 32, 60, 0.09);
}

.fertighaus-step-card:nth-child(odd) {
    margin-right: auto;
}

.fertighaus-step-card:nth-child(even) {
    margin-left: auto;
}

.fertighaus-step-card::before {
    content: "";
    position: absolute;
    top: 36px;
    width: 42px;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 124, 255, 0.20), rgba(47, 124, 255, 0.55));
}

.fertighaus-step-card:nth-child(odd)::before {
    right: -42px;
}

.fertighaus-step-card:nth-child(even)::before {
    left: -42px;
}

.fertighaus-step-card::after {
    content: "";
    position: absolute;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2f7cff;
    box-shadow: 0 0 0 10px rgba(47, 124, 255, 0.12);
}

.fertighaus-step-card:nth-child(odd)::after {
    right: -50px;
}

.fertighaus-step-card:nth-child(even)::after {
    left: -50px;
}

.fertighaus-step-number {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(180deg, #2f7cff 0%, #1968f1 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    box-shadow: 0 12px 24px rgba(47, 124, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fertighaus-step-content h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.28;
    color: #1d2433;
}

.fertighaus-step-content p {
    margin: 0;
    max-width: 100%;
    color: #586375;
    font-size: 16px;
    line-height: 1.72;
}

.fertighaus-step-card:nth-child(1),
.fertighaus-step-card:nth-child(4) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.fertighaus-step-card:nth-child(2) {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.fertighaus-step-card:nth-child(3) {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

/* CONTACT */
.fertighaus-contact-section {
    border-bottom: 0;
    padding-bottom: 4px;
}

/* FAQ */
.fertighaus-faq {
    margin-top: 10px;
}

.faq-item {
    padding: 24px 26px;
    margin-bottom: 16px;
    border: 1px solid #dfe6f2;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(18, 32, 60, 0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin-top: 0;
}

.faq-item p {
    max-width: 100%;
    margin-bottom: 0;
}

/* LARGE DESKTOP */
@media (min-width: 1440px) {
    .fertighaus-pillars-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* LAPTOP / COMPACT */
@media (min-width: 992px) and (max-height: 900px) {
    .fertighaus-shell {
        width: min(1280px, calc(100% - 96px));
    }

    .fertighaus-hero,
    .fertighaus-hero .fertighaus-shell,
    .fertighaus-hero-grid,
    .fertighaus-hero-media img,
    .fertighaus-hero-media video {
        min-height: 720px;
    }

    .fertighaus-hero__inner {
        max-width: 760px;
        padding: 180px 0 24px;
    }

    .fertighaus-hero .subheadline {
        min-height: 32px;
        padding: 0 12px;
        margin-bottom: 14px;
        font-size: 10px;
    }

    .fertighaus-hero h1 {
        margin: 0 0 14px;
        max-width: 20ch;
        font-size: clamp(34px, 3.3vw, 52px);
        line-height: 0.98;
    }

    .fertighaus-hero .intro {
        max-width: 720px;
        font-size: 15px;
        line-height: 1.58;
    }

    .fertighaus-hero .region {
        margin-top: 14px;
        font-size: 13px;
    }

    .fertighaus-hero__badges {
        gap: 8px;
        margin-top: 16px;
    }

    .fertighaus-hero__badges span {
        min-height: 32px;
        padding: 0 12px;
        font-size: 11px;
    }

    .fertighaus-hero__actions {
        gap: 10px;
        margin-top: 18px;
    }

    .fertighaus-page .btn {
        min-height: 42px;
        padding: 0 16px;
        border-radius: 14px;
        font-size: 13px;
    }

    .page-template-page-innenausbau-fertighaus .service-overview-nav {
        padding-top: 44px;
        padding-bottom: 24px;
    }

    .fertighaus-content {
        padding: 58px 0 70px;
    }

    .fertighaus-section {
        padding: 0 0 28px;
        margin-bottom: 28px;
    }

    .fertighaus-section h2,
    .fertighaus-faq h2 {
        margin: 0 0 12px;
        font-size: clamp(24px, 2vw, 34px);
        line-height: 1.08;
        max-width: 26ch;
    }

    .fertighaus-section h3,
    .fertighaus-card h3,
    .fertighaus-type-card h3,
    .faq-item h3 {
        margin: 0 0 10px;
        font-size: 19px;
        line-height: 1.25;
    }

    .fertighaus-section p,
    .fertighaus-card p,
    .fertighaus-type-card p,
    .faq-item p {
        margin: 0 0 12px;
        max-width: 820px;
        font-size: 15px;
        line-height: 1.58;
    }

    .fertighaus-highlight-box {
        padding: 24px 22px;
        border-radius: 22px;
    }

    .fertighaus-highlight-kicker {
        min-height: 32px;
        padding: 0 12px;
        margin-bottom: 12px;
        font-size: 11px;
    }

    .fertighaus-media-grid {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 24px;
    }

    .fertighaus-media-image img,
    .fertighaus-media-image video,
    .fertighaus-media-placeholder img,
    .fertighaus-media-placeholder video {
        height: 340px;
        border-radius: 22px;
    }

    .fertighaus-inline-grid,
    .fertighaus-list-grid,
    .fertighaus-type-grid,
    .fertighaus-pillars-grid,
    .fertighaus-method-grid,
    .steps-creative-grid {
        gap: 14px;
        margin-top: 18px;
    }

    .fertighaus-card,
    .fertighaus-list-card,
    .fertighaus-type-card,
    .fertighaus-pillar-card,
    .fertighaus-method-card,
    .step-creative,
    .faq-item {
        padding: 18px;
        border-radius: 20px;
    }

    .fertighaus-pillar-icon,
    .step-creative__number {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        margin-bottom: 14px;
        font-size: 18px;
        flex-basis: 46px;
    }

    .fertighaus-timeline {
        margin-top: 28px;
    }

    .fertighaus-step-card {
        padding: 18px 18px 18px 78px;
        border-radius: 20px;
    }

    .fertighaus-step-number {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 16px;
    }
}

/* TABLET */
@media (max-width: 991px) {
    .page-template-page-innenausbau-fertighaus .service-overview-nav {
        padding-top: 38px;
        padding-bottom: 26px;
    }

    .fertighaus-section h2,
    .fertighaus-faq h2 {
        max-width: 100%;
        font-size: clamp(26px, 6vw, 38px);
    }

    .fertighaus-hero {
        min-height: 720px;
    }

    .fertighaus-hero .fertighaus-shell,
    .fertighaus-hero-grid {
        min-height: 720px;
    }

    .fertighaus-hero-media {
        min-height: 720px;
    }

    .fertighaus-hero-media img,
    .fertighaus-hero-media video {
        min-height: 720px;
    }

    .fertighaus-hero__inner {
        max-width: 100%;
        padding: 150px 0 44px;
    }

    .fertighaus-hero .subheadline {
        min-height: 34px;
        padding: 0 12px;
        margin-bottom: 14px;
        font-size: 10px;
    }

    .fertighaus-hero h1 {
        max-width: 15ch;
        margin: 0 0 16px;
        font-size: clamp(34px, 5.9vw, 46px);
        line-height: 0.98;
        letter-spacing: -0.04em;
    }

    .fertighaus-hero .intro {
        max-width: 720px;
        font-size: 15px;
        line-height: 1.62;
    }

    .fertighaus-hero__badges {
        gap: 8px;
        margin-top: 18px;
    }

    .fertighaus-hero__badges span {
        min-height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }

    .fertighaus-hero__actions {
        gap: 10px;
        margin-top: 18px;
    }

    .fertighaus-page .btn {
        min-height: 44px;
        padding: 0 16px;
        border-radius: 14px;
        font-size: 13px;
    }

    .fertighaus-hero .region {
        margin-top: 16px;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.55;
    }

    .fertighaus-inline-grid,
    .fertighaus-type-grid,
    .fertighaus-list-grid,
    .steps-creative-grid,
    .fertighaus-media-grid,
    .fertighaus-pillars-grid,
    .fertighaus-method-grid {
        grid-template-columns: 1fr;
    }

    .fertighaus-timeline::before {
        left: 25px;
        transform: none;
    }

    .fertighaus-step-card,
    .fertighaus-step-card:nth-child(odd),
    .fertighaus-step-card:nth-child(even) {
        width: calc(100% - 58px);
        margin-left: auto;
        margin-right: 0;
    }

    .fertighaus-step-card {
        padding: 22px 20px 22px 82px;
    }

    .fertighaus-step-card::before,
    .fertighaus-step-card:nth-child(odd)::before,
    .fertighaus-step-card:nth-child(even)::before {
        left: -34px;
        right: auto;
        width: 34px;
        top: 34px;
    }

    .fertighaus-step-card::after,
    .fertighaus-step-card:nth-child(odd)::after,
    .fertighaus-step-card:nth-child(even)::after {
        left: -42px;
        right: auto;
        top: 26px;
    }
}

/* MOBILE */
@media (max-width: 640px) {
    .fertighaus-page .btn {
        width: 100%;
    }

    .fertighaus-hero {
        min-height: 720px;
        padding-top: 118px;
    }

    .fertighaus-hero .fertighaus-shell,
    .fertighaus-hero-grid {
        min-height: 720px;
    }

    .fertighaus-hero-media {
        top: 60px;
        bottom: 0;
        left: 50%;
        width: 100vw;
        margin-left: -50vw;
        min-height: auto;
    }

    .fertighaus-hero-media img,
    .fertighaus-hero-media video {
        min-height: 720px;
        height: 100%;
        object-position: center center;
    }

    .fertighaus-hero__inner {
        max-width: 100%;
        padding: 0 0 44px;
    }

    .fertighaus-hero h1 {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.04;
        margin-bottom: 14px;
    }

    .fertighaus-hero .intro {
        font-size: 15px;
        line-height: 1.62;
        max-width: 100%;
    }

    .fertighaus-hero .subheadline {
        min-height: 34px;
        padding: 0 12px;
        margin-bottom: 14px;
        font-size: 10px;
    }

    .fertighaus-hero .region {
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.5;
        color: #ffffff;
        text-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
    }

    .fertighaus-hero__badges {
        display: none;
    }

    .fertighaus-hero__actions {
        flex-direction: column;
        margin-top: 18px;
    }

    .page-template-page-innenausbau-fertighaus .service-overview-nav {
        padding-top: 24px;
        padding-bottom: 20px;
    }

    .page-template-page-innenausbau-fertighaus .service-overview-nav__head h2,
    .page-template-page-innenausbau-fertighaus .service-overview-nav__head p {
        display: none;
    }

    .page-template-page-innenausbau-fertighaus .service-overview-nav__head {
        margin-bottom: 12px;
    }

    .fertighaus-section p,
    .fertighaus-card p,
    .fertighaus-type-card p,
    .faq-item p,
    .fertighaus-list-card p,
    .fertighaus-pillar-card p,
    .fertighaus-method-card p,
    .fertighaus-step-content p,
    .step-creative p {
        font-size: 15px;
        line-height: 1.72;
    }

    .fertighaus-list li {
        font-size: 15px;
        padding: 13px 14px 13px 48px;
    }

    .fertighaus-card,
    .fertighaus-type-card,
    .fertighaus-list-card,
    .fertighaus-pillar-card,
    .fertighaus-method-card,
    .step-creative,
    .faq-item {
        padding: 20px;
        border-radius: 20px;
    }

    .fertighaus-highlight-box {
        padding: 22px;
        border-radius: 22px;
    }

    .fertighaus-media-image img,
    .fertighaus-media-image video,
    .fertighaus-media-placeholder img,
    .fertighaus-media-placeholder video {
        height: 300px;
        border-radius: 22px;
    }

    .step-creative__top {
        align-items: flex-start;
    }

    .step-creative__number,
    .fertighaus-pillar-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 20px;
        flex-basis: 48px;
    }

    .step-creative__top h3 {
        font-size: 20px;
    }

    .step-creative__media img {
        height: 240px;
        border-radius: 18px;
    }

    .fertighaus-timeline {
        margin-top: 28px;
    }

    .fertighaus-step-card,
    .fertighaus-step-card:nth-child(odd),
    .fertighaus-step-card:nth-child(even) {
        width: calc(100% - 44px);
    }

    .fertighaus-step-card {
        padding: 18px 18px 18px 72px;
        border-radius: 20px;
        margin-bottom: 18px;
    }

    .fertighaus-step-number {
        width: 40px;
        height: 40px;
        left: 16px;
        top: 16px;
        border-radius: 13px;
        font-size: 16px;
    }

    .fertighaus-step-content h3 {
        font-size: 18px;
        margin: 0 0 8px;
    }

    .fertighaus-step-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .fertighaus-timeline::before {
        left: 19px;
    }

    .fertighaus-step-card::before,
    .fertighaus-step-card:nth-child(odd)::before,
    .fertighaus-step-card:nth-child(even)::before {
        left: -24px;
        width: 24px;
    }

    .fertighaus-step-card::after,
    .fertighaus-step-card:nth-child(odd)::after,
    .fertighaus-step-card:nth-child(even)::after {
        left: -31px;
        width: 12px;
        height: 12px;
        box-shadow: 0 0 0 6px rgba(47, 124, 255, 0.12);
    }
}