/*
 * ALUTECH WIDENKA – abschließende visuelle Qualitätssicherung
 *
 * Diese Datei wird nach Elementor, XStore, Gravity Forms und den übrigen
 * Relaunch-Stilen geladen. Sie enthält ausschließlich projektbezogene
 * Korrekturen und verändert keine Theme- oder Core-Datei.
 */

:root {
    --alutech-primary: #19527b;
    --alutech-primary-hover: #0b2e4f;
    --alutech-navy: #082745;
    --alutech-ink: #0b2741;
    --alutech-text: #49667e;
    --alutech-accent: #9fc2d7;
    --alutech-pale: #eef3f6;
    --alutech-line: #d2dee7;
    --alutech-white: #fff;
    --alutech-shadow: 0 22px 60px rgba(7, 37, 61, .12);
}

body.rank1-alutech-foundation,
body.rank1-alutech-page {
    color: var(--alutech-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.rank1-alutech-page h1,
body.rank1-alutech-page h2,
body.rank1-alutech-page h3,
body.rank1-alutech-page h4 {
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: -.025em;
}

body.rank1-alutech-page p,
body.rank1-alutech-page li,
body.rank1-alutech-page dd,
body.rank1-alutech-page dt {
    font-family: Inter, Arial, Helvetica, sans-serif;
}

body.rank1-alutech-page .elementor-widget-html,
body.rank1-alutech-page .elementor-widget-shortcode,
body.rank1-alutech-page .elementor-widget-container {
    margin-bottom: 0;
}

body.rank1-alutech-page .elementor > .e-con,
body.rank1-alutech-page .elementor > .elementor-element {
    --gap: 0px;
    margin-block: 0;
}

/* -------------------------------------------------------------------------
 * Header, Sticky-Zustand und Navigation
 * ---------------------------------------------------------------------- */

body .elementor-location-header {
    inset: 0 0 auto;
    width: 100%;
}

body .elementor-location-header .rank1-header-shell {
    margin: 0;
    padding: 0;
}

/* Elementor benötigt den Spacer für die Höhe, dessen Inhalt darf aber nie
 * als zweiter Header sichtbar oder bedienbar sein. */
body .elementor-location-header .rank1-header-shell.elementor-sticky__spacer {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body .elementor-location-header .rank1-header-shell.elementor-sticky__spacer * {
    pointer-events: none;
}

body .elementor-location-header .rank1-header-main,
body .elementor-location-header .rank1-header-main-inner {
    margin: 0;
}

body .elementor-location-header .rank1-header-desktop-nav a,
body .elementor-location-header .rank1-header-desktop-nav .elementor-item {
    color: #fff;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    text-decoration: none;
}

/* XStore und die alte Relaunch-Schicht zeichneten beide eine aktive Linie. */
body .elementor-location-header .rank1-header-desktop-nav a::before,
body .elementor-location-header .rank1-header-desktop-nav a::after,
body .elementor-location-header .rank1-header-desktop-nav .elementor-item::before,
body .elementor-location-header .rank1-header-desktop-nav .elementor-item::after,
body .elementor-location-header .rank1-header-desktop-nav li::before,
body .elementor-location-header .rank1-header-desktop-nav li::after {
    display: none;
    content: none;
}

body .elementor-location-header .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li > a {
    border: 0;
    background-color: transparent;
    background-image: linear-gradient(var(--alutech-accent), var(--alutech-accent));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0 2px;
    box-shadow: none;
    transition: background-size .2s ease, color .2s ease, background-color .2s ease;
}

body .elementor-location-header .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li:hover > a,
body .elementor-location-header .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li:focus-within > a,
body .elementor-location-header .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li.current-menu-item > a,
body .elementor-location-header .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li.current-menu-ancestor > a {
    background-size: 100% 2px;
    color: #fff;
}

body .elementor-location-header .rank1-header-cta .elementor-button {
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 4px;
    background: var(--alutech-primary);
    background-image: none;
    color: #fff;
    box-shadow: 0 12px 28px rgba(4, 28, 48, .22);
}

body .elementor-location-header .rank1-header-cta .elementor-button:hover,
body .elementor-location-header .rank1-header-cta .elementor-button:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--alutech-navy);
}

body .elementor-location-header .rank1-header-shell.elementor-sticky--effects,
body .elementor-location-header .rank1-header-shell.is-scrolled {
    opacity: 1;
    background: #fff;
    background-image: none;
    color: var(--alutech-ink);
    box-shadow: 0 14px 40px rgba(5, 32, 53, .14);
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body .elementor-location-header .rank1-header-shell.elementor-sticky--effects .rank1-header-main,
body .elementor-location-header .rank1-header-shell.is-scrolled .rank1-header-main {
    border-bottom: 1px solid var(--alutech-line);
    background: #fff;
    background-image: none;
    color: var(--alutech-ink);
    text-shadow: none;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body .elementor-location-header .rank1-header-shell.elementor-sticky--effects .rank1-header-desktop-nav a,
body .elementor-location-header .rank1-header-shell.elementor-sticky--effects .rank1-header-desktop-nav .elementor-item,
body .elementor-location-header .rank1-header-shell.is-scrolled .rank1-header-desktop-nav a,
body .elementor-location-header .rank1-header-shell.is-scrolled .rank1-header-desktop-nav .elementor-item {
    color: var(--alutech-ink);
}

body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li > a {
    background-image: linear-gradient(var(--alutech-primary), var(--alutech-primary));
}

body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li:hover > a,
body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li.current-menu-item > a,
body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-header-desktop-nav :is(.etheme-elementor-nav-menu,.menu) > li.current-menu-ancestor > a {
    background-size: 100% 2px;
    color: var(--alutech-primary);
}

body .elementor-location-header .rank1-header-shell.elementor-sticky--effects .rank1-header-cta .elementor-button,
body .elementor-location-header .rank1-header-shell.is-scrolled .rank1-header-cta .elementor-button {
    border-color: var(--alutech-primary);
    background: var(--alutech-primary);
    color: #fff;
}

body .elementor-location-header .rank1-header-shell.elementor-sticky--effects .rank1-header-cta .elementor-button:hover,
body .elementor-location-header .rank1-header-shell.is-scrolled .rank1-header-cta .elementor-button:hover {
    border-color: var(--alutech-navy);
    background: var(--alutech-navy);
    color: #fff;
}

body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-header-main::before,
body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-header-main::after {
    display: none;
    content: none;
}

body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-logo-light {
    display: none;
}

body .elementor-location-header .rank1-header-shell:is(.elementor-sticky--effects,.is-scrolled) .rank1-logo-dark {
    display: block;
}

/* Desktop bleibt auf üblichen Notebook-Breiten sichtbar. */
@media (min-width: 1280px) {
    body .elementor-location-header .rank1-header-desktop-nav {
        display: block;
    }

    body .elementor-location-header .rank1-header-cta {
        display: block;
    }

    body .elementor-location-header .rank1-header-mobile-nav {
        display: none;
    }
}

@media (min-width: 1280px) and (max-width: 1439px) {
    body .elementor-location-header .rank1-header-logo-stack,
    body .elementor-location-header .rank1-header-logo-stack .elementor-widget-image,
    body .elementor-location-header .rank1-header-logo-stack img {
        width: 210px;
    }

    body .elementor-location-header .rank1-header-logo-stack {
        flex-basis: 210px;
    }

    body .elementor-location-header .rank1-header-main-inner {
        gap: 12px;
        padding-inline: 18px;
    }

    body .elementor-location-header .rank1-header-desktop-nav a,
    body .elementor-location-header .rank1-header-desktop-nav .elementor-item {
        font-size: 13.5px;
    }

    body .elementor-location-header .rank1-header-desktop-nav .etheme-elementor-nav-menu > li > a,
    body .elementor-location-header .rank1-header-desktop-nav .menu > li > a {
        padding-inline: 8px;
    }

    body .elementor-location-header .rank1-header-cta {
        min-width: 158px;
    }

    body .elementor-location-header .rank1-header-cta .elementor-button {
        padding-inline: 16px;
        font-size: 14px;
    }
}

@media (max-width: 1279px) {
    body .elementor-location-header .rank1-header-desktop-nav,
    body .elementor-location-header .rank1-header-cta {
        display: none;
    }

    body .elementor-location-header .rank1-header-mobile-nav {
        display: block;
        margin-left: auto;
    }

    body .elementor-location-header .rank1-header-mobile-nav .elementor-button {
        border: 1px solid rgba(255, 255, 255, .55);
        border-radius: 4px;
        background: rgba(5, 35, 58, .34);
        color: #fff;
    }

    body .elementor-location-header .rank1-header-shell.elementor-sticky--effects .rank1-header-mobile-nav .elementor-button,
    body .elementor-location-header .rank1-header-shell.is-scrolled .rank1-header-mobile-nav .elementor-button {
        border-color: var(--alutech-line);
        background: var(--alutech-pale);
        color: var(--alutech-navy);
    }

    /* Mobile zeigt die normale verschachtelte Navigation; Desktop-Static-Blocks
     * werden im Off-Canvas nicht ein zweites Mal ausgegeben. */
    body .etheme-elementor-off-canvas__container .menu-static-block,
    body .etheme-elementor-mobile-menu .menu-static-block {
        display: none;
    }
}

/* -------------------------------------------------------------------------
 * Mega-Menü-Container
 * ---------------------------------------------------------------------- */

body .elementor-location-header .etheme-elementor-nav-menu--dropdown-stretched > .container {
    max-width: none;
    padding: 28px 24px 36px;
}

body .rank1-alutech-mega-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 0;
    width: min(1180px, calc(100vw - 48px));
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--alutech-line);
    border-radius: 12px;
    background: #fff;
    color: var(--alutech-ink);
    box-shadow: 0 24px 70px rgba(5, 31, 52, .18);
}

body .rank1-alutech-mega-shell .rank1-mega-overview {
    display: flex;
    min-width: 0;
    padding: 34px 30px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(145deg, #0b365b, #061d34);
    color: #fff;
}

body .rank1-alutech-mega-shell .rank1-mega-kicker,
body .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title,
body .rank1-alutech-mega-shell .rank1-mega-kicker p {
    margin: 0 0 11px;
    color: var(--alutech-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

body .rank1-alutech-mega-shell .rank1-mega-title,
body .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title,
body .rank1-alutech-mega-shell .rank1-mega-title h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.08;
}

body .rank1-alutech-mega-shell .rank1-mega-copy,
body .rank1-alutech-mega-shell .rank1-mega-copy p {
    max-width: 245px;
    margin: 14px 0 20px;
    color: #c8d8e3;
    font-size: 13px;
    line-height: 1.55;
}

body .rank1-alutech-mega-shell .rank1-mega-button .elementor-button,
body .rank1-alutech-mega-shell .rank1-mega-button a,
body .rank1-alutech-mega-shell a.rank1-mega-button {
    min-height: 43px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
    font-size: 12.5px;
}

body .rank1-alutech-mega-shell .rank1-mega-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    padding: 25px 22px;
    background: #fff;
}

body .rank1-alutech-mega-shell--dienstleistungen .rank1-mega-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .rank1-alutech-mega-shell .rank1-mega-column {
    min-width: 0;
    padding: 0 17px;
    border-left: 1px solid var(--alutech-line);
}

body .rank1-alutech-mega-shell .rank1-mega-column:first-child {
    border-left: 0;
}

body .rank1-alutech-mega-shell .rank1-mega-column-title,
body .rank1-alutech-mega-shell .rank1-mega-column-title .elementor-heading-title,
body .rank1-alutech-mega-shell .rank1-mega-column-title h3 {
    margin: 0 0 9px;
    color: #54778d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

body .rank1-alutech-mega-shell .rank1-mega-links {
    display: grid;
    gap: 0;
}

body .rank1-alutech-mega-shell .rank1-mega-links a {
    display: grid;
    min-height: 66px;
    margin: 0;
    padding: 11px 5px;
    border: 0;
    border-top: 1px solid var(--alutech-line);
    border-radius: 0;
    background: transparent;
    color: var(--alutech-ink);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 10px;
    text-align: left;
    white-space: normal;
}

body .rank1-alutech-mega-shell .rank1-mega-links a strong,
body .rank1-alutech-mega-shell .rank1-mega-links a small {
    display: block;
    min-width: 0;
    white-space: normal;
}

body .rank1-alutech-mega-shell .rank1-mega-links a strong {
    color: var(--alutech-ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

body .rank1-alutech-mega-shell .rank1-mega-links a small {
    margin-top: 3px;
    color: #678195;
    font-size: 10.5px;
    line-height: 1.4;
}

body .rank1-alutech-mega-shell .rank1-mega-links a b {
    align-self: center;
    color: #6c91a9;
    font-size: 15px;
    grid-column: 2;
    grid-row: 1;
}

body .rank1-alutech-mega-shell .rank1-mega-links a:hover,
body .rank1-alutech-mega-shell .rank1-mega-links a:focus-visible {
    padding-left: 11px;
    background: #edf4f8;
    color: var(--alutech-primary);
    outline: 0;
}

/* -------------------------------------------------------------------------
 * Hero, Kontraste und konsistente Abstände
 * ---------------------------------------------------------------------- */

body.rank1-alutech-page .page-hero.dark {
    min-height: clamp(600px, 67vh, 720px);
}

body.rank1-alutech-page .page-hero.dark > .wrap {
    padding-top: clamp(205px, 19vh, 250px);
    padding-bottom: 74px;
}

body.rank1-alutech-page .page-hero h1 {
    max-width: 900px;
    color: #fff;
    font-size: clamp(44px, 4.7vw, 68px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.01;
}

body.rank1-alutech-page .page-hero.dark p {
    max-width: 720px;
    color: #d5e3ed;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.68;
}

body.rank1-alutech-page .page-hero.dark .eyebrow,
body.rank1-alutech-page .page-hero.dark .breadcrumbs,
body.rank1-alutech-page .page-hero.dark .breadcrumbs a {
    color: #c2d8e6;
}

body.rank1-alutech-page .hero h1 {
    font-size: clamp(50px, 5.5vw, 80px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: .99;
}

body.rank1-alutech-page .section,
body.rank1-alutech-page .shop-intro,
body.rank1-alutech-page .project-prompt {
    margin: 0;
}

body.rank1-alutech-page .section {
    padding-block: clamp(78px, 7vw, 108px);
}

body.rank1-alutech-page .section-head {
    margin-bottom: clamp(34px, 4vw, 50px);
}

body.rank1-alutech-page .section-head h2,
body.rank1-alutech-page .split-copy h2 {
    font-size: clamp(38px, 3.7vw, 54px);
    font-weight: 700;
    line-height: 1.07;
}

body.rank1-alutech-page .section.navy,
body.rank1-alutech-page .shop-intro,
body.rank1-alutech-page .contact-choice-panel,
body.rank1-alutech-page .service-process {
    color: #fff;
}

body.rank1-alutech-page .section.navy h1,
body.rank1-alutech-page .section.navy h2,
body.rank1-alutech-page .section.navy h3,
body.rank1-alutech-page .section.navy h4,
body.rank1-alutech-page .shop-intro h1,
body.rank1-alutech-page .shop-intro h2,
body.rank1-alutech-page .shop-intro h3,
body.rank1-alutech-page .contact-choice-panel h2,
body.rank1-alutech-page .contact-choice-panel h3,
body.rank1-alutech-page .service-process h2,
body.rank1-alutech-page .service-process h3 {
    color: #fff;
}

body.rank1-alutech-page :is(.section.navy,.shop-intro,.contact-choice-panel,.service-process,.cta-band) :is(h1,h2,h3,h4,strong),
body.rank1-alutech-page :is(.section.navy,.shop-intro,.contact-choice-panel,.service-process,.cta-band) .elementor-heading-title {
    color: #fff;
}

body.rank1-alutech-page :is(.section.navy,.shop-intro,.contact-choice-panel,.service-process,.cta-band) :is(p,li,dd,dt) {
    color: #c8d8e3;
}

body.rank1-alutech-page .section.navy > .wrap > p,
body.rank1-alutech-page .section.navy .section-head > p,
body.rank1-alutech-page .section.navy .capability-grid p,
body.rank1-alutech-page .shop-intro p,
body.rank1-alutech-page .contact-choice-panel > p,
body.rank1-alutech-page .service-process p {
    color: #c8d8e3;
}

body.rank1-alutech-page .section.navy .eyebrow,
body.rank1-alutech-page .shop-intro .eyebrow,
body.rank1-alutech-page .contact-choice-panel .eyebrow,
body.rank1-alutech-page .service-process .eyebrow {
    color: var(--alutech-accent);
}

body.rank1-alutech-page .section.navy .method-card,
body.rank1-alutech-page .section.navy .service-card,
body.rank1-alutech-page .section.navy .info-card,
body.rank1-alutech-page .section.navy .catalog-column,
body.rank1-alutech-page .section.navy .related-grid a {
    background: #fff;
    color: var(--alutech-ink);
}

body.rank1-alutech-page .section.navy .method-card h3,
body.rank1-alutech-page .section.navy .service-card h3,
body.rank1-alutech-page .section.navy .info-card h3,
body.rank1-alutech-page .section.navy .catalog-column h3,
body.rank1-alutech-page .section.navy .related-grid strong {
    color: var(--alutech-ink);
}

body.rank1-alutech-page .section.navy .method-card p,
body.rank1-alutech-page .section.navy .service-card p,
body.rank1-alutech-page .section.navy .info-card p,
body.rank1-alutech-page .section.navy .catalog-column small,
body.rank1-alutech-page .section.navy .related-grid span {
    color: var(--alutech-text);
}

/* -------------------------------------------------------------------------
 * Thematische Hintergrundgrafiken in gezielt markierten Inhaltsbereichen
 * ---------------------------------------------------------------------- */

body.rank1-alutech-page {
    --rank1-section-art: url('../backgrounds/hintergrund-profile.webp');
}

body.rank1-route-startseite,
body.rank1-route-fertigung,
body.rank1-route-dienstleistungen,
body.rank1-route-service--sonderkantteile,
body.rank1-route-service--schneidtechnik,
body.rank1-route-service--schweisstechnik-wig-mig {
    --rank1-section-art: url('../backgrounds/hintergrund-fertigung.webp');
}

body.rank1-route-kantteile-online-bestellen,
body.rank1-route-shop,
body.rank1-route-warenkorb,
body.rank1-route-kasse,
body.rank1-route-zahlungsarten,
body.rank1-route-versand-abholung {
    --rank1-section-art: url('../backgrounds/hintergrund-konfigurator.webp');
}

body.rank1-route-service--sonderkantteile-nach-mass {
    --rank1-section-art: url('../backgrounds/hintergrund-kantteile.webp');
}

body.rank1-route-service--schneidtechnik {
    --rank1-section-art: url('../backgrounds/hintergrund-schneiden.webp');
}

body.rank1-route-service--schweisstechnik-wig-mig {
    --rank1-section-art: url('../backgrounds/hintergrund-schweissen.webp');
}

body.rank1-route-montage-2 {
    --rank1-section-art: url('../backgrounds/hintergrund-montage.webp');
}

body.rank1-route-kontakt,
body.rank1-route-ansprechpartner,
body.rank1-route-ueber-uns,
body.rank1-route-downloads,
body.rank1-route-kundenbereich,
body.rank1-route-stellenangebote,
body[class*="rank1-route-stellenangebote--"] {
    --rank1-section-art: url('../backgrounds/hintergrund-standort.webp');
}

body.rank1-route-service--mauer-attikaabdeckungen,
body.rank1-route-service--fensterbaenke,
body.rank1-route-service--tuer-tor-fensteranschluesse,
body.rank1-route-service--tropfprofile-aus-aluminium {
    --rank1-section-art: url('../backgrounds/hintergrund-anschluesse.webp');
}

body.rank1-route-galerie,
body.rank1-route-montage-2,
body.rank1-route-ueber-uns,
body.rank1-route-stellenangebote,
body[class*="rank1-route-stellenangebote--"],
body.rank1-route-service--fassadenverkleidung,
body.rank1-route-service--giebelverkleidung {
    --rank1-section-art: url('../backgrounds/hintergrund-fassade.webp');
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section:not(.decor-left)::after {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: clamp(18px, 3vw, 48px);
    width: min(720px, 52vw);
    aspect-ratio: 3 / 2;
    background-image: var(--rank1-section-art);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    content: '';
    opacity: .36;
    pointer-events: none;
    transform: translateY(-50%);
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section.decor-left::after {
    content: none;
    background-image: none;
}

body.rank1-route-startseite .elementor-widget-html > .section.decor-section.decor-facade::after {
    content: none;
    background-image: none;
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section:not(.decor-left).navy::after {
    opacity: .2;
    filter: brightness(1.8) saturate(.55);
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section > .wrap {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */

body.rank1-alutech-page a.btn,
body.rank1-alutech-page button.btn,
body.rank1-alutech-page .elementor-button {
    border-radius: 4px;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: none;
}

body.rank1-alutech-page a.btn:not(.light):not(.outline),
body.rank1-alutech-page button.btn:not(.light):not(.outline) {
    border-color: var(--alutech-primary);
    background: var(--alutech-primary);
    background-image: none;
    color: #fff;
}

body.rank1-alutech-page a.btn:not(.light):not(.outline):hover,
body.rank1-alutech-page button.btn:not(.light):not(.outline):hover {
    border-color: var(--alutech-primary-hover);
    background: var(--alutech-primary-hover);
    color: #fff;
}

/* -------------------------------------------------------------------------
 * Gravity Forms – eine ruhige, moderne Karte ohne Zierstrich
 * ---------------------------------------------------------------------- */

body :is(#gform_wrapper_1,#gform_wrapper_2,#gform_wrapper_3,#gform_wrapper_4),
body .rank1-embedded-form-section .gform_wrapper,
body .rank1-footer-form-column .gform_wrapper {
    --gf-local-main-color: var(--alutech-primary);
    --gf-local-color-primary: var(--alutech-primary);
    --gf-color-primary: var(--alutech-primary);
    color: var(--alutech-ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

body :is(#gform_wrapper_1,#gform_wrapper_2,#gform_wrapper_3,#gform_wrapper_4)::before,
body :is(#gform_wrapper_1,#gform_wrapper_2,#gform_wrapper_3,#gform_wrapper_4)::after,
body .rank1-embedded-form-section .gform_wrapper::before,
body .rank1-embedded-form-section .gform_wrapper::after,
body .rank1-form-section-form-column::before,
body .rank1-form-section-form-column::after,
body .gravity-form-preview::before,
body .gravity-form-preview::after,
body .rank1-footer-form-column::before,
body .rank1-footer-form-column::after {
    display: none;
    content: none;
}

body .rank1-form-section-inner {
    gap: clamp(46px, 6vw, 78px);
    padding-block: clamp(72px, 7vw, 100px);
}

body .rank1-form-section-copy-column {
    padding-top: 20px;
}

body .rank1-form-section-copy h2 {
    max-width: 530px;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.06;
}

body .rank1-form-section-copy > p {
    max-width: 540px;
    color: var(--alutech-text);
    font-size: 16px;
    line-height: 1.7;
}

body .rank1-form-section-form-column {
    padding: clamp(28px, 3.2vw, 44px);
    overflow: hidden;
    border: 1px solid #cbd9e2;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--alutech-shadow);
}

body .rank1-live-inquiry-form,
body .rank1-footer-form-column {
    overflow: hidden;
    border: 1px solid #cbd9e2;
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    background-image: none;
    box-shadow: var(--alutech-shadow);
}

body .rank1-footer-form-column {
    border-left-width: 1px;
}

body .rank1-live-inquiry-form .gform_wrapper,
body .rank1-form-section-form-column .gform_wrapper,
body .rank1-footer-form-column .gform_wrapper {
    background: transparent;
    background-image: none;
}

body .rank1-embedded-form-section :is(#gform_wrapper_1,#gform_wrapper_2,#gform_wrapper_3,#gform_wrapper_4),
body .rank1-embedded-form-section .gform_wrapper,
body .rank1-footer-form-column :is(#gform_wrapper_1,#gform_wrapper_2,#gform_wrapper_3,#gform_wrapper_4),
body .rank1-footer-form-column .gform_wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
}

body .gform_wrapper form.rank1-gform .gform_required_legend {
    margin: 0 0 18px;
    color: #6b7f8f;
    font-size: 12px;
    line-height: 1.45;
}

body .gform_wrapper form.rank1-gform .gform_fields {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px 16px;
}

body .gform_wrapper form.rank1-gform .gform_fields > .gfield {
    float: none;
    clear: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-column: 1 / -1;
}

body .gform_wrapper form.rank1-gform .gform_fields > .gfield.rank1-field-half {
    grid-column: span 6;
}

body .gform_wrapper form.rank1-gform .gform_fields > .gfield.rank1-field-full {
    grid-column: 1 / -1;
}

body .gform_wrapper form.rank1-gform .gfield_label,
body .gform_wrapper form.rank1-gform .gform-field-label,
body .gform_wrapper form.rank1-gform legend.gfield_label {
    margin: 0 0 7px;
    color: var(--alutech-ink);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

body .gform_wrapper form.rank1-gform .gfield_required,
body .gform_wrapper form.rank1-gform .gfield_required_asterisk {
    color: var(--alutech-primary);
}

body .gform_wrapper form.rank1-gform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .gform_wrapper form.rank1-gform select,
body .gform_wrapper form.rank1-gform textarea {
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #b9cbd7;
    border-radius: 10px;
    background: #fff;
    background-image: none;
    color: var(--alutech-ink);
    box-shadow: 0 1px 2px rgba(10, 42, 65, .035);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body .gform_wrapper form.rank1-gform textarea,
body .gform_wrapper form.rank1-gform.rank1-gform-contact textarea,
body .gform_wrapper form.rank1-gform.rank1-gform-quick textarea {
    min-height: 148px;
    height: auto;
    resize: vertical;
}

body .gform_wrapper form.rank1-gform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
body .gform_wrapper form.rank1-gform select:focus,
body .gform_wrapper form.rank1-gform textarea:focus {
    border-color: var(--alutech-primary);
    box-shadow: 0 0 0 4px rgba(25, 82, 123, .11);
}

body .gform_wrapper form.rank1-gform ::placeholder {
    color: #7a8e9e;
    opacity: 1;
}

body .gform_wrapper form.rank1-gform .gfield_description {
    margin-top: 7px;
    padding: 0;
    color: #637b8d;
    font-size: 11.5px;
    line-height: 1.55;
}

body .gform_wrapper form.rank1-gform .rank1-choice-cards .gfield_radio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body .gform_wrapper form.rank1-gform .rank1-choice-cards .gchoice {
    position: relative;
    min-width: 0;
}

body .gform_wrapper form.rank1-gform .rank1-choice-cards .gchoice input {
    position: absolute;
    top: 14px;
    left: 13px;
}

body .gform_wrapper form.rank1-gform .rank1-choice-cards .gchoice label {
    display: flex;
    min-height: 70px;
    margin: 0;
    padding: 13px 13px 13px 43px;
    align-items: center;
    border: 1px solid #bdced9;
    border-radius: 10px;
    background: #fff;
    color: var(--alutech-ink);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    cursor: pointer;
}

body .gform_wrapper form.rank1-gform .rank1-choice-cards .gchoice input:checked + label {
    border-color: var(--alutech-primary);
    background: #edf4f8;
    box-shadow: 0 0 0 2px rgba(25, 82, 123, .1);
}

body .gform_wrapper form.rank1-gform .gf_page_steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 28px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--alutech-line);
}

body .gform_wrapper form.rank1-gform .gf_step {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 12px;
    align-items: center;
    border: 1px solid #d0dce4;
    border-radius: 9px;
    background: #f5f8fa;
    opacity: 1;
}

body .gform_wrapper form.rank1-gform .gf_step.gf_step_active {
    border-color: var(--alutech-primary);
    background: var(--alutech-primary);
    color: #fff;
}

body .gform_wrapper form.rank1-gform .gf_step_number {
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}

body .gform_wrapper form.rank1-gform .gf_step_label {
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .gform_wrapper form.rank1-gform .gform_drop_area,
body .gform_wrapper form.rank1-gform .gform-theme-field-control .gform_drop_area {
    min-height: 116px;
    padding: 22px;
    border: 1px dashed #8faabd;
    border-radius: 12px;
    background: #f4f8fa;
    color: var(--alutech-text);
    text-align: center;
}

body .gform_wrapper form.rank1-gform .gform_button_select_files {
    min-height: 42px;
    margin-top: 9px;
    padding: 9px 15px;
    border: 1px solid var(--alutech-primary);
    border-radius: 4px;
    background: #fff;
    color: var(--alutech-primary);
    font-size: 12px;
    font-weight: 700;
}

body .gform_wrapper form.rank1-gform .rank1-field-consent,
body .gform_wrapper form.rank1-gform .gfield--type-consent {
    padding: 15px 16px;
    border: 1px solid #d8e2e9;
    border-radius: 12px;
    background: #f5f8fa;
}

body .gform_wrapper form.rank1-gform .ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

body .gform_wrapper form.rank1-gform input[type="checkbox"],
body .gform_wrapper form.rank1-gform input[type="radio"] {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: var(--alutech-primary);
}

body .gform_wrapper form.rank1-gform .gform_footer,
body .gform_wrapper form.rank1-gform .gform_page_footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
}

body .gform_wrapper form.rank1-gform :is(.gform_button,.gform_next_button,.gform_previous_button,input[type="submit"],button[type="submit"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 182px;
    min-height: 54px;
    margin: 0;
    padding: 13px 23px;
    border: 1px solid var(--alutech-primary);
    border-radius: 4px;
    background: var(--alutech-primary);
    background-image: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(25, 82, 123, .2);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

body .gform_wrapper form.rank1-gform :is(.gform_button,.gform_next_button,input[type="submit"],button[type="submit"]):hover,
body .gform_wrapper form.rank1-gform :is(.gform_button,.gform_next_button,input[type="submit"],button[type="submit"]):focus-visible {
    border-color: var(--alutech-primary-hover);
    background: var(--alutech-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

body .gform_wrapper form.rank1-gform .gform_previous_button {
    border-color: #aec1ce;
    background: #fff;
    color: var(--alutech-primary);
    box-shadow: none;
}

body .gform_wrapper form.rank1-gform .gf_progressbar_wrapper {
    margin: 0 0 25px;
    padding: 0;
    border: 0;
}

body .gform_wrapper form.rank1-gform .gf_progressbar {
    height: 7px;
    border-radius: 999px;
    background: #dce5eb;
    box-shadow: none;
}

body .gform_wrapper form.rank1-gform .gf_progressbar_percentage {
    height: 7px;
    border-radius: 999px;
    background: var(--alutech-primary);
}

body .gform_wrapper form.rank1-gform .gform_validation_errors,
body .gform_wrapper form.rank1-gform .validation_message {
    border: 1px solid #d9a8a3;
    border-radius: 10px;
    background: #fff6f5;
    color: #8b2c25;
    box-shadow: none;
}

body .gform_wrapper form.rank1-gform .validation_message {
    margin-top: 7px;
    padding: 9px 11px;
    font-size: 12px;
}

body .gform_wrapper .gform_confirmation_message,
body .rank1-form-confirmation {
    padding: 22px;
    border: 1px solid #bfdccc;
    border-radius: 12px;
    background: #f1faf5;
    color: #215f43;
}

/* Die Kontakt- und Anfrageseite enthalten bereits einen ausführlichen
 * Formularabschluss. Dort wird der Formularblock im globalen Footer nicht
 * nochmals wiederholt. */
body.rank1-route-kontakt .elementor-location-footer .rank1-footer-conversion,
body.rank1-route-anfrage-senden .elementor-location-footer .rank1-footer-conversion,
body[class*="rank1-route-stellenangebote--"] .elementor-location-footer .rank1-footer-conversion {
    display: none;
}

/* -------------------------------------------------------------------------
 * Dynamische Zahlungsarten
 * ---------------------------------------------------------------------- */

.rank1-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.rank1-payment-method {
    display: grid;
    min-height: 190px;
    padding: 28px;
    border: 1px solid var(--alutech-line);
    border-top: 4px solid var(--alutech-primary);
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 14px 38px rgba(7, 37, 61, .08);
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 17px;
}

.rank1-payment-method svg {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 10px;
    background: #e9f1f6;
    color: var(--alutech-primary);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.rank1-payment-method h3 {
    margin: 0 0 9px;
    font-size: 22px;
    line-height: 1.2;
}

.rank1-payment-method p {
    margin: 0;
    color: var(--alutech-text);
    font-size: 14px;
    line-height: 1.65;
}

.rank1-payment-note {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 4px solid var(--alutech-accent);
    background: #eaf2f6;
    color: #33566e;
    font-size: 13px;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------
 * Filterbare Projektgalerie mit Lightbox
 * ---------------------------------------------------------------------- */

.rank1-gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 28px;
}

.rank1-gallery-filter {
    min-height: 43px;
    padding: 10px 15px;
    border: 1px solid #afc3d0;
    border-radius: 4px;
    background: #fff;
    color: var(--alutech-ink);
    font-size: 13px;
    font-weight: 700;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.rank1-gallery-filter:hover,
.rank1-gallery-filter:focus-visible,
.rank1-gallery-filter[aria-pressed="true"] {
    border-color: var(--alutech-primary);
    background: var(--alutech-primary);
    color: #fff;
}

.rank1-project-gallery-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.rank1-gallery-card {
    position: relative;
    min-height: 340px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #0b2942;
    box-shadow: 0 16px 42px rgba(6, 34, 56, .14);
    grid-column: span 4;
}

.rank1-gallery-card:nth-child(7n+1),
.rank1-gallery-card:nth-child(7n+5) {
    min-height: 430px;
    grid-column: span 8;
}

.rank1-gallery-card.is-filtered-out {
    display: none;
}

.rank1-gallery-card > a,
.rank1-gallery-card .image {
    display: block;
    width: 100%;
    height: 100%;
}

.rank1-gallery-card .image {
    position: absolute;
    inset: 0;
}

.rank1-gallery-card .image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 24, 42, .02) 24%, rgba(5, 24, 42, .92) 100%);
    content: '';
}

.rank1-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease, filter .35s ease;
}

.rank1-gallery-card figcaption {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 27px 25px;
    color: #fff;
}

.rank1-gallery-card figcaption small,
.rank1-gallery-card figcaption strong,
.rank1-gallery-card figcaption span {
    display: block;
}

.rank1-gallery-card figcaption small {
    margin-bottom: 7px;
    color: var(--alutech-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rank1-gallery-card figcaption strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.rank1-gallery-card figcaption span {
    max-width: 580px;
    margin-top: 8px;
    color: #d5e2ea;
    font-size: 13px;
    line-height: 1.55;
}

.rank1-gallery-card:hover img,
.rank1-gallery-card:focus-within img {
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.045);
}

/* -------------------------------------------------------------------------
 * WooCommerce-Kantteil-Konfigurator
 * ---------------------------------------------------------------------- */

body.rank1-route-kantteile-online-bestellen .rank1-live-configurator {
    position: relative;
    padding-block: clamp(76px, 7vw, 108px);
    overflow: hidden;
    background: linear-gradient(135deg, #f5f8fa 0%, #fff 57%, #e8f0f5 100%);
}

body.rank1-route-kantteile-online-bestellen .rank1-live-configurator::after {
    position: absolute;
    z-index: 0;
    top: 80px;
    right: -100px;
    width: min(780px, 58vw);
    aspect-ratio: 3 / 2;
    background: url('../backgrounds/hintergrund-konfigurator.webp') center / contain no-repeat;
    content: '';
    opacity: .19;
    pointer-events: none;
}

body.rank1-route-kantteile-online-bestellen .rank1-live-configurator > * {
    position: relative;
    z-index: 1;
}

body .rank1-kantteil {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
    color: var(--alutech-ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.62;
}

body .rank1-kantteil__heading {
    margin-bottom: 34px;
}

body .rank1-kantteil__heading h2 {
    max-width: 760px;
    margin: 7px 0 9px;
    color: var(--alutech-ink);
    font-size: clamp(36px, 3.4vw, 48px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.06;
}

body .rank1-kantteil__heading p {
    max-width: 780px;
    color: var(--alutech-text);
    font-size: 15px;
    line-height: 1.68;
}

body .rank1-kantteil__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 24px;
    align-items: start;
}

body .rank1-kantteil__steps {
    display: grid;
    min-width: 0;
    gap: 18px;
}

body .rank1-kantteil__step {
    min-width: 0;
    margin: 0;
    padding: clamp(22px, 2.2vw, 30px);
    border: 1px solid #cbd9e2;
    border-radius: 12px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(7, 37, 61, .065);
}

body .rank1-kantteil__step > legend {
    color: var(--alutech-ink);
}

body .rank1-kantteil__profiles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;
}

body .rank1-kantteil__profiles button,
body .rank1-kantteil__materials button {
    min-width: 0;
    border: 1px solid #c5d5df;
    border-radius: 9px;
    background: #fff;
    background-image: none;
    color: var(--alutech-ink);
    box-shadow: none;
}

body .rank1-kantteil__profiles button strong,
body .rank1-kantteil__materials button strong,
body .rank1-kantteil__profiles button[aria-pressed="true"] strong,
body .rank1-kantteil__materials button[aria-pressed="true"] strong {
    color: var(--alutech-ink);
}

body .rank1-kantteil__profiles button:hover,
body .rank1-kantteil__profiles button:focus-visible,
body .rank1-kantteil__profiles button[aria-pressed="true"],
body .rank1-kantteil__materials button:hover,
body .rank1-kantteil__materials button:focus-visible,
body .rank1-kantteil__materials button[aria-pressed="true"] {
    border-color: var(--alutech-primary);
    background: #edf4f8;
    color: var(--alutech-ink);
    box-shadow: 0 0 0 2px rgba(25, 82, 123, .1);
}

body .rank1-kantteil__geometry {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
    gap: 22px;
    align-items: start;
}

body .rank1-kantteil__drawing {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #c4d4de;
    border-radius: 10px;
    background: #eef3f6;
}

body .rank1-kantteil__drawing svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 320px;
}

body .rank1-kantteil__dimensions,
body .rank1-kantteil__materials,
body .rank1-kantteil__finishes {
    min-width: 0;
}

body .rank1-kantteil__field input,
body .rank1-kantteil__field select {
    border: 1px solid #b9cbd7;
    border-radius: 9px;
    background: #fff;
    color: var(--alutech-ink);
    font-size: 15px;
}

body .rank1-kantteil__summary {
    top: 132px;
    min-width: 0;
    padding: 26px;
    border: 1px solid #bfd0db;
    border-top: 4px solid var(--alutech-primary);
    border-radius: 10px;
    background: #fff;
    color: var(--alutech-ink);
    box-shadow: 0 18px 48px rgba(6, 34, 56, .13);
}

body .rank1-kantteil__summary :is(h2,h3,strong,dt,dd) {
    color: var(--alutech-ink);
}

body .rank1-kantteil__primary,
body .rank1-kantteil__secondary,
body .rank1-kantteil__actions a,
body .rank1-kantteil__actions button {
    border-radius: 4px;
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-weight: 700;
}

body .rank1-kantteil__primary,
body .rank1-kantteil__actions .button.alt {
    border-color: var(--alutech-primary);
    background: var(--alutech-primary);
    background-image: none;
    color: #fff;
}

body .rank1-kantteil__primary:hover,
body .rank1-kantteil__actions .button.alt:hover {
    border-color: var(--alutech-primary-hover);
    background: var(--alutech-primary-hover);
    color: #fff;
}

@media (max-width: 1050px) {
    body .rank1-kantteil__layout,
    body .rank1-kantteil__geometry {
        grid-template-columns: 1fr;
    }

    body .rank1-kantteil__summary {
        position: relative;
        top: auto;
    }
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

body .elementor-location-footer,
body .elementor-location-footer .rank1-footer-main,
body .elementor-location-footer .rank1-footer-conversion {
    margin: 0;
}

body .elementor-location-footer .rank1-footer-main {
    padding-top: clamp(60px, 6vw, 78px);
}

body .elementor-location-footer .rank1-footer-columns > .e-con-inner {
    align-items: flex-start;
}

body .elementor-location-footer .rank1-footer-legal > .e-con-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body .elementor-location-footer .rank1-footer-legal-links {
    margin-left: auto;
}

body .elementor-location-footer .rank1-footer-legal-links .elementor-icon-list-items {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 22px;
    margin: 0;
}

body .elementor-location-footer .rank1-footer-legal-links .elementor-icon-list-item {
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    body.rank1-alutech-page .page-hero.dark > .wrap {
        padding-top: 205px;
    }

    body.rank1-alutech-page .rank1-form-section-inner {
        flex-direction: column;
    }

    body.rank1-alutech-page .rank1-form-section-inner > .e-con {
        width: 100%;
    }

    .rank1-project-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rank1-gallery-card,
    .rank1-gallery-card:nth-child(7n+1),
    .rank1-gallery-card:nth-child(7n+5) {
        min-height: 360px;
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    body.rank1-alutech-page {
        font-size: 16px;
    }

    body.rank1-alutech-page .page-hero.dark {
        min-height: 570px;
    }

    body.rank1-alutech-page .page-hero.dark > .wrap {
        padding-top: 164px;
        padding-bottom: 54px;
    }

    body.rank1-alutech-page .page-hero h1 {
        font-size: clamp(38px, 11vw, 50px);
        line-height: 1.03;
    }

    body.rank1-alutech-page .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    body.rank1-alutech-page .section {
        padding-block: 66px;
    }

    body.rank1-alutech-page .section-head h2,
    body.rank1-alutech-page .split-copy h2,
    body .rank1-form-section-copy h2 {
        font-size: clamp(32px, 9.5vw, 42px);
    }

    body.rank1-alutech-page .elementor-widget-html > .section.decor-section:not(.decor-left)::after {
        top: 56px;
        right: 8px;
        left: auto;
        width: min(340px, 92vw);
        opacity: .18;
        transform: none;
    }

    body .rank1-form-section-inner {
        padding-block: 62px;
    }

    body .rank1-form-section-copy-column {
        padding-top: 0;
    }

    body .rank1-form-section-form-column {
        padding: 24px 18px;
        border-radius: 14px;
    }

    body .gform_wrapper form.rank1-gform .gform_fields > .gfield.rank1-field-half,
    body .gform_wrapper form.rank1-gform .gform_fields > .gfield.rank1-field-full {
        grid-column: 1 / -1;
    }

    body .gform_wrapper form.rank1-gform .rank1-choice-cards .gfield_radio,
    body .gform_wrapper form.rank1-gform .gf_page_steps {
        grid-template-columns: 1fr;
    }

    body .gform_wrapper form.rank1-gform .gf_step {
        min-height: 44px;
    }

    body .gform_wrapper form.rank1-gform .gform_footer,
    body .gform_wrapper form.rank1-gform .gform_page_footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    body .gform_wrapper form.rank1-gform :is(.gform_button,.gform_next_button,.gform_previous_button,input[type="submit"],button[type="submit"]) {
        width: 100%;
        min-width: 0;
    }

    .rank1-payment-methods,
    .rank1-project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .rank1-gallery-card,
    .rank1-gallery-card:nth-child(7n+1),
    .rank1-gallery-card:nth-child(7n+5) {
        min-height: 330px;
        grid-column: 1;
    }

    body.rank1-route-kantteile-online-bestellen .rank1-live-configurator {
        padding-block: 62px;
    }

    body.rank1-route-kantteile-online-bestellen .rank1-live-configurator::after {
        top: 45px;
        right: -310px;
        width: 680px;
        opacity: .13;
    }

    body .rank1-kantteil {
        width: min(92%, 1280px);
    }

    body .rank1-kantteil__heading h2 {
        font-size: clamp(32px, 9vw, 40px);
    }

    body .rank1-kantteil__profiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .rank1-kantteil__profiles button:last-child {
        grid-column: 1 / -1;
    }

    body .rank1-kantteil__step,
    body .rank1-kantteil__summary {
        padding: 20px 17px;
    }

    body .rank1-kantteil__drawing svg {
        min-height: 230px;
    }

    body .elementor-location-footer .rank1-footer-legal > .e-con-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    body .elementor-location-footer .rank1-footer-legal-links {
        margin-left: 0;
    }

    body .elementor-location-footer .rank1-footer-legal-links .elementor-icon-list-items {
        justify-content: flex-start;
    }
}

/* -------------------------------------------------------------------------
 * 3.2.4 – keine Zierlinien, lesbares Mega-Menü, ruhige Formularschritte
 * ---------------------------------------------------------------------- */

body .elementor-location-header .etheme-elementor-nav-menu--dropdown-stretched > .container {
    padding-inline: 20px;
}

body .rank1-alutech-mega-shell {
    width: min(1500px, calc(100vw - 40px));
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
}

body .rank1-alutech-mega-shell,
body .rank1-alutech-mega-shell .rank1-mega-overview,
body .rank1-alutech-mega-shell .rank1-mega-overview * {
    white-space: normal !important;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title * {
    color: #9fc2d7 !important;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title * {
    color: #fff !important;
    overflow-wrap: anywhere;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-copy,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-copy p,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-copy p * {
    color: #c8d8e3 !important;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-button .elementor-button,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-button .elementor-button-text,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-button .elementor-button-icon {
    color: #fff !important;
}

body .elementor-location-footer .rank1-footer-benefits span,
body .elementor-location-footer .rank1-footer-direct-contact a,
body .elementor-location-footer .rank1-footer-direct-contact a:hover,
body .elementor-location-footer .rank1-footer-direct-contact a:focus-visible {
    border: 0 !important;
    border-block: 0 !important;
    box-shadow: none !important;
}

body .elementor-location-footer .rank1-footer-benefits span {
    min-height: 58px;
    background: rgba(255, 255, 255, .07);
}

body .elementor-location-footer .rank1-footer-direct-contact .elementor-icon-list-items {
    gap: 12px;
}

body .elementor-location-footer .rank1-footer-direct-contact a {
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

body .elementor-location-footer .rank1-footer-direct-contact a:hover,
body .elementor-location-footer .rank1-footer-direct-contact a:focus-visible {
    background: rgba(255, 255, 255, .14);
}

body .gform_wrapper .gform_required_legend,
body .gform_wrapper .gform_heading:has(.gform_required_legend:only-child) {
    display: none !important;
}

body .gform_wrapper form.rank1-gform .gf_page_steps,
body .gform_wrapper form.rank1-gform .gf_page_steps::before,
body .gform_wrapper form.rank1-gform .gf_page_steps::after,
body .gform_wrapper form.rank1-gform .gf_step,
body .gform_wrapper form.rank1-gform .gf_step::before,
body .gform_wrapper form.rank1-gform .gf_step::after {
    border: 0 !important;
    border-block: 0 !important;
    box-shadow: none !important;
}

body .gform_wrapper form.rank1-gform .gf_page_steps::before,
body .gform_wrapper form.rank1-gform .gf_page_steps::after,
body .gform_wrapper form.rank1-gform .gf_step::before,
body .gform_wrapper form.rank1-gform .gf_step::after {
    display: none !important;
    content: none !important;
}

body .gform_wrapper form.rank1-gform .gf_step {
    background: #eaf1f5;
}

body .gform_wrapper form.rank1-gform .gf_step.gf_step_active {
    background: linear-gradient(135deg, #19527b, #236b94);
    box-shadow: 0 8px 20px rgba(25, 82, 123, .18) !important;
}

@media (max-width: 1180px) {
    body .rank1-alutech-mega-shell {
        width: min(1120px, calc(100vw - 32px));
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    body .elementor-location-footer .rank1-footer-benefits {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
 * 3.2.5 – erkennbare Leistungsbilder und kompakter Anfrageabschluss
 *
 * Die Motive waren technisch verschieden, wurden in den Leistungslisten aber
 * nur mit 76 × 76 Pixeln gezeigt. Dadurch wirkten sie wie austauschbare Icons.
 * Diese Regeln geben ihnen ein lesbares Querformat. Gleichzeitig wird der
 * mehrstufige Footer-Abschluss verdichtet, ohne Felder oder Kontaktwege zu
 * entfernen.
 * ---------------------------------------------------------------------- */

body.rank1-alutech-page .panorama-catalog .catalog-column > .image {
    height: 260px;
}

body.rank1-alutech-page .panorama-catalog .catalog-row {
    min-height: 142px;
    padding: 17px 18px;
    grid-template-columns: 112px minmax(0, 1fr) 18px;
    gap: 17px;
}

body.rank1-alutech-page .panorama-catalog .catalog-thumb {
    width: 112px;
    height: 84px;
    overflow: hidden;
    border-radius: 8px;
    background: #dce7ee;
    box-shadow: inset 0 0 0 1px rgba(11, 39, 65, .06);
}

body.rank1-alutech-page .panorama-catalog .catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.rank1-alutech-page .panorama-catalog .catalog-row strong {
    font-size: 16px;
    line-height: 1.3;
}

body.rank1-alutech-page .panorama-catalog .catalog-row small {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.48;
}

body .elementor-location-footer .rank1-footer-conversion {
    padding-block: 56px;
}

body .elementor-location-footer .rank1-footer-conversion-inner > .e-con-inner {
    gap: clamp(38px, 4vw, 60px);
    align-items: center;
}

body .elementor-location-footer .rank1-footer-conversion-copy {
    padding-block: 8px;
}

body .elementor-location-footer .rank1-footer-title .elementor-heading-title {
    font-size: clamp(38px, 3.35vw, 48px);
    line-height: 1.05;
}

body .elementor-location-footer .rank1-footer-copy,
body .elementor-location-footer .rank1-footer-copy p {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
}

body .elementor-location-footer .rank1-footer-benefits {
    margin-top: 20px;
}

body .elementor-location-footer .rank1-footer-benefits span {
    min-height: 52px;
    padding: 10px 11px;
}

body .elementor-location-footer .rank1-footer-direct-contact {
    margin-top: 20px;
}

body .elementor-location-footer .rank1-footer-form-column {
    --gap: 0px;
    gap: 0;
    padding: 28px 30px 30px;
    border-radius: 18px;
}

body .elementor-location-footer .rank1-form-card-kicker,
body .elementor-location-footer .rank1-form-card-title,
body .elementor-location-footer .rank1-form-card-copy,
body .elementor-location-footer .rank1-footer-form {
    margin-bottom: 0;
}

body .elementor-location-footer .rank1-form-card-title {
    margin-top: 7px;
}

body .elementor-location-footer .rank1-form-card-copy,
body .elementor-location-footer .rank1-form-card-copy p {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.55;
}

body .elementor-location-footer .rank1-footer-form {
    margin-top: 18px;
}

body .rank1-form-section-form-column {
    padding: clamp(28px, 2.6vw, 38px);
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gf_page_steps,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gf_page_steps {
    gap: 7px;
    margin-bottom: 18px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gf_step,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gf_step {
    min-height: 48px;
    padding: 8px 10px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gform_fields,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_fields {
    gap: 12px 14px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .rank1-form-section-form-column .gform_wrapper form.rank1-gform select,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .rank1-footer-form-column .gform_wrapper form.rank1-gform select {
    min-height: 50px;
    padding-block: 11px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .alutech-partial-notice,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .alutech-partial-notice {
    margin-top: 12px;
    padding: 10px 12px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gform_page_footer,
body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gform_footer,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_page_footer,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_footer {
    margin-top: 16px;
    padding-top: 0;
    border: 0 !important;
    border-block: 0 !important;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform :is(.gform_button,.gform_next_button,.gform_previous_button,input[type="submit"],button[type="submit"]),
body .rank1-footer-form-column .gform_wrapper form.rank1-gform :is(.gform_button,.gform_next_button,.gform_previous_button,input[type="submit"],button[type="submit"]) {
    min-height: 50px;
    padding-block: 11px;
}

body.rank1-alutech-page .elementor-widget-html :is(.actions,.project-actions,.cta-actions),
body .gform_wrapper form.rank1-gform :is(.gform_page_footer,.gform_footer) {
    border-top: 0 !important;
    border-block-start: 0 !important;
    box-shadow: none;
}

@media (max-width: 1180px) {
    body.rank1-alutech-page .panorama-catalog .catalog-row {
        grid-template-columns: 124px minmax(0, 1fr) 18px;
    }

    body.rank1-alutech-page .panorama-catalog .catalog-thumb {
        width: 124px;
        height: 90px;
    }
}

@media (max-width: 767px) {
    body.rank1-alutech-page .panorama-catalog .catalog-column > .image {
        height: 220px;
    }

    body.rank1-alutech-page .panorama-catalog .catalog-row {
        min-height: 0;
        padding: 15px;
        grid-template-columns: 96px minmax(0, 1fr) 16px;
        gap: 13px;
    }

    body.rank1-alutech-page .panorama-catalog .catalog-thumb {
        width: 96px;
        height: 72px;
    }

    body.rank1-alutech-page .panorama-catalog .catalog-row small {
        font-size: 10.5px;
    }

    body .elementor-location-footer .rank1-footer-conversion {
        padding-block: 46px;
    }

    body .elementor-location-footer .rank1-footer-form-column {
        padding: 24px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body *,
    body *::before,
    body *::after {
        scroll-behavior: auto;
        transition-duration: .01ms;
        animation-duration: .01ms;
        animation-iteration-count: 1;
    }
}

/* 3.1.1: jede Seitengruppe erhält ein eigenes, inhaltlich passendes Motiv. */
body.rank1-route-service--schweisstechnik-wig-mig {
    --rank1-section-art: url('../backgrounds/hintergrund-schweissen.webp');
}

body.rank1-route-service--schneidtechnik {
    --rank1-section-art: url('../backgrounds/hintergrund-schneiden.webp');
}

body.rank1-route-montage-2,
body.rank1-route-service--unterkonstruktionen-aus-aluminium {
    --rank1-section-art: url('../backgrounds/hintergrund-montage.webp');
}

body.rank1-route-service--sonderkantteile,
body.rank1-route-service--sonderkantteile-nach-mass {
    --rank1-section-art: url('../backgrounds/hintergrund-kantteile.webp');
}

body.rank1-route-service--fensterbaenke,
body.rank1-route-service--mauer-attikaabdeckungen,
body.rank1-route-service--tropfprofile-aus-aluminium,
body.rank1-route-service--tuer-tor-fensteranschluesse {
    --rank1-section-art: url('../backgrounds/hintergrund-anschluesse.webp');
}

body.rank1-route-kantteile-online-bestellen,
body.rank1-route-anfrage-senden,
body.rank1-route-shop,
body.rank1-route-warenkorb,
body.rank1-route-kasse,
body.rank1-route-zahlungsarten,
body.rank1-route-versand-abholung {
    --rank1-section-art: url('../backgrounds/hintergrund-konfigurator.webp');
}

body.rank1-route-ueber-uns,
body.rank1-route-kontakt,
body.rank1-route-ansprechpartner,
body.rank1-route-kundenbereich {
    --rank1-section-art: url('../backgrounds/hintergrund-standort.webp');
}

body.rank1-route-stellenangebote,
body[class*="rank1-route-stellenangebote--"] {
    --rank1-section-art: url('../backgrounds/hintergrund-karriere.webp');
}

body.rank1-route-galerie,
body.rank1-route-service--fassadenverkleidung,
body.rank1-route-service--giebelverkleidung,
body.rank1-route-service--lisenen-zierprofile,
body.rank1-route-service--werbeschilder,
body.rank1-route-fenster-tuerfuellungen {
    --rank1-section-art: url('../backgrounds/hintergrund-fassade.webp');
}

/* 3.1.5: Motiv nur einmal rechts im ersten Inhaltsbereich; keine Überlagerung
 * des Hero-Fotos und keine Wiederholung kurz vor dem Footer. */
body.rank1-alutech-page .elementor-widget-html > .page-hero::after,
body.rank1-alutech-page .elementor-widget-html > .hero::after {
    content: none;
    background-image: none;
}

/* Der Projekt-CTA besitzt bewusst eine helle Fläche. */
body.rank1-alutech-page .project-prompt,
body.rank1-alutech-page .project-prompt :is(h1,h2,h3,h4,strong) {
    color: #0b2741;
}

body.rank1-alutech-page .elementor-widget-html > .project-prompt {
    border-block: 1px solid #c6d7e2;
    background: linear-gradient(115deg, #e8f0f5 0%, #f7fafc 47%, #dce8ef 100%);
}

body.rank1-alutech-page .project-prompt :is(p,li,dd,dt) {
    color: #49667e;
}

body.rank1-alutech-page .project-prompt .eyebrow {
    color: #19527b;
}

/* Anwendungsbilder vollständig zeigen, ohne ausgeschnittene Blindfläche. */
body.rank1-alutech-page .service-usecases-media {
    min-height: 0;
    overflow: hidden;
}

body.rank1-alutech-page .service-usecases-media img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

body.rank1-alutech-page .service-usecases-media::after {
    display: none;
}

/* 3.1.6: Elementor blendet CSS-Hintergrundbilder später Container bis zum
 * Lazy-Load mit background-image:none!important aus. Die feste Grundfarbe
 * hält weiße Texte auch vor dem Nachladen jederzeit lesbar. */
body.rank1-alutech-page .elementor-widget-html > .section.conversion-proof {
    background-color: #082745 !important;
}

body.rank1-alutech-page .elementor-widget-html > .section.cta-band {
    background-color: #0a3154 !important;
}

body.rank1-alutech-page .elementor-widget-html > .section.service-process {
    background-color: #082745 !important;
}

/* 3.1.7: ein eigenes Motiv für jede Leistungsseite. */
body.rank1-route-service--aluminiumprofile-nach-mass {
    --rank1-section-art: url('../backgrounds/hintergrund-aluminiumprofile.webp');
}

body.rank1-route-service--fassadenverkleidung {
    --rank1-section-art: url('../backgrounds/hintergrund-fassadenverkleidung.webp');
}

body.rank1-route-service--fensterbaenke {
    --rank1-section-art: url('../backgrounds/hintergrund-fensterbank.webp');
}

body.rank1-route-service--giebelverkleidung {
    --rank1-section-art: url('../backgrounds/hintergrund-giebel.webp');
}

body.rank1-route-service--lisenen-zierprofile {
    --rank1-section-art: url('../backgrounds/hintergrund-lisenen.webp');
}

body.rank1-route-service--mauer-attikaabdeckungen {
    --rank1-section-art: url('../backgrounds/hintergrund-attika.webp');
}

body.rank1-route-service--schneidtechnik {
    --rank1-section-art: url('../backgrounds/hintergrund-schneidtechnik.webp');
}

body.rank1-route-service--schweisstechnik-wig-mig {
    --rank1-section-art: url('../backgrounds/hintergrund-schweisstechnik.webp');
}

body.rank1-route-service--sonderkantteile {
    --rank1-section-art: url('../backgrounds/hintergrund-cnc-abkanten.webp');
}

body.rank1-route-service--sonderkantteile-nach-mass {
    --rank1-section-art: url('../backgrounds/hintergrund-sonderkantteile.webp');
}

body.rank1-route-service--tropfprofile-aus-aluminium {
    --rank1-section-art: url('../backgrounds/hintergrund-tropfprofile.webp');
}

body.rank1-route-service--tuer-tor-fensteranschluesse {
    --rank1-section-art: url('../backgrounds/hintergrund-anschlussrahmen.webp');
}

body.rank1-route-service--unterkonstruktionen-aus-aluminium {
    --rank1-section-art: url('../backgrounds/hintergrund-unterkonstruktion.webp');
}

body.rank1-route-service--werbeschilder {
    --rank1-section-art: url('../backgrounds/hintergrund-werbeschilder.webp');
}

/* 3.1.8: fachlich eindeutige Zuordnung auch außerhalb der Leistungsseiten. */
body.rank1-route-startseite {
    --rank1-section-art: url('../backgrounds/hintergrund-profile.webp');
}

body.rank1-route-fertigung {
    --rank1-section-art: url('../backgrounds/hintergrund-fertigung.webp');
}

body.rank1-route-dienstleistungen {
    --rank1-section-art: url('../backgrounds/hintergrund-kantteile.webp');
}

body.rank1-route-service {
    --rank1-section-art: url('../backgrounds/hintergrund-konfigurator.webp');
}

body.rank1-route-montage-2 {
    --rank1-section-art: url('../backgrounds/hintergrund-montage.webp');
}

body.rank1-route-kontakt,
body.rank1-route-ansprechpartner,
body.rank1-route-ueber-uns {
    --rank1-section-art: url('../backgrounds/hintergrund-standort.webp');
}

body.rank1-route-downloads {
    --rank1-section-art: url('../backgrounds/hintergrund-downloads.webp');
}

body.rank1-route-stellenangebote,
body[class*="rank1-route-stellenangebote--"] {
    --rank1-section-art: url('../backgrounds/hintergrund-karriere.webp');
}

body.rank1-route-fenster-tuerfuellungen {
    --rank1-section-art: url('../backgrounds/hintergrund-fenster-tuerfuellungen.webp');
}

/* Auf Rechtsseiten wäre ein Metallbau-Motiv inhaltlich irreführend. */
body.rank1-route-allgemeine-geschaeftsbedingungen .elementor-widget-html > .section.decor-section::after,
body.rank1-route-datenschutzerklaerung .elementor-widget-html > .section.decor-section::after,
body.rank1-route-impressum .elementor-widget-html > .section.decor-section::after {
    content: none !important;
    background-image: none !important;
}

/* Die neuen Bilder besitzen links bewusst Weißraum und bleiben rechts vollständig sichtbar. */
body.rank1-alutech-page .elementor-widget-html > .section.decor-section:not(.decor-left)::after {
    right: clamp(-26px, -1.5vw, -8px);
    width: min(780px, 58vw);
    opacity: .42;
}

@media (max-width: 767px) {
    body.rank1-alutech-page .elementor-widget-html > .section.decor-section:not(.decor-left)::after {
        right: -38vw;
        width: 92vw;
        opacity: .14;
    }
}

/* -------------------------------------------------------------------------
 * 3.2.0: ruhige, eindeutige Inhaltsmotive und einheitliche FAQ-Darstellung
 * ---------------------------------------------------------------------- */

/* Die frühere Linien-/Viereck-Skizze war eine zusätzliche CSS-Ebene und lag
 * unabhängig vom eigentlichen Seitenmotiv über mehreren Inhaltsbereichen. */
body.rank1-alutech-page .elementor-widget-html > .section.decor-section::before,
body.rank1-alutech-page .section.decor-section::before {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    background: none !important;
    content: none !important;
    clip-path: none !important;
    transform: none !important;
}

/* Kein Motiv wird automatisch an jede dekorierte Sektion gehängt. Nur die in
 * den Seitentemplates einmalig gesetzte Klasse section-art darf es anzeigen. */
body.rank1-alutech-page .elementor-widget-html > .section.decor-section::after {
    display: none !important;
    background-image: none !important;
    content: none !important;
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section.section-art:not(.decor-left)::after {
    display: block !important;
    top: 50%;
    right: 0;
    width: min(640px, 46vw);
    max-height: calc(100% - 48px);
    background-image: var(--rank1-section-art) !important;
    background-position: right center;
    background-size: contain;
    content: '' !important;
    opacity: .24;
    transform: translateY(-50%);
}

body.rank1-alutech-page .elementor-widget-html > .section.decor-section.section-art.navy::after {
    opacity: .13;
    filter: brightness(1.45) saturate(.5);
}

/* Eigene, klare Zuordnung für die übergeordneten Seiten. Die 14
 * Leistungsseiten behalten ihre jeweils individuellen Motive aus 3.1.7. */
body.rank1-route-startseite {
    --rank1-section-art: url('../backgrounds/hintergrund-aluminiumprofile.webp');
}

body.rank1-route-fertigung,
body.rank1-route-dienstleistungen,
body.rank1-route-gewerbekunden,
body.rank1-route-kantteile-online-bestellen {
    --rank1-section-art: url('../backgrounds/hintergrund-cnc-abkanten.webp');
}

body.rank1-route-service {
    --rank1-section-art: url('../backgrounds/hintergrund-sonderkantteile.webp');
}

body.rank1-route-montage-2 {
    --rank1-section-art: url('../backgrounds/hintergrund-unterkonstruktion.webp');
}

body.rank1-route-privatkunden {
    --rank1-section-art: url('../backgrounds/hintergrund-fassadenverkleidung.webp');
}

/* Warenkorb, Kasse, Konto, Shop, Zahlungs-/Versand- und Rechtsseiten bleiben
 * bewusst ohne Ziergrafik: Dort soll ausschließlich die Aufgabe zählen. */
body:is(.rank1-route-allgemeine-geschaeftsbedingungen,
        .rank1-route-datenschutzerklaerung,
        .rank1-route-impressum,
        .rank1-route-shop,
        .rank1-route-warenkorb,
        .rank1-route-kasse,
        .rank1-route-mein-konto,
        .rank1-route-kundenbereich,
        .rank1-route-zahlungsarten,
        .rank1-route-versand-abholung)
    .elementor-widget-html > .section.decor-section::after {
    display: none !important;
    background-image: none !important;
    content: none !important;
}

/* Sämtliche Trennlinien über CTA-/Button-Gruppen entfernen. */
body.rank1-alutech-page .section-actions,
body.rank1-alutech-page .real-work-intro .section-actions,
body.rank1-alutech-page .navy .section-actions {
    margin-top: 32px;
    padding-top: 0 !important;
    border-top: 0 !important;
    border-block-start: 0 !important;
}

/* Startseite und Leistungsseiten verwenden dieselbe FAQ-Komponente. */
body.rank1-alutech-page .service-faq {
    border: 0;
    background: #fff;
}

body.rank1-alutech-page .service-faq-grid {
    display: grid;
    grid-template-columns: minmax(260px, .66fr) minmax(0, 1.34fr);
    gap: clamp(55px, 8vw, 115px);
    align-items: start;
}

body.rank1-alutech-page .service-faq-intro {
    position: sticky;
    top: 125px;
}

body.rank1-alutech-page .service-faq-intro h2 {
    margin-top: 12px;
    color: #0b2741;
    font-size: clamp(39px, 3.75vw, 58px);
    font-weight: 700;
    line-height: 1.05;
}

body.rank1-alutech-page .service-faq-intro > p {
    margin-top: 22px;
    color: #49667e;
    font-size: 17px;
    line-height: 1.76;
}

body.rank1-alutech-page .service-faq-list details {
    margin: 0;
    border: 0;
    border-top: 1px solid #cbd9e2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.rank1-alutech-page .service-faq-list details:last-child {
    border-bottom: 1px solid #cbd9e2;
}

body.rank1-alutech-page .service-faq-list summary {
    position: relative;
    display: block;
    padding: 26px 52px 26px 0;
    color: #0b2741;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

body.rank1-alutech-page .service-faq-list summary::-webkit-details-marker {
    display: none;
}

body.rank1-alutech-page .service-faq-list summary::after {
    position: absolute;
    top: 23px;
    right: 0;
    color: #19527b;
    font-size: 25px;
    font-weight: 400;
    content: '+';
}

body.rank1-alutech-page .service-faq-list details[open] summary::after {
    content: '−';
}

body.rank1-alutech-page .service-faq-list details p {
    max-width: 780px;
    margin: 0;
    padding: 0 50px 27px 0;
    color: #49667e;
    font-size: 16.5px;
    line-height: 1.76;
}

/* -------------------------------------------------------------------------
 * 3.2.2 – Konfliktfreie Aktionen, ruhigeres Mega-Menü und kompakter Footer
 * ---------------------------------------------------------------------- */

/* XStore verwendet die sehr allgemeine WooCommerce-Klasse `.actions` für
 * eine Tabellenzeile mit Trennlinie. Unsere redaktionellen CTA-Gruppen tragen
 * dieselbe Klasse und müssen deshalb innerhalb der HTML-Widgets neutralisiert
 * werden, ohne Warenkorb oder Kasse anzutasten. */
body.rank1-alutech-page .elementor-widget-html .actions {
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-block: 0 !important;
    text-align: left !important;
}

/* Die Mega-Menü-Ziele werden über Abstand und Hoverfläche gruppiert – nicht
 * mehr durch eine Reihe schwerer waagerechter Linien. */
body .rank1-alutech-mega-shell .rank1-mega-links {
    gap: 4px;
}

body .rank1-alutech-mega-shell .rank1-mega-links a,
body .rank1-alutech-mega a {
    padding-inline: 10px;
    border-top: 0 !important;
    border-block-start: 0 !important;
    border-radius: 5px;
}

body .rank1-alutech-mega-shell .rank1-mega-links a:hover,
body .rank1-alutech-mega-shell .rank1-mega-links a:focus-visible {
    padding-left: 14px;
}

body .elementor-location-footer .rank1-footer-conversion {
    padding-block: clamp(72px, 7vw, 92px);
}

body .elementor-location-footer .rank1-footer-conversion-inner > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
    gap: clamp(54px, 6vw, 86px);
    align-items: start;
}

body .elementor-location-footer .rank1-footer-conversion-copy,
body .elementor-location-footer .rank1-footer-form-column {
    width: auto;
    min-width: 0;
}

body .elementor-location-footer .rank1-footer-form-column {
    padding: clamp(30px, 3.2vw, 42px);
    border: 1px solid rgba(159, 194, 215, .72);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 13, 25, .3);
}

body .elementor-location-footer .rank1-footer-title .elementor-heading-title {
    max-width: 650px;
}

body .elementor-location-footer .rank1-footer-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 26px;
}

body .elementor-location-footer .rank1-footer-benefits span {
    display: flex;
    min-height: 64px;
    padding: 12px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .055);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

body .elementor-location-footer .rank1-footer-benefits b {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(159, 194, 215, .18);
    color: #cbe1ee;
    font-size: 10px;
    letter-spacing: .05em;
}

body .gform_wrapper form.rank1-gform .gform_required_legend {
    display: none;
}

body .gform_wrapper form.rank1-gform .gf_page_steps {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: 0;
}

body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_fields {
    gap: 16px;
}

body .rank1-footer-form-column .gform_wrapper form.rank1-gform textarea {
    min-height: 118px;
}

body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_drop_area,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform-theme-field-control .gform_drop_area {
    min-height: 94px;
    padding: 18px;
}

body .gform_wrapper form.rank1-gform .gform_page_footer,
body .gform_wrapper form.rank1-gform .gform_footer {
    border: 0 !important;
    border-block: 0 !important;
}

body .elementor-location-footer .rank1-footer-main {
    padding-top: 0;
}

body .elementor-location-footer .rank1-footer-contact-bar-widget {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 42px 0 38px;
}

body .elementor-location-footer .rank1-footer-contact-bar {
    display: grid;
    grid-template-columns: minmax(230px, 1.15fr) repeat(3, minmax(170px, 1fr)) auto;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    overflow: hidden;
}

body .elementor-location-footer .rank1-footer-contact-intro,
body .elementor-location-footer .rank1-footer-contact-bar > a {
    display: flex;
    min-width: 0;
    min-height: 92px;
    padding: 18px 20px;
    flex-direction: column;
    justify-content: center;
}

body .elementor-location-footer .rank1-footer-contact-bar > a {
    border-left: 1px solid rgba(255, 255, 255, .11);
    color: #d7e5ed;
    transition: background-color .18s ease, color .18s ease;
}

body .elementor-location-footer .rank1-footer-contact-bar > a:hover,
body .elementor-location-footer .rank1-footer-contact-bar > a:focus-visible {
    background: rgba(255, 255, 255, .075);
    color: #fff;
    outline: 0;
}

body .elementor-location-footer .rank1-footer-contact-intro small,
body .elementor-location-footer .rank1-footer-contact-bar > a span {
    color: #9fc2d7;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

body .elementor-location-footer .rank1-footer-contact-intro strong,
body .elementor-location-footer .rank1-footer-contact-bar > a b {
    margin-top: 6px;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
}

body .elementor-location-footer .rank1-footer-contact-intro strong {
    color: #fff;
    font-size: 18px;
}

body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    border-left-color: #2f729d;
    background: #19527b;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
}

body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta:hover,
body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta:focus-visible {
    background: #23688f;
}

body .elementor-location-footer .rank1-footer-columns > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(165px, 1fr));
    gap: clamp(32px, 4vw, 60px);
}

body .elementor-location-footer .rank1-footer-columns > .e-con-inner > .e-con {
    width: auto;
    min-width: 0;
}

body .elementor-location-footer .rank1-footer-trust {
    display: flex;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 7px;
}

body .elementor-location-footer .rank1-footer-trust span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #c9d9e2;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
}

@media (max-width: 1180px) {
    body .elementor-location-footer .rank1-footer-contact-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .elementor-location-footer .rank1-footer-contact-bar > :nth-child(odd) {
        border-left: 0;
    }

    body .elementor-location-footer .rank1-footer-contact-bar > :nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .11);
    }

    body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta {
        grid-column: 1 / -1;
        border-left: 0;
    }
}

@media (max-width: 980px) {
    body .elementor-location-footer .rank1-footer-conversion-inner > .e-con-inner,
    body .elementor-location-footer .rank1-footer-columns > .e-con-inner {
        grid-template-columns: 1fr;
    }

    body .elementor-location-footer .rank1-footer-conversion-copy,
    body .elementor-location-footer .rank1-footer-form-column {
        width: 100%;
    }

    body .elementor-location-footer .rank1-footer-columns > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body .elementor-location-footer .rank1-footer-benefits,
    body .elementor-location-footer .rank1-footer-contact-bar,
    body .elementor-location-footer .rank1-footer-columns > .e-con-inner {
        grid-template-columns: 1fr;
    }

    body .elementor-location-footer .rank1-footer-contact-bar > * {
        border-top: 1px solid rgba(255, 255, 255, .11);
        border-left: 0 !important;
    }

    body .elementor-location-footer .rank1-footer-contact-bar > :first-child {
        border-top: 0;
    }

    body .elementor-location-footer .rank1-footer-form-column {
        padding: 25px 18px;
        border-radius: 14px;
    }
}

@media (max-width: 1050px) {
    body.rank1-alutech-page .service-faq-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    body.rank1-alutech-page .service-faq-intro {
        position: static;
    }
}

@media (max-width: 767px) {
    body.rank1-alutech-page .elementor-widget-html > .section.decor-section.section-art::after {
        display: none !important;
        background-image: none !important;
        content: none !important;
    }

    body.rank1-alutech-page .service-faq-intro h2 {
        font-size: clamp(34px, 9.3vw, 42px);
    }

    body.rank1-alutech-page .service-faq-list summary {
        padding-block: 22px;
        font-size: 18px;
    }

    body.rank1-alutech-page .service-faq-list summary::after {
        top: 19px;
    }

    body .gform_wrapper form.rank1-gform .gf_page_steps {
        display: grid;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 6px;
    }

    body .gform_wrapper form.rank1-gform .gf_step {
        min-height: 42px;
        padding: 8px 6px;
        justify-content: center;
    }

    body .gform_wrapper form.rank1-gform .gf_step_label {
        font-size: 10px;
    }
}

/* -------------------------------------------------------------------------
 * 3.2.3 – sichtbare Korrektur von Mega-Menü, Formularen und Footer-Kontakt
 * ---------------------------------------------------------------------- */

body .elementor-location-header .etheme-elementor-nav-menu--dropdown-stretched > .container {
    padding: 18px 24px 24px;
}

body .rank1-alutech-mega-shell {
    width: min(1120px, calc(100vw - 48px));
    grid-template-columns: 280px minmax(0, 1fr);
}

body .rank1-alutech-mega-shell .rank1-mega-overview {
    padding: 30px 26px;
}

body .rank1-alutech-mega-shell .rank1-mega-kicker,
body .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title,
body .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title * {
    color: #9fc2d7 !important;
}

body .rank1-alutech-mega-shell .rank1-mega-title,
body .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title,
body .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title * {
    color: #fff !important;
}

body .rank1-alutech-mega-shell .rank1-mega-copy,
body .rank1-alutech-mega-shell .rank1-mega-copy p,
body .rank1-alutech-mega-shell .rank1-mega-copy p * {
    color: #c8d8e3 !important;
}

body .rank1-alutech-mega-shell .rank1-mega-button .elementor-button,
body .rank1-alutech-mega-shell .rank1-mega-button .elementor-button-text,
body .rank1-alutech-mega-shell .rank1-mega-button .elementor-button-icon {
    color: #fff !important;
}

body .rank1-alutech-mega-shell .rank1-mega-columns {
    padding: 20px 18px;
}

body .rank1-alutech-mega-shell .rank1-mega-links a {
    min-height: 58px;
    padding-block: 8px;
}

body .rank1-alutech-mega-shell .rank1-mega-column-title,
body .rank1-alutech-mega-shell .rank1-mega-column-title .elementor-heading-title {
    margin-bottom: 5px;
}

body .rank1-form-section-inner > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
    gap: clamp(48px, 5.5vw, 76px);
    align-items: start;
}

body .rank1-form-section-inner > .e-con-inner > .e-con {
    width: auto !important;
    min-width: 0;
}

body .rank1-form-section-copy-column {
    position: relative;
    top: auto;
    padding-top: 34px;
}

body .rank1-form-section-form-column {
    padding: clamp(34px, 3.3vw, 48px);
    border: 1px solid #c6d6e0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 85px rgba(7, 37, 61, .15);
}

body .rank1-form-card-intro {
    margin-bottom: 25px;
    padding-bottom: 23px;
    border-bottom: 1px solid #d8e3e9;
}

body .rank1-form-card-intro > span {
    color: #397397;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

body .rank1-form-card-intro h3 {
    margin: 8px 0 0;
    color: #0b2741;
    font-size: clamp(25px, 2.2vw, 33px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.12;
}

body .rank1-form-card-intro p {
    max-width: 650px;
    margin: 11px 0 0;
    color: #587089;
    font-size: 14px;
    line-height: 1.65;
}

body .gform_wrapper .gform_required_legend,
body .gform_wrapper .gform_heading:has(.gform_required_legend:only-child) {
    display: none !important;
}

body .rank1-footer-form-column .gform_heading,
body .rank1-form-section-form-column .gform_heading,
body .rank1-live-inquiry-form .gform_heading {
    display: none !important;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gf_page_steps,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gf_page_steps {
    gap: 8px;
    margin-bottom: 24px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gf_step,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gf_step {
    min-height: 52px;
    padding: 10px 12px;
    border-color: #d4e0e7;
    background: #f3f7f9;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gf_step.gf_step_active,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gf_step.gf_step_active {
    border-color: #19527b;
    background: linear-gradient(135deg, #19527b, #236b94);
    box-shadow: 0 8px 20px rgba(25, 82, 123, .18);
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .rank1-form-section-form-column .gform_wrapper form.rank1-gform select,
body .rank1-form-section-form-column .gform_wrapper form.rank1-gform textarea {
    min-height: 56px;
    border-color: #b8cad5;
    background: #fbfdfe;
}

body .gform_wrapper form.rank1-gform .alutech-partial-notice {
    margin-top: 17px;
    padding: 13px 15px;
    border: 0;
    border-left: 3px solid #78a9c5;
    border-radius: 8px;
    background: #f1f6f8;
    color: #526b7c;
}

body .gform_wrapper form.rank1-gform .alutech-partial-notice p {
    margin: 0 0 9px;
    color: #526b7c;
    font-size: 12.5px;
    line-height: 1.55;
}

body .gform_wrapper form.rank1-gform .alutech-partial-notice label {
    align-items: flex-start;
    gap: 9px;
    color: #304c60;
    font-size: 12px;
    line-height: 1.5;
}

body .gform_wrapper form.rank1-gform .alutech-partial-notice input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gform_next_button,
body .rank1-form-section-form-column .gform_wrapper form.rank1-gform .gform_button,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_next_button,
body .rank1-footer-form-column .gform_wrapper form.rank1-gform .gform_button {
    flex: 1 1 auto;
    width: 100%;
}

body .elementor-location-footer .rank1-footer-contact-bar {
    grid-template-columns: minmax(250px, 1.1fr) repeat(3, minmax(190px, 1fr)) minmax(170px, .72fr);
}

body .elementor-location-footer .rank1-footer-contact-intro,
body .elementor-location-footer .rank1-footer-contact-bar > a {
    min-height: 116px;
}

body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-card {
    display: flex;
    padding: 18px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
}

body .elementor-location-footer .rank1-footer-contact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(159, 194, 215, .28);
    border-radius: 50%;
    background: rgba(159, 194, 215, .09);
    color: #9fc2d7;
    letter-spacing: 0;
    text-transform: none;
}

body .elementor-location-footer .rank1-footer-contact-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

body .elementor-location-footer .rank1-footer-contact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    font-size: inherit;
    letter-spacing: 0;
    text-transform: none;
}

body .elementor-location-footer .rank1-footer-contact-copy small,
body .elementor-location-footer .rank1-footer-contact-cta > span {
    color: #9fc2d7;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

body .elementor-location-footer .rank1-footer-contact-copy strong {
    margin-top: 5px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
}

body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta {
    padding-inline: 22px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

body .elementor-location-footer .rank1-footer-contact-cta b {
    margin-top: 7px;
    color: #fff;
    font-size: 15px;
    font-style: normal;
}

body .elementor-location-footer .rank1-footer-contact-cta i {
    margin-left: 7px;
    font-style: normal;
}

body .elementor-location-footer .rank1-footer-trust {
    display: grid;
    gap: 8px;
}

body .elementor-location-footer .rank1-footer-trust span {
    position: relative;
    padding: 0 0 0 18px;
    border: 0;
    border-radius: 0;
    color: #c9d9e2;
    font-size: 12px;
}

body .elementor-location-footer .rank1-footer-trust span::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #80b0ca;
    content: '✓';
}

@media (max-width: 1180px) {
    body .rank1-form-section-inner > .e-con-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    body .rank1-form-section-copy-column,
    body .rank1-form-section-form-column {
        width: 100% !important;
    }

    body .rank1-form-section-copy-column {
        padding-top: 0;
    }

    body .rank1-form-section-copy h2,
    body .rank1-form-section-copy > p {
        max-width: 760px;
    }

    body .rank1-form-direct {
        max-width: none;
        border-top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body .rank1-form-direct a {
        padding: 17px 18px;
        border: 1px solid #c7d7e0;
        border-radius: 10px;
        background: rgba(255, 255, 255, .66);
    }

    body .elementor-location-footer .rank1-footer-contact-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body .rank1-form-section-inner > .e-con-inner {
        gap: 30px;
    }

    body .rank1-form-section-form-column {
        padding: 25px 18px;
        border-radius: 16px;
    }

    body .rank1-form-card-intro {
        margin-bottom: 20px;
        padding-bottom: 19px;
    }

    body .rank1-form-direct,
    body .elementor-location-footer .rank1-footer-contact-bar {
        grid-template-columns: 1fr;
    }

    body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-card {
        min-height: 92px;
    }

    body .elementor-location-footer .rank1-footer-contact-bar > a.rank1-footer-contact-cta {
        grid-column: auto;
        min-height: 92px;
    }
}

/* 3.2.4 final overrides – bewusst am Dateiende gegen Theme- und Elementor-Regeln. */
body .elementor-location-header .etheme-elementor-nav-menu--dropdown-stretched > .container {
    padding-inline: 20px;
}

body .rank1-alutech-mega-shell {
    width: min(1500px, calc(100vw - 40px));
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
}

body .rank1-alutech-mega-shell,
body .rank1-alutech-mega-shell .rank1-mega-overview,
body .rank1-alutech-mega-shell .rank1-mega-overview * {
    white-space: normal !important;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-kicker .elementor-heading-title * {
    color: #9fc2d7 !important;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-title .elementor-heading-title * {
    color: #fff !important;
    overflow-wrap: anywhere;
}

body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-copy,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-copy p,
body .elementor-location-header .rank1-alutech-mega-shell .rank1-mega-copy p * {
    color: #c8d8e3 !important;
}

body .elementor-location-footer .rank1-footer-benefits span,
body .elementor-location-footer .rank1-footer-direct-contact a,
body .elementor-location-footer .rank1-footer-direct-contact a:hover,
body .elementor-location-footer .rank1-footer-direct-contact a:focus-visible {
    border: 0 !important;
    border-block: 0 !important;
    box-shadow: none !important;
}

body .elementor-location-footer .rank1-footer-benefits span {
    min-height: 58px;
    background: rgba(255, 255, 255, .07);
}

body .elementor-location-footer .rank1-footer-direct-contact a {
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

body .gform_wrapper .gform_required_legend,
body .gform_wrapper .gform_heading:has(.gform_required_legend:only-child) {
    display: none !important;
}

body .gform_wrapper form.rank1-gform .gf_page_steps,
body .gform_wrapper form.rank1-gform .gf_page_steps::before,
body .gform_wrapper form.rank1-gform .gf_page_steps::after,
body .gform_wrapper form.rank1-gform .gf_step,
body .gform_wrapper form.rank1-gform .gf_step::before,
body .gform_wrapper form.rank1-gform .gf_step::after {
    border: 0 !important;
    border-block: 0 !important;
}

body .gform_wrapper form.rank1-gform .gf_page_steps::before,
body .gform_wrapper form.rank1-gform .gf_page_steps::after,
body .gform_wrapper form.rank1-gform .gf_step::before,
body .gform_wrapper form.rank1-gform .gf_step::after {
    display: none !important;
    content: none !important;
}

body .gform_wrapper form.rank1-gform .gf_step {
    background: #eaf1f5;
    box-shadow: none !important;
}

body .gform_wrapper form.rank1-gform .gf_step.gf_step_active {
    background: linear-gradient(135deg, #19527b, #236b94);
    box-shadow: 0 8px 20px rgba(25, 82, 123, .18) !important;
}

@media (max-width: 1180px) {
    body .rank1-alutech-mega-shell {
        width: min(1120px, calc(100vw - 32px));
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    body .elementor-location-footer .rank1-footer-benefits {
        grid-template-columns: 1fr;
    }
}
