/* =========================================================
   FUN4PRINT STARTSEITE – BEREINIGT
   Desktop / Tablet / Smartphone
   ========================================================= */

.f4p-home {
    position: relative;
    color: #070066;
    font-family: Helvetica, Arial, sans-serif;

    --f4p-content-width: 1284px;
}

/* =========================================================
   HERO
   ========================================================= */

/* Inhalt liegt über dem vollflächigen Hintergrundbild */

.f4p-home .f4p-newhero-left {
    position: relative;
    z-index: 6;

    width: 49%;
    max-width: 625px;

    margin: 0;
    padding: 0;

    left: 15px;
}

/* =========================================================
   MEISTERSIEGEL
   ========================================================= */

.f4p-home .f4p-newhero-meister {
    position: absolute;

    z-index: 10;

    top: 20px;
    left: 650px;

    width: 190px;
    height: auto;

    transform: none;

    filter: drop-shadow(0 6px 9px rgba(0,0,0,.28));
}

/* =========================================================
   HERO – H1
   ========================================================= */

/* Idee • Druck • Veredelung • Realisierung */
.f4p-home .f4p-process-line {
    display: flex;
    align-items: center;
    justify-content: space-between;

    /* ungefähr Breite von "Modernste Drucktechnik" */
    width: 600px;
    max-width: 100%;

    /* mehr Abstand zum grauen Block oben */
    margin: 18px 0 18px 0;
    padding: 0;

    color: #070066;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .2px;
}

.f4p-home .f4p-process-dot {
    color: #960101;
    font-size: 21px;
    line-height: 1;
    font-weight: 700;
}

/* =========================================================
   HELLER BEREICH HINTER H1
   ========================================================= */

.f4p-home .f4p-main-title {
    position: relative;
    z-index: 6;

    width: 930px;
    max-width: none;

    /* links etwas vor den Text ziehen */
    margin-left: -55px;

    /* Text bleibt optisch an bisheriger Position */
    padding: 10px 210px 12px 55px;

    box-sizing: border-box;

    background: linear-gradient(
        to right,

        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.28) 3%,
        rgba(255,255,255,.65) 6%,
        rgba(255,255,255,.92) 10%,
        rgba(255,255,255,1) 14%,

        rgba(255,255,255,1) 58%,
        rgba(255,255,255,.96) 67%,
        rgba(255,255,255,.84) 76%,
        rgba(255,255,255,.62) 84%,
        rgba(255,255,255,.38) 90%,
        rgba(255,255,255,.16) 96%,
        rgba(255,255,255,0) 100%
    );

    border-radius: 0;
}

.f4p-home .f4p-main-title span {
    display: block;
    white-space: nowrap;
}

.f4p-home .f4p-title-blue {
    color: #070066;
    font-size: clamp(40px, 4.1vw, 56px);
}

.f4p-home .f4p-title-cyan {
    color: #0789d1;
    font-size: clamp(35px, 3.65vw, 50px);
}

/* =========================================================
   HERO – STANDORT
   ========================================================= */

.f4p-home .f4p-location-line {
    margin: 0 0 18px;

    color: #070066;
    font-family: Helvetica, Arial, sans-serif;
    text-align: left;
}

.f4p-home .f4p-location-line span {
    display: block;
}

.f4p-home .f4p-location-main {
    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-home .f4p-location-place {
    margin-top: 2px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 600;
}

/* =========================================================
   HERO – TEXTE
   ========================================================= */

.f4p-home .f4p-newhero-text {
    max-width: 590px;
    margin: 0 0 15px;

    color: #070066;
    font-size: 17px;
    line-height: 1.42;
    text-align: left;
}

.f4p-home .f4p-region {
    margin: 0;

    color: #070066;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
}

.f4p-home .f4p-region-second {
    margin-top: 2px;
}

.f4p-home .f4p-fullservice {
    margin: 13px 0 24px;

    color: #070066;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
}

/* =========================================================
   HERO – VORTEILE
   ========================================================= */

.f4p-home .f4p-newhero-benefits {
    display: flex;
    align-items: center;
    gap: 34px;

    margin-bottom: 70px;
}

.f4p-home .f4p-benefit {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #070066;
    font-size: 15px;
    line-height: 1.12;
}

.f4p-home .f4p-benefit > span,
.f4p-home .f4p-benefit-text {
    display: flex;
    flex-direction: column;
}

.f4p-home .f4p-benefit strong,
.f4p-home .f4p-benefit-text strong {
    display: block;

    color: #070066;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
}

.f4p-home .f4p-benefit-icon-img {
    display: block !important;

    width: 50px !important;
    height: 50px !important;

    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50%;
    object-fit: cover;
}

/* =========================================================
   HERO-HINTERGRUND – FINAL
   ========================================================= */

.f4p-home .f4p-newhero {
    position: relative;

    width: calc(100% - 80px);
    max-width: var(--f4p-content-width);

    min-height: 500px;

    margin: 0 auto;
    padding: 0;

    overflow: visible;
}

/* =========================================================
   HERO-HINTERGRUND
   ========================================================= */

.f4p-home .f4p-newhero::before {
    content: "";
    position: absolute;
    z-index: 1;

    top: -18px;
    left: 0;

    width: 100%;
    height: 735px;

    background-image: url("/images/Bilder/fun4print-hero-printmotiv.png");
    background-repeat: no-repeat;
    background-size: 100% 735px;
    background-position: center top;

    pointer-events: none;


/* ==========================================
   HERO-BILD – WEICHE ÜBERGÄNGE
   LINKS, RECHTS, OBEN UND UNTEN
   ========================================== */

-webkit-mask-image:
    linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,.45) 1%,
        rgba(0,0,0,.78) 2.5%,
        rgba(0,0,0,.95) 4.5%,
        #000 6%,
        #000 84%,
        rgba(0,0,0,.88) 89%,
        rgba(0,0,0,.58) 94%,
        rgba(0,0,0,.25) 97%,
        transparent 100%
    ),
    linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.25) 3%,
        rgba(0,0,0,.55) 6%,
        rgba(0,0,0,.80) 9%,
        rgba(0,0,0,.95) 12%,
        #000 16%,
        #000 68%,
        rgba(0,0,0,.95) 74%,
        rgba(0,0,0,.78) 81%,
        rgba(0,0,0,.52) 88%,
        rgba(0,0,0,.25) 94%,
        transparent 100%
    );

-webkit-mask-composite: source-in;

mask-image:
    linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,.45) 1%,
        rgba(0,0,0,.78) 2.5%,
        rgba(0,0,0,.95) 4.5%,
        #000 6%,
        #000 84%,
        rgba(0,0,0,.88) 89%,
        rgba(0,0,0,.58) 94%,
        rgba(0,0,0,.25) 97%,
        transparent 100%
    ),
    linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.25) 3%,
        rgba(0,0,0,.55) 6%,
        rgba(0,0,0,.80) 9%,
        rgba(0,0,0,.95) 12%,
        #000 16%,
        #000 68%,
        rgba(0,0,0,.95) 74%,
        rgba(0,0,0,.78) 81%,
        rgba(0,0,0,.52) 88%,
        rgba(0,0,0,.25) 94%,
        transparent 100%
    );

mask-composite: intersect;

}
/*
 * Das große Bild aus dem HTML darf NICHT
 * zusätzlich angezeigt werden.
 */

/*
 * Kein weißer Zusatzverlauf.
 * Der Papierhintergrund kommt durch die
 * Transparenz des ::before selbst hindurch.
 */
.f4p-home .f4p-newhero::after,
.f4p-home .f4p-newhero-right::after {
    display: none !important;
}

/* =========================================================
   PRODUKTÜBERSCHRIFT + ANFRAGE
   ========================================================= */

.f4p-home .f4p-products-head {
    display: flex;
    align-items: stretch;
    justify-content: space-between;

    width: calc(100% - 80px);
    max-width: var(--f4p-content-width);

    margin: 0 auto 22px;
    padding: 0;

    box-sizing: border-box;
}

.f4p-home .f4p-products-title {
    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: left;
}

.f4p-home .f4p-products-title h2 {
    margin: 0 0 4px;

    color: #070066;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 700;
}

.f4p-home .f4p-products-title p {
    margin: 0;

    color: #960101;

    font-family: Helvetica, Arial, sans-serif; cursive;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.f4p-home .f4p-anfrage-button {
    display: flex;
    align-items: center;
    justify-content: center;

    align-self: stretch;

    width: 190px;
    min-height: 64px;

    padding: 0 28px;
    box-sizing: border-box;

    /* Blau – Weiß – Blau */
    background: #070066;
    border: 3px solid #ffffff;
    border-radius: 34px;

    color: #ffffff !important;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;

    text-decoration: none !important;

    box-shadow:
        0 0 0 4px #070066,
        0 6px 14px rgba(0,0,0,.28);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.f4p-home .f4p-anfrage-button:hover {
    background: #070066;
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 0 0 4px #070066,
        0 8px 18px rgba(0,0,0,.34);
}

/* =========================================================
   SEKTIONEN / STANDARDTEXTE
   ========================================================= */

.f4p-home .f4p-section {
    padding: 10px 20px 40px;
}
/* =========================================================
   PRODUKTKACHELN
   ========================================================= */

.f4p-home .f4p-products {
    position: relative;
    z-index: 5;

    margin-top: 40px;
    padding-top: 0;
}

.f4p-home .f4p-product-row {
    display: grid;
    gap: 22px;

    width: calc(100% - 80px);
    max-width: var(--f4p-content-width);

    margin: 0 auto 22px;
}

.f4p-home .f4p-product-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.f4p-home .f4p-product-row-3 {
    grid-template-columns: repeat(3, 1fr);

    width: calc(75% - 15px);
    max-width: 1335px;
}
.f4p-home .f4p-product-card {
    position: relative;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(0,0,0,.12);

    box-shadow:
        0 5px 10px rgba(0,0,0,.42),
        0 12px 24px rgba(0,0,0,.28);

    transition:
        box-shadow .3s ease,
        transform .3s ease;
}

.f4p-home .f4p-product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 16px rgba(0,0,0,.50),
        0 18px 32px rgba(0,0,0,.34);
}

.f4p-home .f4p-product-card a {
    display: flex;
    flex-direction: column;
    position: relative;

    width: 100%;

    color: inherit;
    text-decoration: none !important;
}

.f4p-home .f4p-product-card img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 305 / 160;

    object-fit: cover;
    object-position: center;

    margin: 0;
    padding: 0;
}

.f4p-home .f4p-product-name {
    width: 100%;
    height: 58px;
    min-height: 58px;

    box-sizing: border-box;

    margin: 0;
    padding: 7px 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #070066;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
}

.f4p-home .f4p-product-overlay {
    position: absolute;
    inset: 3px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 14px 18px;

    background: rgba(7,0,102,.95);
    color: #ffffff;
    text-align: center;

    font-size: 14px;
    line-height: 1.15;
    font-weight: 700;

    opacity: 0;

    transition: opacity .25s ease;
}

.f4p-home .f4p-product-card:hover .f4p-product-overlay {
    opacity: 1;
}

.f4p-home .f4p-product-overlay h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.12;
    font-weight: 700;
}

.f4p-home .f4p-product-overlay p {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.18;
    font-weight: 400;
}

/* =========================================================
   SOFTCOVER-KALKULATION
   ========================================================= */

.f4p-home .f4p-calculator-wrap {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 40px auto 35px;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 30;
}

.f4p-home .f4p-calculator-bubble {
    position: relative;

    width: 260px;
    height: 260px;
    flex: 0 0 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 24px;

    background: #ffffff;
    border: 7px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 7px 14px rgba(0,0,0,.44),
        0 18px 34px rgba(0,0,0,.30);

    color: #070066 !important;
    text-align: center;
    text-decoration: none !important;

    z-index: 40;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.f4p-home .f4p-calculator-bubble:hover {
    transform: scale(1.06);

    box-shadow:
        0 10px 20px rgba(0,0,0,.50),
        0 22px 42px rgba(0,0,0,.35);
}

.f4p-home .f4p-calculator-icon {
    display: block;
    margin-bottom: 5px;
    font-size: 38px;
    line-height: 1;
}

.f4p-home .f4p-calculator-small {
    display: block;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-home .f4p-calculator-bubble strong {
    display: block;
    margin: 3px 0;
    color: #070066;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
}

.f4p-home .f4p-calculator-title {
    display: block;
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-home .f4p-calculator-button {
    display: inline-block;
    padding: 8px 16px;
    background: #070066;
    border-radius: 22px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .f4p-home .f4p-newhero-inner {
        min-height: 500px;
        padding-left: 38px;
        padding-right: 38px;
    }

    .f4p-home .f4p-newhero-left {
        width: 58%;
    }

    .f4p-home .f4p-title-blue {
        font-size: clamp(38px, 4vw, 46px);
    }

    .f4p-home .f4p-title-cyan {
        font-size: clamp(33px, 3.55vw, 41px);
    }

    .f4p-home .f4p-location-main {
        font-size: 22px;
    }

    .f4p-home .f4p-location-place {
        font-size: 19px;
    }

    .f4p-home .f4p-newhero-text {
        max-width: 520px;
        font-size: 16px;
    }

    .f4p-home .f4p-newhero-benefits {
        gap: 20px;
    }

    .f4p-home .f4p-benefit-icon-img {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
    }

    .f4p-home .f4p-newhero-meister {
        left: 55%;
        width: 130px;
    }

    .f4p-home .f4p-products-head {
        padding-left: 38px;
        padding-right: 38px;
    }

    .f4p-home .f4p-product-row {
        max-width: calc(100% - 76px);
    }

    .f4p-home .f4p-product-row-3 {
        max-width: calc(75% - 57px);
    }
}

/* =========================================================
   SMARTPHONE – HERO BIS ERSTE KACHELREIHE
   ========================================================= */

@media (max-width: 767px) {

    /* ---------------------------------------------------------
       Gemeinsame Breite
       --------------------------------------------------------- */

    .f4p-home .f4p-newhero,
    .f4p-home .f4p-products-head,
    .f4p-home .f4p-product-row {
        width: calc(100% - 32px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    /* ---------------------------------------------------------
       HERO
       --------------------------------------------------------- */

    .f4p-home .f4p-newhero {
        min-height: 0;

        margin-top: 0;
        padding: 0;

        overflow: visible;
    }

    /*
     * Hintergrund auf Smartphone:
     * komplette Hero-Höhe plus Übergang
     * bis zur Produktüberschrift.
     */
    .f4p-home .f4p-newhero::before {
        top: -18px;
        left: 0;

        width: 100%;
        height: calc(100% + 95px);

        background-size: auto 100%;
        background-position: 58% top;
        background-repeat: no-repeat;

        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.45) 5%,
                rgba(0,0,0,.82) 10%,
                #000 16%,
                #000 90%,
                rgba(0,0,0,.60) 96%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                #000 0%,
                #000 78%,
                rgba(0,0,0,.92) 84%,
                rgba(0,0,0,.65) 90%,
                rgba(0,0,0,.30) 95%,
                transparent 100%
            );

        -webkit-mask-composite: source-in;

        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.45) 5%,
                rgba(0,0,0,.82) 10%,
                #000 16%,
                #000 90%,
                rgba(0,0,0,.60) 96%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                #000 0%,
                #000 78%,
                rgba(0,0,0,.92) 84%,
                rgba(0,0,0,.65) 90%,
                rgba(0,0,0,.30) 95%,
                transparent 100%
            );

        mask-composite: intersect;
    }

    /* ---------------------------------------------------------
       HERO-INHALT
       --------------------------------------------------------- */

    .f4p-home .f4p-newhero-inner {
        position: relative;
        z-index: 5;

        width: 100%;
        min-height: 0;

        margin: 0;
        padding: 24px 0 32px;

        box-sizing: border-box;
    }

    .f4p-home .f4p-newhero-left {
        position: relative;
        z-index: 6;

        left: 0;

        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;

        text-align: left;
    }

    /* ---------------------------------------------------------
       IDEE • DRUCK • VEREDELUNG • REALISIERUNG
       --------------------------------------------------------- */

    .f4p-home .f4p-process-line {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        max-width: none;

        margin: 5px 0 15px;
        padding: 0;

        font-size: 13px;
        line-height: 1;
        font-weight: 700;

        white-space: nowrap;
    }

    .f4p-home .f4p-process-dot {
        font-size: 17px;
    }

    /* ---------------------------------------------------------
       H1 + WEISSER VERLAUF
       --------------------------------------------------------- */

    .f4p-home .f4p-main-title {
        position: relative;
        z-index: 6;

        /*
         * Verlauf etwas über die rechte Hero-Kante hinaus,
         * links exakt bündig.
         */
        width: calc(100% + 16px);
        max-width: none;

        margin: 0 0 17px 0;
        padding: 9px 22px 11px 0;

        box-sizing: border-box;

        text-align: left;

        background: linear-gradient(
            to right,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,1) 55%,
            rgba(255,255,255,.94) 68%,
            rgba(255,255,255,.75) 80%,
            rgba(255,255,255,.44) 90%,
            rgba(255,255,255,.16) 96%,
            rgba(255,255,255,0) 100%
        );
    }

    .f4p-home .f4p-main-title span {
        display: block;
        white-space: normal;
    }

    .f4p-home .f4p-title-blue {
        font-size: clamp(32px, 9vw, 40px);
        line-height: 1.02;
    }

    .f4p-home .f4p-title-cyan {
        margin-top: 2px;

        font-size: clamp(28px, 7.8vw, 35px);
        line-height: 1.04;
    }

    /* ---------------------------------------------------------
       MEISTERSIEGEL
       --------------------------------------------------------- */

    .f4p-home .f4p-newhero-meister {
        top: 72px;
        right: 2px;
        left: auto;
        bottom: auto;

        width: 92px;

        transform: none;

        opacity: .97;
    }

    /* ---------------------------------------------------------
       STANDORT
       --------------------------------------------------------- */

    .f4p-home .f4p-location-line {
        max-width: calc(100% - 78px);

        margin: 0 0 14px;

        text-align: left;
    }

    .f4p-home .f4p-location-main {
        font-size: 21px;
        line-height: 1.12;
    }

    .f4p-home .f4p-location-place {
        margin-top: 3px;

        font-size: 18px;
        line-height: 1.18;
    }

    /* ---------------------------------------------------------
       BESCHREIBUNG
       --------------------------------------------------------- */

    .f4p-home .f4p-newhero-text {
        max-width: 100%;

        margin: 0 0 13px;

        font-size: 15px;
        line-height: 1.4;

        text-align: left;
    }

    .f4p-home .f4p-region {
        margin: 0;

        font-size: 14px;
        line-height: 1.32;

        text-align: left;
    }

    .f4p-home .f4p-region-second {
        margin-top: 2px;
    }

    .f4p-home .f4p-fullservice {
        margin: 12px 0 22px;

        font-size: 15px;
        line-height: 1.3;

        text-align: left;
    }

    /* ---------------------------------------------------------
       VORTEILE
       --------------------------------------------------------- */

    .f4p-home .f4p-newhero-benefits {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        width: 100%;

        gap: 10px;

        margin: 0 0 50px;
    }

    .f4p-home .f4p-benefit {
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 6px;

        min-width: 0;

        font-size: 12px;
        line-height: 1.12;

        text-align: center;
    }

    .f4p-home .f4p-benefit > span,
    .f4p-home .f4p-benefit-text {
        display: block;
        text-align: center;
    }

    .f4p-home .f4p-benefit strong,
    .f4p-home .f4p-benefit-text strong {
        font-size: 13px;
        line-height: 1.1;
    }

    .f4p-home .f4p-benefit-icon-img {
        width: 44px !important;
        height: 44px !important;

        min-width: 44px !important;
        max-width: 44px !important;

        min-height: 44px !important;
        max-height: 44px !important;
    }

    /* ---------------------------------------------------------
       PRODUKTÜBERSCHRIFT
       --------------------------------------------------------- */

    .f4p-home .f4p-products {
        margin-top: 15px;
    }

    .f4p-home .f4p-products-head {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 16px;

        margin-bottom: 20px;
        padding: 0;

        box-sizing: border-box;
    }

    .f4p-home .f4p-products-title {
        width: 100%;
        text-align: left;
    }

    .f4p-home .f4p-products-title h2 {
        margin: 0 0 4px;

        font-size: 29px;
        line-height: 1.08;

        text-align: left;
    }

    .f4p-home .f4p-products-title p {
        margin: 0;

        font-size: 16px;
        line-height: 1.25;

        text-align: left;
    }

    /* Anfragebutton auf Smartphone */
    .f4p-home .f4p-anfrage-button {
        align-self: flex-start;

        width: auto;
        min-width: 180px;
        min-height: 50px;

        padding: 10px 25px;

        border-radius: 27px;

        font-size: 15px;
    }

    /* ---------------------------------------------------------
       ERSTE UND WEITERE KACHELREIHEN
       --------------------------------------------------------- */

    .f4p-home .f4p-product-row-4,
    .f4p-home .f4p-product-row-3 {
        grid-template-columns: 1fr;

        width: calc(100% - 32px);
        max-width: none;

        gap: 20px;
    }

    .f4p-home .f4p-product-card img {
        aspect-ratio: 305 / 160;
    }

    /*
     * Smartphone:
     * Kacheltitel sichtbar lassen.
     * Der Hover-Text wird NICHT dauerhaft darunter gesetzt.
     */
    .f4p-home .f4p-product-name {
        display: flex;

        height: 54px;
        min-height: 54px;

        padding: 7px 10px;

        font-size: 16px;
        line-height: 1.12;
    }

    .f4p-home .f4p-product-overlay {
        display: none;
    }

    .f4p-home .f4p-product-card:hover {
        transform: none;
    }
}

/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 480px) {

    .f4p-home .f4p-title-blue {
        font-size: 31px;
    }

    .f4p-home .f4p-title-cyan {
        font-size: 27px;
    }

    .f4p-home .f4p-location-main {
        font-size: 20px;
    }

    .f4p-home .f4p-location-place {
        font-size: 17px;
    }
}
/* =========================================================
   FUN4PRINT – MODERNER UNTERER HOMEPAGE-BEREICH
   ========================================================= */

/* ---------- Gesamter Bereich ---------- */

.f4p-home .f4p-modern-section {
    width: calc(100% - 80px) !important;
    max-width: 1284px !important;
    margin: 40px auto 0 !important;
    padding: 0 !important;

    font-family: Helvetica, Arial, sans-serif;
}

/* ---------- Einleitung ---------- */

.f4p-home .f4p-modern-intro {
    max-width: 940px;
    margin: 0 auto 50px !important;
    text-align: center;
}

.f4p-home .f4p-modern-kicker {
    margin: 0 0 10px;

    color: #960101;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.f4p-home .f4p-modern-intro h2 {
    margin: 0 0 20px !important;
    padding: 0 !important;

    color: #070066 !important;

    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 42px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
}

.f4p-home .f4p-modern-intro p {
    max-width: 880px;
    margin: 0 auto !important;

    color: #070066 !important;

    font-size: 18px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

.f4p-home .f4p-modern-intro p strong {
    color: #960101 !important;
    font-weight: 700;
}

/* =========================================================
   DREI GROSSE KARTEN
   ========================================================= */

.f4p-home .f4p-modern-card {
    display: grid !important;
    grid-template-columns: 52% 48% !important;

    width: 100% !important;
    min-height: 360px !important;

    margin: 0 0 32px !important;
    padding: 0 !important;

    overflow: hidden;

    background: rgba(255,255,255,.92) !important;

    border: 1px solid rgba(7,0,102,.12);
    border-radius: 18px;

    box-shadow:
        0 6px 16px rgba(0,0,0,.10),
        0 18px 38px rgba(0,0,0,.08);
}

/* zweite Karte spiegeln */

.f4p-home .f4p-modern-card-reverse {
    grid-template-columns: 48% 52% !important;
}

.f4p-home .f4p-modern-card-reverse .f4p-modern-card-image {
    order: 2;
}

.f4p-home .f4p-modern-card-reverse .f4p-modern-card-content {
    order: 1;
}

/* =========================================================
   BILDBEREICH
   ========================================================= */

.f4p-home .f4p-modern-card-image {
    position: relative;

    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #fff;
}

.f4p-home .f4p-modern-card-image > img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
}

/* Digitaldruckmaschine:
   etwas mehr vom gesamten Motiv zeigen */

.f4p-home .f4p-modern-card:first-of-type
.f4p-modern-card-image > img {
    object-fit: contain !important;
    padding: 22px !important;
    box-sizing: border-box;

    background: #fff;
}

/* ---------- Historische Karte ---------- */

/* =========================================================
   KARTE 02 – HISTORISCHER BEREICH
   ZYLINDER OBEN + BILDLEISTE UNTEN
   ========================================================= */

.f4p-home .f4p-modern-history {
    display: grid !important;

    /* oben Maschine / unten Bildleiste */
    grid-template-rows: 245px 95px !important;

    width: 100% !important;
    height: 37px !important;

    overflow: hidden;

    background: #ffffff;
}

/* oberes Zylinderbild */

.f4p-home .f4p-modern-history > img:first-child {
    display: block !important;

    width: 100% !important;
    height: 275px !important;

    margin: 0 !important;
    padding: 14px 20px 8px !important;

    box-sizing: border-box;

    object-fit: contain !important;
    object-position: center center !important;

    background: #ffffff;

    border: 0 !important;
}

/* untere historische Bildleiste */

.f4p-home .f4p-modern-history .f4p-modern-history-strip {
    display: block !important;

    width: 100% !important;
    height: 95px !important;

      margin: 30px 0 0 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border-top: 4px solid #ffffff !important;
}

/* Karte 02 überschreibt die allgemeine Bildhöhe */

.f4p-home .f4p-modern-card-reverse .f4p-modern-card-image {
    height: 370px !important;
    min-height: 370px !important;
}

/* =========================================================
   TEXTBEREICH DER KARTEN
   ========================================================= */

.f4p-home .f4p-modern-card-content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;

    width: auto !important;

    margin: 0 !important;
    padding: 42px 46px !important;

    box-sizing: border-box;
}

.f4p-home .f4p-modern-number {
    display: block;

    margin: 0 0 10px;

    color: #960101 !important;

    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700;

    letter-spacing: 2px;
}

.f4p-home .f4p-modern-card-content h3 {
    margin: 0 0 16px !important;
    padding: 0 !important;

    color: #070066 !important;

    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 29px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
}

.f4p-home .f4p-modern-card-content p {
    margin: 0 !important;
    padding: 0 !important;

    color: #070066 !important;

    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

.f4p-home .f4p-modern-line {
    width: 58px;
    height: 3px;

    margin: 22px 0 16px;

    background: #960101;
}

.f4p-home .f4p-modern-card-content > strong {
    display: block;

    color: #070066 !important;

    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
}

/* =========================================================
   SIE HABEN EINE IDEE
   ========================================================= */

.f4p-home .f4p-idea-section {
    display: grid !important;
    grid-template-columns: 55% 45% !important;

    width: calc(100% - 80px) !important;
    max-width: 1284px !important;

    min-height: 350px;

    margin: 65px auto 80px !important;
    padding: 0 !important;

    overflow: hidden;

    background: #070066 !important;

    border-radius: 20px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.17),
        0 22px 45px rgba(0,0,0,.12);
}

/* ---------- CTA Text ---------- */

.f4p-home .f4p-idea-content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;

    padding: 48px 55px !important;

    box-sizing: border-box;
}

.f4p-home .f4p-idea-kicker {
    display: block;

    margin: 0 0 9px;

    color: rgba(255,255,255,.75) !important;

    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.f4p-home .f4p-idea-content h2 {
    margin: 0 0 9px !important;
    padding: 0 !important;

    color: #fff !important;

    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 40px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
}

.f4p-home .f4p-idea-content p {
    max-width: 530px;

    margin: 0 0 22px !important;

    color: #fff !important;

    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.f4p-home .f4p-idea-content .f4p-idea-lead {
    margin-bottom: 12px !important;

    font-size: 21px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

/* ---------- CTA Button ---------- */

.f4p-home .f4p-idea-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 50px;

    padding: 0 26px;

    background: #fff !important;

    border: 3px solid #fff;
    border-radius: 27px;

    color: #070066 !important;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;

    text-decoration: none !important;

    box-shadow:
        0 0 0 3px rgba(255,255,255,.22),
        0 6px 14px rgba(0,0,0,.22);
}

.f4p-home .f4p-idea-button:hover {
    color: #070066 !important;
    text-decoration: none !important;

    transform: translateY(-2px);
}

/* ---------- CTA Bild ---------- */

.f4p-home .f4p-idea-image,
.f4p-home .f4p-idea-image a {
    display: block !important;

    width: 100%;
    height: 100%;
}

.f4p-home .f4p-idea-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    min-height: 350px;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;
}
/* =========================================================
   MATERIAL & VERARBEITUNG – ICONS
   ========================================================= */

.f4p-home .f4p-material-keywords {
    display: block;
    margin-bottom: 0 !important;
}

/* =========================================================
   MATERIAL – KOMPAKTE ICONLEISTE
   ========================================================= */

.f4p-home .f4p-modern-card-material .f4p-material-benefits {
    grid-column: 1 / -1 !important;
    grid-row: 2;

    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;

    width: 100% !important;
    height: 86px !important;
    min-height: 86px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;

    background: rgba(255,255,255,.96);

    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Jeder der drei Bereiche */

.f4p-home .f4p-modern-card-material .f4p-material-benefit {
    display: flex !important;

    /* vertikal exakt mittig */
    align-items: center !important;

    /* horizontal mittig */
    justify-content: center !important;

    align-self: stretch !important;

    width: 100% !important;
    height: 86px !important;

    gap: 14px;

    margin: 0 !important;
    padding: 0 22px !important;

    box-sizing: border-box;

    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* =========================================================
   NUR SENKRECHTE TRENNLINIEN
   ========================================================= */

.f4p-home .f4p-modern-card-material
.f4p-material-benefit + .f4p-material-benefit {
    position: relative;
    border-left: 0 !important;
}

/* Trennlinie bewusst kürzer als der weiße Bereich */

.f4p-home .f4p-modern-card-material
.f4p-material-benefit + .f4p-material-benefit::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 1px;
    height: 58px;

    background: rgba(7,0,102,.18);

    transform: translateY(-50%);
}

/* =========================================================
   ICONS
   ========================================================= */

.f4p-home .f4p-modern-card-material .f4p-material-benefit img {
    display: block !important;

    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;

    border: 0 !important;
}

/* =========================================================
   TEXTE
   ========================================================= */

.f4p-home .f4p-modern-card-material .f4p-material-benefit span {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    color: #070066;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
}

/* =========================================================
   SICHERHEIT:
   keine zusätzlichen horizontalen Linien
   ========================================================= */

.f4p-home .f4p-modern-card-material .f4p-material-benefits::before,
.f4p-home .f4p-modern-card-material .f4p-material-benefits::after {
    display: none !important;
    content: none !important;
}
/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .f4p-home .f4p-modern-section,
    .f4p-home .f4p-idea-section {
        width: calc(100% - 48px) !important;
    }

    .f4p-home .f4p-modern-card,
    .f4p-home .f4p-modern-card-reverse {
        grid-template-columns: 1fr !important;
    }

    .f4p-home .f4p-modern-card-reverse
    .f4p-modern-card-image,
    .f4p-home .f4p-modern-card-reverse
    .f4p-modern-card-content {
        order: initial;
    }

    .f4p-home .f4p-modern-card-image {
        height: 310px !important;
        min-height: 310px !important;
    }

    .f4p-home .f4p-modern-history {
        grid-template-rows: 225px 85px !important;
        height: 310px !important;
    }

    .f4p-home .f4p-modern-card-content {
        padding: 36px 38px !important;
    }

    .f4p-home .f4p-idea-section {
        grid-template-columns: 1fr !important;
    }

    .f4p-home .f4p-idea-image img {
        height: 300px !important;
        min-height: 300px !important;
    }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .f4p-home .f4p-modern-section,
    .f4p-home .f4p-idea-section {
        width: calc(100% - 28px) !important;
    }

    .f4p-home .f4p-modern-section {
        margin-top: 55px !important;
    }

    .f4p-home .f4p-modern-intro {
        margin-bottom: 30px !important;
        text-align: left;
    }

    .f4p-home .f4p-modern-kicker {
        font-size: 11px !important;
        letter-spacing: 1px;
    }

    .f4p-home .f4p-modern-intro h2 {
        font-size: 30px !important;
        line-height: 1.1 !important;
    }

    .f4p-home .f4p-modern-intro p {
        font-size: 16px !important;
    }

    .f4p-home .f4p-modern-card {
        min-height: 0 !important;
        margin-bottom: 22px !important;
        border-radius: 14px;
    }

    .f4p-home .f4p-modern-card-image {
        height: 230px !important;
        min-height: 230px !important;
    }

    .f4p-home .f4p-modern-history {
        grid-template-rows: 165px 65px !important;
        height: 230px !important;
    }

    .f4p-home .f4p-modern-card-content {
        padding: 28px 24px 31px !important;
    }

    .f4p-home .f4p-modern-card-content h3 {
        font-size: 24px !important;
    }

    .f4p-home .f4p-modern-card-content p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .f4p-home .f4p-modern-card-content > strong {
        font-size: 12px !important;
    }

    .f4p-home .f4p-idea-section {
        margin: 50px auto 55px !important;
        border-radius: 15px;
    }

    .f4p-home .f4p-idea-content {
        padding: 34px 25px 37px !important;
    }

    .f4p-home .f4p-idea-content h2 {
        font-size: 31px !important;
    }

    .f4p-home .f4p-idea-content p {
        font-size: 15px !important;
    }

    .f4p-home .f4p-idea-image img {
        height: 230px !important;
        min-height: 230px !important;
    }
    .f4p-home .f4p-material-benefits {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 20px;
    }

    .f4p-home .f4p-material-benefit img {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
    }

    .f4p-home .f4p-material-benefit span {
        font-size: 13px;
    }
  }
/* =========================================================
   CCC TWO CLICK – GOOGLE MAPS / FUN4PRINT
   ========================================================= */

.ccctwoclickcontainer-140 {
    position: relative !important;
    width: calc(100% - 80px) !important;
    max-width: 1284px !important;
    margin: 45px auto 60px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow:
        0 7px 18px rgba(0,0,0,.12),
        0 20px 42px rgba(0,0,0,.10) !important;
}

/* Leere CCC-Bereiche oberhalb der Karte entfernen */
.ccctwoclickcontainer-140 .ccctwoclick__slot-group--pre-top,
.ccctwoclickcontainer-140 .ccctwoclick__slot-group--post-top,
.ccctwoclickcontainer-140 .ccctwoclick__bar-slot[data-bar-slot="pre-top"],
.ccctwoclickcontainer-140 .ccctwoclick__bar-slot[data-bar-slot="post-top"],
.ccctwoclickcontainer-140 .ccctwoclick__card-slot[data-card-slot="pre-top"],
.ccctwoclickcontainer-140 .ccctwoclick__card-slot[data-card-slot="post-top"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Unscharfes Vorschaubild */
.ccctwoclickcontainer-140 .ccctwoclick__placeholder {
    display: block !important;
    width: 100% !important;
    height: 390px !important;
    margin: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__placeholder::before,
.ccctwoclickcontainer-140 .ccctwoclick__placeholder::after {
    margin: 0 !important;
}

/* Weißer Hinweisbereich direkt unter der Karte */
.ccctwoclickcontainer-140 .ccctwoclick__card-slot[data-card-slot="pre-bottom"] {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__block--card {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
        "headline headline"
        "copy     copy"
        "legal    controls" !important;
    column-gap: 35px !important;
    row-gap: 10px !important;
    align-items: end !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 25px 32px 28px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid rgba(7,0,102,.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__privacy-header {
    grid-area: headline !important;
    margin: 0 !important;
    color: #070066 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__copy {
    grid-area: copy !important;
    margin: 0 !important;
    color: #070066 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__copy p {
    margin: 0 0 7px !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__copy p:last-child {
    margin-bottom: 0 !important;
}

/* Datenschutzlink links unten */
.ccctwoclickcontainer-140 .ccctwoclick__card-legal {
    grid-area: legal !important;
    align-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 12px !important;
}

.ccctwoclickcontainer-140 .ccctwoclick__card-legal a {
    color: #070066 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Buttonbereich rechts unten */
.ccctwoclickcontainer-140 .ccctwoclick__controls {
    grid-area: controls !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/*
 * CCC steuert Öffnen/Schließen selbst über das HTML-Attribut "hidden".
 * Diese Regel darf nicht durch ein allgemeines display:inline-flex überschrieben werden.
 */
.ccctwoclickcontainer-140 button[hidden] {
    display: none !important;
}

.ccctwoclickcontainer-140 button:not([hidden]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 250px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 28px !important;
    box-sizing: border-box !important;
    background: #070066 !important;
    border: 3px solid #fff !important;
    border-radius: 28px !important;
    color: #fff !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    box-shadow:
        0 0 0 3px #070066,
        0 6px 14px rgba(0,0,0,.24) !important;
    cursor: pointer !important;
}

/* Geladene Google-Karte */
.ccctwoclickcontainer-140 iframe {
    display: block !important;
    width: 100% !important;
    height: 390px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* CCC Two Click – Smartphone */
@media (max-width: 767px) {
    .ccctwoclickcontainer-140 {
        width: calc(100% - 32px) !important;
        margin: 35px auto 45px !important;
        border-radius: 14px !important;
    }

    .ccctwoclickcontainer-140 .ccctwoclick__placeholder,
    .ccctwoclickcontainer-140 iframe {
        height: 260px !important;
    }

    .ccctwoclickcontainer-140 .ccctwoclick__block--card {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "headline"
            "copy"
            "controls"
            "legal" !important;
        row-gap: 14px !important;
        padding: 20px 20px 23px !important;
    }

    .ccctwoclickcontainer-140 .ccctwoclick__controls {
        justify-content: center !important;
    }

    .ccctwoclickcontainer-140 button:not([hidden]) {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
    }

    .ccctwoclickcontainer-140 .ccctwoclick__card-legal {
        text-align: center !important;
    }
}

/* =========================================================
   FUN4PRINT – SMARTPHONE FEINOPTIMIERUNG
   Stand 09.09.2026 – zusammenhängendes Weißfeld
   ========================================================= */


/* =========================================================
   SMARTPHONE – PRODUKTKACHELN
   ========================================================= */

@media (max-width: 767px),
       (max-width: 1100px) and (max-height: 700px) and (orientation: landscape) {

    .f4p-home .f4p-product-card {
        overflow: hidden !important;
        transform: none !important;
    }

    .f4p-home .f4p-product-card a {
        display: flex !important;
        flex-direction: column !important;
    }

    .f4p-home .f4p-product-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 305 / 160 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .f4p-home .f4p-product-name {
        display: none !important;
    }

    /* Beschreibung als dunkelblauer Kasten mit Negativschrift */
    .f4p-home .f4p-product-overlay {
        position: static !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 17px 18px 19px !important;
        box-sizing: border-box !important;
        background: #070066 !important;
        color: #fff !important;
        text-align: left !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .f4p-home .f4p-product-overlay h3 {
        margin: 0 0 8px !important;
        color: #fff !important;
        font-family: Helvetica, Arial, sans-serif !important;
        font-size: 18px !important;
        line-height: 1.18 !important;
        font-weight: 700 !important;
        text-align: left !important;
    }

    .f4p-home .f4p-product-overlay p {
        margin: 0 !important;
        color: #fff !important;
        font-family: Helvetica, Arial, sans-serif !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
        font-weight: 400 !important;
        text-align: left !important;
    }

    .f4p-home .f4p-product-card:hover,
    .f4p-home .f4p-product-card:hover .f4p-product-overlay {
        transform: none !important;
        opacity: 1 !important;
    }
}


/* =========================================================
   GEMEINSAM: HOCH- UND QUERFORMAT
   Zusammenhängendes transparentes Weißfeld
   ========================================================= */

@media (max-width: 767px),
       (max-width: 1100px) and (max-height: 700px) and (orientation: landscape) {

    .f4p-home .f4p-newhero-inner {
        position: relative !important;
        z-index: 3 !important;
    }

    /*
     * EIN zusammenhängendes Feld von
     * "Idee • Druck ..." bis einschließlich Vorteilszeile.
     */
    .f4p-home .f4p-newhero-inner::before {
        content: "" !important;
        position: absolute !important;
        z-index: 2 !important;

        top: 16px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 76px !important;

        background: rgba(255,255,255,.72) !important;

        pointer-events: none !important;
    }

    /* Einzelne weiße Textflächen wieder entfernen */
    .f4p-home .f4p-main-title,
    .f4p-home .f4p-newhero-text,
    .f4p-home .f4p-region,
    .f4p-home .f4p-fullservice {
        background: transparent !important;
    }

    .f4p-home .f4p-process-line,
    .f4p-home .f4p-main-title,
    .f4p-home .f4p-location-line,
    .f4p-home .f4p-newhero-text,
    .f4p-home .f4p-region,
    .f4p-home .f4p-fullservice,
    .f4p-home .f4p-newhero-benefits {
        position: relative !important;
        z-index: 6 !important;
    }

    /*
     * Regional-Block kompakter:
     * keine großen Abstände zwischen den drei Zeilen.
     */
    .f4p-home .f4p-region {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.16 !important;
    }

    .f4p-home .f4p-region-second {
        margin-top: 0 !important;
    }
}


/* =========================================================
   SMARTPHONE HOCHFORMAT
   ========================================================= */

@media (max-width: 767px) and (orientation: portrait) {

    .f4p-home .f4p-newhero::before {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100% + 115px) !important;

        background-size: 145% 100% !important;
        background-position: 37% top !important;
        background-repeat: no-repeat !important;

        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.64) 2.5%,
                rgba(0,0,0,.92) 6%,
                #000 10%,
                #000 92%,
                rgba(0,0,0,.60) 97%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                #000 0%,
                #000 70%,
                rgba(0,0,0,.97) 76%,
                rgba(0,0,0,.82) 83%,
                rgba(0,0,0,.58) 89%,
                rgba(0,0,0,.32) 94%,
                rgba(0,0,0,.12) 97%,
                transparent 100%
            ) !important;

        -webkit-mask-composite: source-in !important;

        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.64) 2.5%,
                rgba(0,0,0,.92) 6%,
                #000 10%,
                #000 92%,
                rgba(0,0,0,.60) 97%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                #000 0%,
                #000 70%,
                rgba(0,0,0,.97) 76%,
                rgba(0,0,0,.82) 83%,
                rgba(0,0,0,.58) 89%,
                rgba(0,0,0,.32) 94%,
                rgba(0,0,0,.12) 97%,
                transparent 100%
            ) !important;

        mask-composite: intersect !important;
    }

    /*
     * Siegel höher und zur zweizeiligen Standortangabe zentriert.
     */
    .f4p-home .f4p-newhero-meister {
        top: 122px !important;
        right: -5px !important;
        left: auto !important;
        bottom: auto !important;
        width: 82px !important;
        opacity: .98 !important;
    }

    .f4p-home .f4p-location-line {
        max-width: calc(100% - 88px) !important;
    }

    .f4p-home .f4p-newhero-text {
        margin-bottom: 12px !important;
        padding: 0 !important;
    }

    .f4p-home .f4p-fullservice {
        margin-top: 10px !important;
        margin-bottom: 22px !important;
        padding: 0 !important;
    }
}


/* =========================================================
   KLEINE SMARTPHONES HOCHFORMAT
   ========================================================= */

@media (max-width: 480px) and (orientation: portrait) {

    .f4p-home .f4p-newhero::before {
        top: 0 !important;
        height: calc(100% + 110px) !important;
        background-size: 150% 100% !important;
        background-position: 36% top !important;
    }

    .f4p-home .f4p-newhero-meister {
        top: 118px !important;
        right: -4px !important;
        width: 78px !important;
    }

    .f4p-home .f4p-location-line {
        max-width: calc(100% - 82px) !important;
    }

    .f4p-home .f4p-product-overlay {
        padding: 15px 15px 17px !important;
    }

    .f4p-home .f4p-product-overlay h3 {
        font-size: 17px !important;
    }

    .f4p-home .f4p-product-overlay p {
        font-size: 13.5px !important;
        line-height: 1.42 !important;
    }
}


/* =========================================================
   SMARTPHONE QUERFORMAT
   ========================================================= */

@media (max-width: 1100px) and (max-height: 700px)
       and (orientation: landscape) {

    .f4p-home .f4p-newhero {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        min-height: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
    }

    .f4p-home .f4p-newhero::before {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100% + 125px) !important;
        background-size: 100% 100% !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;

        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.58) 2%,
                rgba(0,0,0,.90) 5%,
                #000 8%,
                #000 91%,
                rgba(0,0,0,.66) 96%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                #000 0%,
                #000 66%,
                rgba(0,0,0,.97) 73%,
                rgba(0,0,0,.84) 80%,
                rgba(0,0,0,.60) 87%,
                rgba(0,0,0,.34) 93%,
                rgba(0,0,0,.14) 97%,
                transparent 100%
            ) !important;

        -webkit-mask-composite: source-in !important;

        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0,0,0,.58) 2%,
                rgba(0,0,0,.90) 5%,
                #000 8%,
                #000 91%,
                rgba(0,0,0,.66) 96%,
                transparent 100%
            ),
            linear-gradient(
                to bottom,
                #000 0%,
                #000 66%,
                rgba(0,0,0,.97) 73%,
                rgba(0,0,0,.84) 80%,
                rgba(0,0,0,.60) 87%,
                rgba(0,0,0,.34) 93%,
                rgba(0,0,0,.14) 97%,
                transparent 100%
            ) !important;

        mask-composite: intersect !important;
    }

    .f4p-home .f4p-newhero-inner {
        min-height: 0 !important;
        padding: 22px 28px 36px !important;
    }

    .f4p-home .f4p-newhero-left {
        left: 0 !important;
        width: 68% !important;
        max-width: 640px !important;
    }

    .f4p-home .f4p-process-line {
        width: 100% !important;
        max-width: 600px !important;
        font-size: 13px !important;
    }

    .f4p-home .f4p-main-title {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        padding: 8px 18px 10px 0 !important;
    }

    .f4p-home .f4p-title-blue {
        font-size: clamp(32px, 5vw, 42px) !important;
    }

    .f4p-home .f4p-title-cyan {
        font-size: clamp(29px, 4.5vw, 38px) !important;
    }

    /*
     * Siegel höher, zentriert zur Standortangabe.
     */
    .f4p-home .f4p-newhero-meister {
        top: 126px !important;
        left: auto !important;
        right: 7% !important;
        bottom: auto !important;
        width: 92px !important;
        transform: none !important;
    }

    .f4p-home .f4p-location-line {
        max-width: 100% !important;
    }

    .f4p-home .f4p-newhero-text,
    .f4p-home .f4p-fullservice {
        padding: 0 !important;
    }

    .f4p-home .f4p-newhero-benefits {
        gap: 16px !important;
        margin-bottom: 46px !important;
    }

    .f4p-home .f4p-products-head {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .f4p-home .f4p-product-row,
    .f4p-home .f4p-product-row-3,
    .f4p-home .f4p-product-row-4 {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

/* =========================================================
   FUN4PRINT – SMARTPHONE FEINSCHLIFF 09.09.2026
   ========================================================= */

/* Weißes Transparentfeld direkt bündig unter dem grauen Header */
@media (max-width: 767px),
       (max-width: 1100px) and (max-height: 700px) and (orientation: landscape) {

    .f4p-home .f4p-newhero-inner::before {
        top: 0 !important;
    }
}


/* ---------------------------------------------------------
   HOCHFORMAT
   Meistersiegel etwas höher
   --------------------------------------------------------- */

@media (max-width: 767px) and (orientation: portrait) {

    .f4p-home .f4p-newhero-meister {
        top: 112px !important;
    }
}

@media (max-width: 480px) and (orientation: portrait) {

    .f4p-home .f4p-newhero-meister {
        top: 108px !important;
    }
}


/* ---------------------------------------------------------
   QUERFORMAT
   Meistersiegel etwas tiefer
   --------------------------------------------------------- */

@media (max-width: 1100px) and (max-height: 700px)
       and (orientation: landscape) {

    .f4p-home .f4p-newhero-meister {
        top: 136px !important;
    }


    /*
     * Produktkacheln:
     * der blaue Beschreibungsbereich füllt bei unterschiedlich
     * langen Texten immer die komplette Resthöhe der Kachel.
     */
    .f4p-home .f4p-product-card {
        height: 100% !important;
    }

    .f4p-home .f4p-product-card > a,
    .f4p-home .f4p-product-card a {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .f4p-home .f4p-product-overlay {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }
}

/* =========================================================
   FUN4PRINT – UNTERSEITE GESCHÄFTSDRUCKSACHEN
   Einheitliche Klassenstruktur
   ========================================================= */

.f4p-subpage {
    --f4p-blue: #070066;
    --f4p-red: #960101;
    --f4p-cyan: #0789d1;

    width: calc(100% - 80px);
    max-width: 1284px;
    margin: 35px auto 80px;

    color: var(--f4p-blue);
    font-family: Helvetica, Arial, sans-serif;
}


/* =========================================================
   HERO
   ========================================================= */

.f4p-subpage .f4p-subhero {
    position: relative;

    display: grid;
    grid-template-columns: 52% 49%;
  align-items: stretch;

    width: 100%;
    min-height: 405px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #ffffff;
    border-radius: 18px;

    box-shadow:
        0 7px 18px rgba(0,0,0,.10),
        0 20px 42px rgba(0,0,0,.08);
}


/* linker Textbereich */

.f4p-subpage .f4p-subhero-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 405px;

    margin: 0;
    padding: 42px 45px 44px;

    box-sizing: border-box;

    background: #ffffff;
}


/* weicher Übergang zum Bild */

.f4p-subpage .f4p-subhero-content::after {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    right: -85px;

    width: 90px;
    height: 100%;

    background: linear-gradient(
        to right,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.92) 30%,
        rgba(255,255,255,.65) 60%,
        rgba(255,255,255,.25) 82%,
        rgba(255,255,255,0) 100%
    );

    pointer-events: none;
}


/* =========================================================
   SUBPAGE HERO – BILD EXAKT FÜLLEND
   ========================================================= */

.f4p-subpage .f4p-subhero-image {
    position: relative;
    z-index: 1;

    width: 100%;
    min-width: 0;

    height: auto;
    min-height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: transparent;
}


.f4p-subpage .f4p-subhero-image img {
    position: absolute;

    top: 0;
    left: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: 57% center !important;

    border: 0 !important;
}


/* Hero-Typografie */

.f4p-subpage .f4p-sub-kicker {
    display: block;

    margin: 0 0 12px;

    color: var(--f4p-red);

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.f4p-subpage .f4p-subhero h1 {
    display: block;

    width: 100%;

    margin: 0 0 5px;
    padding: 0;

    color: var(--f4p-blue);

    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(39px, 3.3vw, 50px);
    line-height: 1.04;
    font-weight: 700;

    white-space: nowrap;
    overflow: visible;
}


.f4p-subpage .f4p-subhero-subline {
    display: block;

    margin: 0 0 23px;

    color: var(--f4p-cyan);

    font-family: Helvetica, Arial, sans-serif;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 700;
}


.f4p-subpage .f4p-subhero p {
    display: block;

    width: 100%;
    max-width: 500px;

    margin: 0 0 13px;
    padding: 0;

    color: var(--f4p-blue);

    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 400;
}


.f4p-subpage .f4p-subhero .f4p-subhero-lead {
    font-weight: 700;
}


/* =========================================================
   EINLEITUNG
   ========================================================= */

.f4p-subpage .f4p-sub-intro {
    max-width: 980px;
    margin: 55px auto 62px;
    text-align: center;
}





.f4p-subpage .f4p-sub-intro h2,
.f4p-subpage .f4p-subsection-head h2 {
    margin: 0 0 16px;

    color: var(--f4p-blue);

    font-family: Helvetica, Arial, sans-serif;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 700;
}


.f4p-subpage .f4p-sub-intro p,
.f4p-subpage .f4p-subsection-head p {
    max-width: 880px;
    margin: 0 auto;

    color: var(--f4p-blue);

    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
}


/* =========================================================
   DIGITALDRUCK + OFFSETDRUCK
   ========================================================= */

.f4p-subpage .f4p-print-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    margin-bottom: 75px;
}


.f4p-subpage .f4p-print-card {
    padding: 38px 42px 42px;

    background: #ffffff;

    border: 1px solid rgba(7,0,102,.10);
    border-radius: 18px;

    box-shadow:
        0 6px 16px rgba(0,0,0,.09),
        0 16px 30px rgba(0,0,0,.06);
}


.f4p-subpage .f4p-print-card-head span {
    display: block;

    margin-bottom: 6px;

    color: var(--f4p-red);

    font-size: 13px;
    line-height: 1;
    font-weight: 700;

    letter-spacing: 2px;
}


.f4p-subpage .f4p-print-card h2 {
    margin: 0 0 18px;

    color: var(--f4p-blue);

    font-size: 31px;
    line-height: 1.12;
    font-weight: 700;
}


.f4p-subpage .f4p-print-card p {
    margin: 0;

    color: var(--f4p-blue);

    font-size: 16px;
    line-height: 1.55;
}


/* Listen ohne Punkte und ohne Trennlinien */

.f4p-subpage .f4p-print-card ul {
    margin: 22px 0 24px;
    padding: 0;

    list-style: none;
}


.f4p-subpage .f4p-print-card li {
    margin: 0 0 8px;
    padding: 0;

    color: var(--f4p-blue);

    font-size: 16px;
    line-height: 1.4;

    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;

    box-shadow: none !important;
    background: transparent !important;
}


.f4p-subpage .f4p-print-card li::before,
.f4p-subpage .f4p-print-card li::after {
    display: none !important;
    content: none !important;
}


.f4p-subpage .f4p-print-card strong {
    color: var(--f4p-blue);

    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   PRODUKTÜBERSICHT
   ========================================================= */

.f4p-subpage .f4p-business-products {
    margin: 0 0 75px;
}


.f4p-subpage .f4p-subsection-head {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}


.f4p-subpage .f4p-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


.f4p-subpage .f4p-business-item {
    padding: 28px 30px 30px;

    background: var(--f4p-blue);
    color: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 6px 14px rgba(0,0,0,.14);
}


.f4p-subpage .f4p-business-item h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}


.f4p-subpage .f4p-business-item p {
    margin: 0;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   BERATUNG
   ========================================================= */

.f4p-subpage .f4p-sub-feature {
    margin: 65px 0;
    padding: 50px 55px;

    background: rgba(255,255,255,.92);

    border-radius: 18px;

    box-shadow:
        0 6px 16px rgba(0,0,0,.09);
}


.f4p-subpage .f4p-sub-feature-content {
    max-width: 760px;
}


.f4p-subpage .f4p-sub-feature h2 {
    margin: 0 0 18px;

    color: var(--f4p-blue);

    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
}


.f4p-subpage .f4p-sub-feature p {
    margin: 0;

    color: var(--f4p-blue);

    font-size: 17px;
    line-height: 1.55;
}


.f4p-subpage .f4p-sub-redline {
    width: 58px;
    height: 3px;

    margin: 24px 0 17px;

    background: var(--f4p-red);
}


/* =========================================================
   CTA
   ========================================================= */

.f4p-subpage .f4p-sub-cta {
    padding: 48px 55px;

    background: var(--f4p-blue);
    color: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.17);
}


.f4p-subpage .f4p-sub-cta > div {
    max-width: 760px;
}


.f4p-subpage .f4p-sub-cta span {
    color: rgba(255,255,255,.72);

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.f4p-subpage .f4p-sub-cta h2 {
    margin: 10px 0 12px;

    color: #ffffff;

    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
}


.f4p-subpage .f4p-sub-cta p {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.55;
}


.f4p-subpage .f4p-sub-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 28px;

    background: #ffffff;

    border: 3px solid #ffffff;
    border-radius: 28px;

    color: var(--f4p-blue) !important;

    font-weight: 700;

    text-decoration: none !important;
}

/* =========================================================
   FORMULARDRUCK – SEITENAUFBAU
   ========================================================= */

.f4p-form-intro {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 50px auto 30px;
    text-align: center;
}

.f4p-form-intro h2 {
    margin: 0 0 18px;
}

.f4p-form-intro p {
    max-width: 850px;
    margin: 0 auto 14px;
    line-height: 1.65;
}


/* PRODUKTBILD */

.f4p-form-image {
    display: block;
    width: 100%;
    margin: 30px 0 55px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.f4p-form-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* BEREICH FORMULARARTEN */

.f4p-form-products {
    display: block;
    width: 100%;
    clear: both;
    margin: 0;
}

.f4p-form-products .f4p-subsection-head {
    max-width: 850px;
    margin: 0 auto 32px;
    text-align: center;
}


/* KARTEN */

.f4p-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.f4p-form-card {
    min-width: 0;
    padding: 36px 38px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.f4p-form-card h2 {
    margin: 0 0 20px;
    color: #080070;
}

.f4p-form-card p {
    line-height: 1.6;
}

.f4p-form-card ul {
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.f4p-form-card li {
    margin: 0 0 9px;
    padding: 0;
}

.f4p-form-card strong {
    display: block;
    margin-top: 24px;
}
/* =========================================================
   FORMULARDRUCK – H2 EINZEILIG
   ========================================================= */

.f4p-form-products .f4p-form-card h2,
.f4p-business .f4p-sub-intro h2,
.f4p-business .f4p-print-card h2,
.f4p-business .f4p-sub-feature h2 {
    font-size: 24px;
    line-height: 1.15;
}


/* TABLET / SMARTPHONE */

@media (max-width: 767px) {

    .f4p-form-intro {
        margin: 32px auto 24px;
        padding: 0 18px;
    }

    .f4p-form-image {
        margin: 22px 0 35px;
        border-radius: 12px;
    }

    .f4p-form-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .f4p-form-card {
        padding: 28px 24px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .f4p-subpage {
        width: calc(100% - 48px);
    }

    .f4p-subpage .f4p-subhero {
        grid-template-columns: 1fr;
    }

    .f4p-subpage .f4p-subhero-content {
        min-height: 0;
        padding: 36px 38px 38px;
    }

    .f4p-subpage .f4p-subhero-content::after {
        display: none;
    }

    .f4p-subpage .f4p-subhero-image {
        height: 340px;
        min-height: 340px;
    }

    .f4p-subpage .f4p-print-methods {
        grid-template-columns: 1fr;
    }

    .f4p-subpage .f4p-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .f4p-subpage {
        width: calc(100% - 28px);
        margin-top: 20px;
    }

    .f4p-subpage .f4p-subhero {
        border-radius: 14px;
    }

    .f4p-subpage .f4p-subhero-content {
        padding: 30px 24px 32px;
    }

    .f4p-subpage .f4p-subhero h1 {
        font-size: 38px !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }

    .f4p-subpage .f4p-subhero-subline {
        font-size: 24px;
    }

    .f4p-subpage .f4p-subhero p {
        font-size: 15px;
        line-height: 1.45;
    }

    .f4p-subpage .f4p-subhero-image {
        height: 240px;
        min-height: 240px;
    }

    .f4p-subpage .f4p-sub-intro {
        margin: 50px auto;
        text-align: left;
    }

    .f4p-subpage .f4p-sub-intro h2,
    .f4p-subpage .f4p-subsection-head h2 {
        font-size: 29px;
    }

    .f4p-subpage .f4p-sub-intro p,
    .f4p-subpage .f4p-subsection-head p {
        font-size: 16px;
    }

    .f4p-subpage .f4p-print-card {
        padding: 28px 24px 30px;
    }

    .f4p-subpage .f4p-print-card h2 {
        font-size: 26px;
    }

    .f4p-subpage .f4p-business-grid {
        grid-template-columns: 1fr;
    }

    .f4p-subpage .f4p-subsection-head {
        text-align: left;
    }

    .f4p-subpage .f4p-sub-feature {
        padding: 32px 25px;
    }

    .f4p-subpage .f4p-sub-feature h2 {
        font-size: 28px;
    }

    .f4p-subpage .f4p-sub-cta {
        padding: 35px 25px 38px;
    }

    .f4p-subpage .f4p-sub-cta h2 {
        font-size: 30px;
    }
}

/* =========================================================
   FUN4PRINT – PRODUKTPORTFOLIO
   ========================================================= */

.f4p-subpage .f4p-portfolio-products {
    margin: 0 0 75px;
}


/* =========================================================
   PORTFOLIO GRID
   ========================================================= */

.f4p-subpage .f4p-portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0,1fr));

    gap: 24px;

    width: 100%;
}


/* =========================================================
   PRODUKTKARTE
   ========================================================= */

.f4p-subpage .f4p-portfolio-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(7,0,102,.10);
    border-radius: 16px;

    box-shadow:
        0 6px 14px rgba(0,0,0,.12),
        0 16px 30px rgba(0,0,0,.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.f4p-subpage .f4p-portfolio-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 9px 19px rgba(0,0,0,.16),
        0 20px 36px rgba(0,0,0,.10);
}


.f4p-subpage .f4p-portfolio-card > a {
    display: flex;

    flex-direction: column;

    height: 100%;

    color: inherit;

    text-decoration: none !important;
}


/* =========================================================
   BILD
   ========================================================= */

.f4p-subpage .f4p-portfolio-image {
    width: 100%;

    overflow: hidden;

    background: #ffffff;
}


.f4p-subpage .f4p-portfolio-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 305 / 160;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center;

    transition: transform .35s ease;
}


.f4p-subpage .f4p-portfolio-card:hover
.f4p-portfolio-image img {
    transform: scale(1.025);
}


/* =========================================================
   BLAUER TEXTBEREICH
   ========================================================= */

.f4p-subpage .f4p-portfolio-text {
    display: flex;

    flex-direction: column;

    flex: 1 1 auto;

    padding: 23px 24px 25px;

    background: #070066;

    color: #ffffff;
}




.f4p-subpage .f4p-portfolio-text h3 {
    margin: 0 0 11px;

    color: #ffffff;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 21px;
    line-height: 1.18;

    font-weight: 700;
}


.f4p-subpage .f4p-portfolio-text p {
    margin: 0 0 19px;

    color: #ffffff;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 14px;
    line-height: 1.48;

    font-weight: 400;
}


.f4p-subpage .f4p-portfolio-text strong {
    display: block;

    margin-top: auto;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .f4p-subpage .f4p-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .f4p-subpage .f4p-portfolio-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .f4p-subpage .f4p-portfolio-text {
        padding: 19px 20px 21px;
    }

    .f4p-subpage .f4p-portfolio-text h3 {
        font-size: 20px;
    }

    .f4p-subpage .f4p-portfolio-text p {
        font-size: 14px;
    }
}
/* =========================================================
   FUN4PRINT – KONTAKT
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-hero {
    padding: 50px 55px 52px;

    background: rgba(255,255,255,.94);

    border-radius: 18px;

    box-shadow:
        0 7px 18px rgba(0,0,0,.10),
        0 20px 42px rgba(0,0,0,.08);
}


.f4p-subpage.f4p-contact .f4p-contact-hero h1 {
    margin: 0 0 5px;

    color: var(--f4p-blue);

    font-size: clamp(40px, 4vw, 54px);
    line-height: 1.04;
    font-weight: 700;
}


.f4p-subpage.f4p-contact .f4p-contact-subline {
    margin: 0 0 23px;

    color: var(--f4p-cyan);

    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}


.f4p-subpage.f4p-contact .f4p-contact-hero p {
    max-width: 850px;

    margin: 0 0 12px;

    color: var(--f4p-blue);

    font-size: 17px;
    line-height: 1.52;
}


.f4p-subpage.f4p-contact .f4p-contact-hero
.f4p-contact-lead {
    font-weight: 700;
}


/* =========================================================
   ZWEI SPALTEN
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-grid {
    display: grid;

    grid-template-columns: 40% 60%;

    gap: 30px;

    margin: 55px 0;
}


.f4p-subpage.f4p-contact .f4p-contact-info,
.f4p-subpage.f4p-contact .f4p-contact-formbox {
    padding: 40px 42px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid rgba(7,0,102,.08);
    border-radius: 18px;

    box-shadow:
        0 6px 16px rgba(0,0,0,.09),
        0 16px 30px rgba(0,0,0,.06);
}


.f4p-subpage.f4p-contact .f4p-contact-info h2,
.f4p-subpage.f4p-contact .f4p-contact-formbox h2 {
    margin: 0 0 15px;

    color: var(--f4p-blue);

    font-size: 30px;
    line-height: 1.12;
}


.f4p-subpage.f4p-contact .f4p-contact-intro,
.f4p-subpage.f4p-contact .f4p-contact-formbox > p {
    margin: 0 0 18px;

    color: var(--f4p-blue);

    font-size: 16px;
    line-height: 1.5;
}


.f4p-subpage.f4p-contact .f4p-contact-formhint {
    font-weight: 700;
}


/* =========================================================
   FIRMA / KONTAKTDATEN
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-company {
    margin-top: 30px;
    padding-bottom: 18px;

    border-bottom: 1px solid rgba(7,0,102,.12);
}


.f4p-subpage.f4p-contact .f4p-contact-company h3 {
    margin: 0 0 5px;

    color: var(--f4p-blue);

    font-size: 20px;
}


.f4p-subpage.f4p-contact .f4p-contact-company p {
    margin: 0;

    color: var(--f4p-blue);

    font-size: 15px;
    line-height: 1.45;
}


.f4p-subpage.f4p-contact .f4p-contact-block {
    padding: 17px 0;

    border-bottom: 1px solid rgba(7,0,102,.12);
}


.f4p-subpage.f4p-contact .f4p-contact-label {
    display: block;

    margin: 0 0 4px;

    color: var(--f4p-red);

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.f4p-subpage.f4p-contact .f4p-contact-block a,
.f4p-subpage.f4p-contact .f4p-contact-block > span:not(.f4p-contact-label) {
    color: var(--f4p-blue);

    font-size: 17px;
    font-weight: 600;

    text-decoration: none;
}


.f4p-subpage.f4p-contact .f4p-contact-block a:hover {
    color: var(--f4p-cyan);
}


/* =========================================================
   REGIONAL
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-note {
    margin-top: 28px;

    padding: 21px 23px;

    background: var(--f4p-blue);

    border-radius: 12px;

    color: #ffffff;
}


.f4p-subpage.f4p-contact .f4p-contact-note strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 17px;
}


.f4p-subpage.f4p-contact .f4p-contact-note p {
    margin: 0;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   FORMULARBEREICH
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-formarea {
    margin-top: 28px;
}


.f4p-subpage.f4p-contact .f4p-contact-form-placeholder {
    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 310px;

    padding: 35px;

    box-sizing: border-box;

    background: rgba(7,0,102,.035);

    border: 2px dashed rgba(7,0,102,.18);
    border-radius: 12px;

    text-align: center;
}


.f4p-subpage.f4p-contact .f4p-contact-form-placeholder strong {
    color: var(--f4p-blue);

    font-size: 20px;
}


.f4p-subpage.f4p-contact .f4p-contact-form-placeholder p {
    margin: 8px 0 0;

    color: var(--f4p-blue);

    font-size: 14px;
}


/* =========================================================
   ANFRAGE-INFORMATIONEN
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-project {
    margin: 0 0 55px;

    padding: 42px 45px;

    background: rgba(255,255,255,.94);

    border-radius: 18px;

    box-shadow:
        0 6px 16px rgba(0,0,0,.08);
}


.f4p-subpage.f4p-contact .f4p-contact-project h2 {
    margin: 0 0 28px;

    color: var(--f4p-blue);

    font-size: 32px;
    line-height: 1.15;
}


.f4p-subpage.f4p-contact .f4p-contact-project-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 18px;
}


.f4p-subpage.f4p-contact .f4p-contact-project-item {
    padding: 20px 21px;

    background: var(--f4p-blue);

    border-radius: 12px;

    color: #ffffff;
}


.f4p-subpage.f4p-contact .f4p-contact-project-item strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 16px;
}


.f4p-subpage.f4p-contact .f4p-contact-project-item span {
    color: #ffffff;

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   ABSCHLUSS
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-bottom {
    padding: 43px 50px;

    background: var(--f4p-blue);

    border-radius: 18px;

    color: #ffffff;
}


.f4p-subpage.f4p-contact .f4p-contact-bottom > div {
    max-width: 850px;
}


.f4p-subpage.f4p-contact .f4p-contact-bottom .f4p-sub-kicker {
    color: rgba(255,255,255,.68);
}


.f4p-subpage.f4p-contact .f4p-contact-bottom h2 {
    margin: 0 0 13px;

    color: #ffffff;

    font-size: 32px;
    line-height: 1.15;
}


.f4p-subpage.f4p-contact .f4p-contact-bottom p {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.55;
}


.f4p-subpage.f4p-contact .f4p-contact-bottom-links {
    display: flex;

    flex-wrap: wrap;

    gap: 16px;

    margin-top: 25px;
}


.f4p-subpage.f4p-contact .f4p-contact-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    border-radius: 25px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;
}


.f4p-subpage.f4p-contact .f4p-contact-button-light {
    background: #ffffff;

    color: var(--f4p-blue) !important;

    border: 2px solid #ffffff;
}


.f4p-subpage.f4p-contact .f4p-contact-button-outline {
    background: transparent;

    color: #ffffff !important;

    border: 2px solid #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .f4p-subpage.f4p-contact .f4p-contact-grid {
        grid-template-columns: 1fr;
    }

    .f4p-subpage.f4p-contact .f4p-contact-project-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .f4p-subpage.f4p-contact .f4p-contact-hero {
        padding: 31px 24px 34px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-hero h1 {
        font-size: 38px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-subline {
        font-size: 23px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-hero p {
        font-size: 15px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-grid {
        gap: 20px;

        margin: 35px 0;
    }

    .f4p-subpage.f4p-contact .f4p-contact-info,
    .f4p-subpage.f4p-contact .f4p-contact-formbox {
        padding: 28px 24px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-info h2,
    .f4p-subpage.f4p-contact .f4p-contact-formbox h2 {
        font-size: 27px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-project {
        padding: 30px 24px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-project h2 {
        font-size: 27px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-project-grid {
        grid-template-columns: 1fr;
    }

    .f4p-subpage.f4p-contact .f4p-contact-bottom {
        padding: 32px 25px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-bottom h2 {
        font-size: 27px;
    }

    .f4p-subpage.f4p-contact .f4p-contact-bottom-links {
        flex-direction: column;
    }

    .f4p-subpage.f4p-contact .f4p-contact-button {
        width: 100%;

        box-sizing: border-box;
    }
}
/* =========================================================
   JOOMLA KONTAKTFORMULAR IM KONTAKTBEREICH
   ========================================================= */

.f4p-subpage.f4p-contact .f4p-contact-formarea {
    width: 100%;
    margin-top: 28px;
}

.f4p-subpage.f4p-contact .f4p-contact-joomla-form {
    display: block;

    width: 100%;
    height: 520px;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 0;
    border-radius: 12px;

    overflow: hidden;
}

@media (max-width: 600px) {

    .f4p-subpage.f4p-contact .f4p-contact-joomla-form {
        height: 620px;
    }
  }
/* =========================================================
   MAGAZINE • BROSCHÜREN • DISSERTATIONEN • BÜCHER
   NUR DIESE UNTERSEITE
   ========================================================= */


/* =========================================================
   3 HAUPTPRODUKTE
   ========================================================= */

.f4p-publications .f4p-publication-products {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 60px 0;
    padding: 0;
    box-sizing: border-box;
    clear: both;
}

.f4p-publications .f4p-publication-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: stretch;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   HAUPTKARTE
   --------------------------------------------------------- */

.f4p-publications .f4p-publication-card {
    display: flex !important;
    flex-direction: column;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 80, 0.08);
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   BILD
   --------------------------------------------------------- */

.f4p-publications .f4p-publication-image {
    display: block;

    width: 100% !important;
    max-width: none !important;
    height: 220px;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #f4f4f4;
}

.f4p-publications .f4p-publication-image img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover;
    object-position: center;

    border: 0;
}


/* ---------------------------------------------------------
   KARTENINHALT
   --------------------------------------------------------- */

.f4p-publications .f4p-publication-card-content {
    display: flex !important;
    flex-direction: column;
    flex: 1;

    width: 100% !important;

    margin: 0 !important;
    padding: 25px 27px 28px !important;

    box-sizing: border-box;
}

.f4p-publications .f4p-publication-card-content h2 {
    margin: 0 0 14px !important;
    padding: 0;

    color: #080070;

    font-size: 25px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-publications .f4p-publication-card-content p {
    margin: 0 0 18px !important;
    padding: 0;

    color: #080070;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   AUFZÄHLUNGEN
   --------------------------------------------------------- */

.f4p-publications .f4p-publication-card-content ul {
    margin: auto 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.f4p-publications .f4p-publication-card-content li {
    position: relative;

    margin: 0 !important;
    padding: 6px 0 6px 27px !important;

    border: 0 !important;

    color: #080070;
    line-height: 1.4;
}

.f4p-publications .f4p-publication-card-content li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #087fd3;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================================
   BINDUNGSARTEN
   ========================================================= */

.f4p-publications .f4p-publication-bindings {
    display: block;

    width: 100% !important;
    max-width: none !important;

    margin: 55px 0 60px !important;
    padding: 0 !important;

    clear: both;

    box-sizing: border-box;
}


/* Überschrift */

.f4p-publications
.f4p-publication-bindings
.f4p-subsection-head {

    width: 100%;
    max-width: 900px;

    margin: 0 auto 32px !important;
    padding: 0;

    text-align: center;
}


/* ---------------------------------------------------------
   4ER RASTER
   --------------------------------------------------------- */

.f4p-publications .f4p-binding-grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 20px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: stretch;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   BINDUNGSKARTE
   --------------------------------------------------------- */

.f4p-publications .f4p-binding-card {
    display: flex !important;
    flex-direction: column;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 80, 0.08);
    border-radius: 12px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);

    box-sizing: border-box;
}


/* Bild */

.f4p-publications .f4p-binding-image {
    display: block;

    width: 100% !important;
    max-width: none !important;
    height: 145px;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #f3f3f3;
}

.f4p-publications .f4p-binding-image img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover;
    object-position: center;

    border: 0;
}


/* Text */

.f4p-publications .f4p-binding-content {
    flex: 1;

    width: 100%;

    margin: 0 !important;
    padding: 19px 20px 22px !important;

    box-sizing: border-box;
}

.f4p-publications .f4p-binding-content h3 {
    margin: 0 0 9px !important;
    padding: 0;

    color: #080070;

    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.f4p-publications .f4p-binding-content p {
    margin: 0 !important;
    padding: 0;

    color: #080070;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   CTA – NUR ABSTAND
   Grunddesign bleibt unangetastet
   ========================================================= */

.f4p-publications .f4p-publication-cta {
    width: 100%;
    margin-top: 55px;
}

.f4p-publications
.f4p-publication-cta
.f4p-sub-kicker {

    display: block;
    margin-bottom: 8px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .f4p-publications .f4p-publication-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .f4p-publications
    .f4p-publication-card:last-child {

        grid-column: 1 / -1;
    }

    .f4p-publications .f4p-binding-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 650px) {

    .f4p-publications .f4p-publication-products {
        margin-bottom: 38px;
    }

    .f4p-publications .f4p-publication-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .f4p-publications
    .f4p-publication-card:last-child {

        grid-column: auto;
    }

    .f4p-publications .f4p-publication-image {
        height: 190px;
    }

    .f4p-publications
    .f4p-publication-card-content {

        padding: 23px 22px 26px !important;
    }

    .f4p-publications
    .f4p-publication-card-content h2 {

        font-size: 23px;
    }


    /* Bindungen */

    .f4p-publications
    .f4p-publication-bindings {

        margin: 40px 0 !important;
    }

    .f4p-publications .f4p-binding-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .f4p-publications .f4p-binding-image {
        height: 180px;
    }
  }

  
/* =========================================================
   GESAMTMOTIV VOR DEN PRODUKTKARTEN
   ========================================================= */

.f4p-publications .f4p-publication-overview-image {
    width: 100%;
    margin: 0 0 25px;
    padding: 0;
    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.f4p-publications .f4p-publication-overview-image img {
    display: block;
    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border-radius: 20px;
}

/* =========================================================
   MOBILE – H1 AUF UNTERSEITEN
   Lange Überschriften sauber umbrechen
   ========================================================= */

@media (max-width: 650px) {

    .f4p-subpage .f4p-subhero-content {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .f4p-subpage .f4p-subhero h1 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        font-size: 38px !important;
        line-height: 1.06 !important;

        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: normal !important;

        box-sizing: border-box !important;
    }
}


/* =========================================================
   MOBILE – SEHR SCHMALE DISPLAYS
   ========================================================= */

@media (max-width: 400px) {

    .f4p-subpage .f4p-subhero h1 {
        font-size: 30px !important;
        line-height: 1.08 !important;
    }
}
/* =========================================================
   MAILING & DIREKTWERBUNG
   NUR DIESE UNTERSEITE
   ========================================================= */


/* =========================================================
   HERO
   Das allgemeine .f4p-subhero Layout bleibt unangetastet.
   Mailing steuert hier ausschließlich den Bildausschnitt.
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-subhero-image {
    overflow: hidden !important;
}

.f4p-subpage.f4p-mailing .f4p-subhero-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;

    /*
       Briefkastenmotiv:
       Ausschnitt etwas nach links,
       damit Hand + Mailing + Logo sichtbar bleiben.
    */
    object-position: 42% center !important;

    border: 0 !important;

    vertical-align: bottom;
}


/* =========================================================
   GROSSES ÜBERSICHTSBILD
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-overview-image {
    display: block;

    width: 100%;
    max-width: none;

    margin: 0 0 55px !important;
    padding: 0 !important;

    overflow: hidden;

    background: transparent;

    border: 0;
    border-radius: 20px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);

    line-height: 0;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-overview-image img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    vertical-align: bottom;
}


/* =========================================================
   MAILINGARTEN
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-products {
    display: block;

    width: 100%;
    max-width: none;

    margin: 0 0 60px !important;
    padding: 0 !important;

    clear: both;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   ÜBERSCHRIFT MAILINGARTEN
   --------------------------------------------------------- */

.f4p-subpage.f4p-mailing
.f4p-mailing-products
.f4p-subsection-head {

    width: 100%;
    max-width: 900px;

    margin: 0 auto 32px !important;
    padding: 0 !important;

    text-align: center;
}

.f4p-subpage.f4p-mailing
.f4p-mailing-products
.f4p-subsection-head h2 {

    margin-top: 6px !important;
}


/* =========================================================
   3 PRODUKTKARTEN
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 24px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: stretch;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   PRODUKTKARTE
   --------------------------------------------------------- */

.f4p-subpage.f4p-mailing .f4p-mailing-card {
    display: flex !important;
    flex-direction: column;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 80, 0.08);
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);

    box-sizing: border-box;
}


/* =========================================================
   PRODUKTBILDER 03 / 04 / 05
   Motive sind 1200 x 800 = 3:2
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-image {
    display: block;

    position: relative;

    width: 100% !important;
    max-width: none !important;

    aspect-ratio: 3 / 2;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    line-height: 0;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-image img {
    display: block !important;

    position: absolute;

    top: 0;
    left: 0;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border: 0 !important;

    vertical-align: bottom;
}


/* Bild 03 – Postkarten & Selfmailer */

.f4p-subpage.f4p-mailing
.f4p-mailing-card:nth-child(1)
.f4p-mailing-image img {

    object-position: center center !important;
}


/* Bild 04 – Werbebriefe & Mailings */

.f4p-subpage.f4p-mailing
.f4p-mailing-card:nth-child(2)
.f4p-mailing-image img {

    object-position: center center !important;
}


/* Bild 05 – Werbesendungen */

.f4p-subpage.f4p-mailing
.f4p-mailing-card:nth-child(3)
.f4p-mailing-image img {

    object-position: center center !important;
}


/* =========================================================
   INHALT DER PRODUKTKARTEN
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-card-content {
    display: flex !important;
    flex-direction: column;
    flex: 1;

    width: 100% !important;

    margin: 0 !important;
    padding: 25px 27px 28px !important;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-card-content h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;

    color: #080070;

    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-subpage.f4p-mailing .f4p-mailing-card-content p {
    margin: 0 0 18px !important;
    padding: 0 !important;

    color: #080070;

    line-height: 1.55;
}


/* =========================================================
   LISTEN / HAKEN
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-card-content ul,
.f4p-subpage.f4p-mailing .f4p-mailing-service-content ul {

    margin: auto 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.f4p-subpage.f4p-mailing .f4p-mailing-card-content li,
.f4p-subpage.f4p-mailing .f4p-mailing-service-content li {

    position: relative;

    margin: 0 !important;
    padding: 7px 0 7px 27px !important;

    border: 0 !important;

    color: #080070;

    line-height: 1.4;
}

.f4p-subpage.f4p-mailing .f4p-mailing-card-content li::before,
.f4p-subpage.f4p-mailing .f4p-mailing-service-content li::before {

    content: "✓";

    position: absolute;

    left: 0;
    top: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #087fd3;
    color: #ffffff;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================================
   PRODUKTIONSABLAUF
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-process {
    display: block;

    width: 100%;
    max-width: none;

    margin: 60px 0 !important;
    padding: 38px 36px !important;

    background:
        linear-gradient(
            120deg,
            rgba(8, 127, 211, 0.06),
            rgba(8, 127, 211, 0.12)
        );

    border: 0;
    border-radius: 18px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   KOPF PRODUKTIONSABLAUF
   --------------------------------------------------------- */

.f4p-subpage.f4p-mailing .f4p-mailing-process-head {
    width: 100%;
    max-width: 820px;

    margin: 0 auto 34px !important;
    padding: 0 !important;

    text-align: center;
}

.f4p-subpage.f4p-mailing .f4p-mailing-process-head h2 {
    margin: 6px 0 12px !important;
    padding: 0 !important;

    color: #080070;

    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-subpage.f4p-mailing .f4p-mailing-process-head p {
    margin: 0 !important;
    padding: 0 !important;

    color: #080070;

    line-height: 1.55;
}


/* ---------------------------------------------------------
   4 SCHRITTE
   --------------------------------------------------------- */

.f4p-subpage.f4p-mailing .f4p-mailing-process-grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 18px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    align-items: stretch;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-process-item {
    min-width: 0;
    height: 100%;

    margin: 0 !important;
    padding: 24px 20px !important;

    background: rgba(255, 255, 255, 0.90);

    border: 0;
    border-radius: 13px;

    text-align: center;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin: 0 auto 15px !important;

    border-radius: 50%;

    background: #080070;
    color: #ffffff;

    font-size: 17px;
    line-height: 1;
    font-weight: 700;
}

.f4p-subpage.f4p-mailing .f4p-mailing-process-item h3 {
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #080070;

    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
}

.f4p-subpage.f4p-mailing .f4p-mailing-process-item p {
    margin: 0 !important;
    padding: 0 !important;

    color: #080070;

    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   PERSONALISIERUNG / POSTANLIEFERUNG / REGIONAL
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-services {
    display: block;

    width: 100%;
    max-width: none;

    margin: 60px 0 !important;
    padding: 0 !important;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-service-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 24px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: stretch;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   SERVICEKARTE
   --------------------------------------------------------- */

.f4p-subpage.f4p-mailing .f4p-mailing-service-card {
    display: flex !important;
    flex-direction: column;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 80, 0.08);
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);

    box-sizing: border-box;
}


/* =========================================================
   SERVICEBILDER 06 / 07 / 08
   Ebenfalls 3:2
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-service-image {
    display: block;

    position: relative;

    width: 100% !important;
    max-width: none !important;

    aspect-ratio: 3 / 2;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    line-height: 0;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-service-image img {
    display: block !important;

    position: absolute;

    top: 0;
    left: 0;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border: 0 !important;

    vertical-align: bottom;
}


/* =========================================================
   SERVICEKARTEN – INHALT
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-service-content {
    display: flex !important;
    flex-direction: column;
    flex: 1;

    width: 100%;

    margin: 0 !important;
    padding: 25px 27px 28px !important;

    box-sizing: border-box;
}

.f4p-subpage.f4p-mailing .f4p-mailing-service-content h2 {
    margin: 0 0 14px !important;
    padding: 0 !important;

    color: #080070;

    font-size: 23px;
    line-height: 1.15;
    font-weight: 700;
}

.f4p-subpage.f4p-mailing .f4p-mailing-service-content p {
    margin: 0 0 18px !important;
    padding: 0 !important;

    color: #080070;

    line-height: 1.55;
}


/* =========================================================
   CTA
   ========================================================= */

.f4p-subpage.f4p-mailing .f4p-mailing-cta {
    width: 100%;

    margin-top: 60px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    /* Produktkarten */

    .f4p-subpage.f4p-mailing .f4p-mailing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .f4p-subpage.f4p-mailing
    .f4p-mailing-card:last-child {

        grid-column: 1 / -1;
    }


    /* Produktionsablauf */

    .f4p-subpage.f4p-mailing .f4p-mailing-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }


    /* Servicekarten */

    .f4p-subpage.f4p-mailing .f4p-mailing-service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .f4p-subpage.f4p-mailing
    .f4p-mailing-service-card:last-child {

        grid-column: 1 / -1;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 650px) {

    /* -----------------------------------------------------
       HERO
       Allgemeine mobile Hero-Geometrie bleibt erhalten.
       Nur Ausschnitt des Mailingmotivs.
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-subhero-image {
        overflow: hidden !important;
    }

    .f4p-subpage.f4p-mailing .f4p-subhero-image img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: 42% center !important;
    }


    /* -----------------------------------------------------
       ÜBERSICHTSBILD
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-mailing-overview-image {
        margin-bottom: 38px !important;

        border-radius: 14px;
    }


    /* -----------------------------------------------------
       ALLE RASTER EINSPALTIG
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-mailing-grid,
    .f4p-subpage.f4p-mailing .f4p-mailing-service-grid,
    .f4p-subpage.f4p-mailing .f4p-mailing-process-grid {

        grid-template-columns: 1fr !important;
    }

    .f4p-subpage.f4p-mailing
    .f4p-mailing-card:last-child,
    .f4p-subpage.f4p-mailing
    .f4p-mailing-service-card:last-child {

        grid-column: auto;
    }


    /* -----------------------------------------------------
       PRODUKTBILDER
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-mailing-image,
    .f4p-subpage.f4p-mailing .f4p-mailing-service-image {

        width: 100% !important;

        aspect-ratio: 3 / 2;

        height: auto !important;
    }


    /* -----------------------------------------------------
       KARTENINHALT
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-mailing-card-content,
    .f4p-subpage.f4p-mailing .f4p-mailing-service-content {

        padding: 23px 22px 26px !important;
    }

    .f4p-subpage.f4p-mailing
    .f4p-mailing-card-content h2,
    .f4p-subpage.f4p-mailing
    .f4p-mailing-service-content h2 {

        font-size: 23px;
    }


    /* -----------------------------------------------------
       PRODUKTIONSABLAUF
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-mailing-process {
        margin: 40px 0 !important;
        padding: 28px 20px !important;
    }

    .f4p-subpage.f4p-mailing .f4p-mailing-process-head {
        margin-bottom: 26px !important;
    }

    .f4p-subpage.f4p-mailing .f4p-mailing-process-head h2 {
        font-size: 25px;
    }


    /* -----------------------------------------------------
       ABSTÄNDE
       ----------------------------------------------------- */

    .f4p-subpage.f4p-mailing .f4p-mailing-products {
        margin-bottom: 40px !important;
    }

    .f4p-subpage.f4p-mailing .f4p-mailing-services {
        margin: 40px 0 !important;
    }

    .f4p-subpage.f4p-mailing .f4p-mailing-cta {
        margin-top: 40px !important;
    }
}

/* ============================================================
   FUN4PRINT – STARTSEITE HELIX3 POSITION 2 + 3
   GEMEINSAME KACHEL – Revision 12: Section volle Breite, Kachel auf innerem Container
   Voraussetzung: Helix3 Row Custom CSS Class = f4p-kachel-row
   Bestehende HTML-Module und JavaScript-Rotatoren bleiben erhalten.
   ============================================================ */

/* 1. AUSSEN: Helix3-Section bleibt volle Breite.
   Die vorhandene Helix3-Hintergrundgrafik wird NICHT überschrieben. */
section#sp-seiten-text.f4p-kachel-row {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px 0 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    isolation: auto !important;
}

/* NUR die innere Helix3-Containerfläche ist die Kachel. */
section#sp-seiten-text.f4p-kachel-row > .container {
    position: relative !important;
    width: min(97%, 1240px) !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 94px 34px 28px !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, .93) !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 24px !important;
    box-shadow: 0 9px 25px rgba(17,35,65,.24), 0 3px 9px rgba(0,0,0,.11) !important;
    isolation: isolate;
}

/* Die Klasse kann je nach Helix3-Struktur an einer äußeren Row liegen. */
.f4p-kachel-row > .row,
.f4p-kachel-row > .container > .row,
.f4p-kachel-row > .container-fluid > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    width: 100%;
}

/* Gemeinsame Überschrift */
section#sp-seiten-text.f4p-kachel-row > .container::before {
    content: "Druckvielfalt, die überzeugt.";
    position: absolute;
    top: 25px;
    left: 34px;
    right: 34px;
    color: #070066;
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    pointer-events: none;
}

/* Trennlinie zwischen den Inhaltsbereichen (11 px links der Kartenmitte).
   Durch die polygonale Form läuft sie oben/unten spitz aus. */
section#sp-seiten-text.f4p-kachel-row > .container::after {
    content: "" !important;
    position: absolute !important;
    top: 96px;
    bottom: 30px;
    left: calc(50% - 11px);
    width: 6px;
    transform: translateX(-50%);
    background: #070066;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    pointer-events: none;
    z-index: 1;
}

/* 2. HELIX3-SPALTEN: gemeinsamer Höhenbezug */
.f4p-kachel-row > [class*="col-"],
.f4p-kachel-row > .row > [class*="col-"],
.f4p-kachel-row > .container > .row > [class*="col-"],
.f4p-kachel-row > .container-fluid > .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    justify-content: center !important;
}

/* Joomla-Modulwrapper darf die vertikale Zentrierung nicht blockieren */
.f4p-kachel-row .sp-module,
.f4p-kachel-row .sp-module-content {
    width: 100%;
}
.f4p-kachel-row .sp-module:has(.f4p-home-trust),
.f4p-kachel-row .sp-module-content:has(.f4p-home-trust) {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 1 auto;
}

/* 3. BEIDE BISHERIGEN MODULE: keine eigenen Karten mehr */
.f4p-kachel-row .f4p-home-card,
.f4p-kachel-row .f4p-home-products,
.f4p-kachel-row .f4p-home-trust {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Links: Platz bis zur senkrechten Trennlinie */
.f4p-kachel-row .f4p-home-products {
    padding: 0 14px 0 44px !important;
    text-align: left !important;
}

/* Rechts: senkrechte Trennlinie */
.f4p-kachel-row .f4p-home-trust {
    padding: 0 6px 0 52px !important;
    justify-content: center !important;
    align-self: center !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    border-left: 0 !important;
    text-align: center !important;
}

/* Bereichsüberschriften */
.f4p-kachel-row .f4p-home-products > h2,
.f4p-kachel-row .f4p-home-trust > h2 {
    position: static !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #070066 !important;
    font-size: clamp(19px, 2vw, 23px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

/* 4. LINKS: PRODUKTFENSTER 85 % BREIT, QUADRATISCH (1:1) */
.f4p-kachel-row .f4p-product-stage {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 85% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: rgba(205, 226, 246, .48) !important;
    border: 3px solid #070066 !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.12) !important;
}

.f4p-kachel-row .f4p-product-stage > .f4p-fade-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.f4p-kachel-row .f4p-product-stage > .f4p-fade-item > img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.f4p-kachel-row .f4p-products-footer {
    position: static !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #960101 !important;
    font-size: clamp(19px, 2vw, 23px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* 5. RECHTS: WECHSELNDE FIRMENNAMEN */
.f4p-kachel-row .f4p-customer-stage {
    position: relative !important;
    width: 100% !important;
    height: 165px !important;
    min-height: 165px !important;
    flex: 0 0 165px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 3px solid #070066 !important;
    border-radius: 12px !important;
    box-shadow: 0 7px 20px rgba(7,0,102,.24), 0 3px 8px rgba(0,0,0,.13) !important;
}

.f4p-kachel-row .f4p-customer-stage > .f4p-fade-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.f4p-kachel-row .f4p-customer-stage > .f4p-fade-item > span {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(18px, 1.8vw, 24px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    /* Individuelle Firmenfarben aus dem HTML bleiben erhalten. */
}

.f4p-kachel-row .f4p-trust-thanks {
    position: static !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    color: #960101 !important;
    font-size: clamp(19px, 2vw, 23px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* 6. GEMEINSAME FADE-ROTATION – bestehendes JS schaltet is-active */
.f4p-kachel-row .f4p-product-stage > .f4p-fade-item,
.f4p-kachel-row .f4p-customer-stage > .f4p-fade-item {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 1.2s ease, visibility 0s linear 1.2s !important;
}

.f4p-kachel-row .f4p-product-stage > .f4p-fade-item.is-active,
.f4p-kachel-row .f4p-customer-stage > .f4p-fade-item.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 1.2s ease, visibility 0s !important;
}

/* 7. RESPONSIVE */
@media (max-width: 991px) {
    section#sp-seiten-text.f4p-kachel-row > .container {
        padding: 90px 20px 24px !important;
    }
    section#sp-seiten-text.f4p-kachel-row > .container::before {
        left: 25px;
        right: 25px;
    }
    .f4p-kachel-row .f4p-home-products {
        padding-right: 30px !important;
    }
    .f4p-kachel-row .f4p-home-trust {
        padding-left: 30px !important;
    }
}

@media (max-width: 767px) {
    section#sp-seiten-text.f4p-kachel-row {
        padding: 22px 0 28px !important;
    }
    section#sp-seiten-text.f4p-kachel-row > .container {
        display: block !important;
        width: 94% !important;
        margin: 0 auto !important;
        padding: 85px 18px 24px !important;
    }
    section#sp-seiten-text.f4p-kachel-row > .container::before {
        top: 22px;
        left: 20px;
        right: 20px;
        font-size: 24px;
    }
    .f4p-kachel-row > .row,
    .f4p-kachel-row > .container > .row,
    .f4p-kachel-row > .container-fluid > .row {
        display: block !important;
    }
    .f4p-kachel-row .f4p-home-products {
        height: auto !important;
        padding: 0 0 25px !important;
    }
    .f4p-kachel-row .f4p-home-trust {
        height: auto !important;
        padding: 25px 0 0 !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(7,0,102,.22) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    section#sp-seiten-text.f4p-kachel-row > .container::after { content: none !important; }
    .f4p-kachel-row .f4p-product-stage {
        max-width: 420px !important;
        margin: 0 auto !important;
    }
    .f4p-kachel-row .f4p-customer-stage {
        height: 155px !important;
        min-height: 155px !important;
        flex-basis: 155px !important;
    }
}
