/* ----------------------------------------------------------------
   KALT AG Redesign 2026 (gemäss Website-Konzept)
   Liegt über style.css/custom.css und gestaltet die bestehenden
   Bausteine neu. Inhalte kommen unverändert aus dem CMS.
-----------------------------------------------------------------*/

:root {
    --kalt-red: #E62733;
    --kalt-red-dark: #C81E2A;
    --kalt-ink: #111111;
    --kalt-text: #2B2B29;
    --kalt-muted: #5E5E5A;
    --kalt-stone: #F1F1EF;
    --kalt-line: #E4E4E1;
    --kalt-white: #FFFFFF;
    --kalt-font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    --kalt-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --kalt-gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Grundlagen ---------- */

body,
.font-body,
.font-primary,
.font-secondary,
p, li, a, span, input, textarea, select, button,
.menu-link, .button, .btn {
    font-family: var(--kalt-font);
}

body {
    color: var(--kalt-text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.heading-block h1, .heading-block h2, .heading-block h3, .heading-block h4 {
    font-family: var(--kalt-font);
    color: var(--kalt-ink);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-transform: none;
    text-wrap: balance;
}

h3, h4 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }

a { color: var(--kalt-red-dark); }
a:hover { color: var(--kalt-ink); }

.text-primary,
.color { color: var(--kalt-red) !important; }

::selection { background: var(--kalt-red); color: #fff; }

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--kalt-red);
    outline-offset: 3px;
}

/* Hintergrundfarben aus den Bausteinen (Weiss / Hellgrau) auf die Markenfarben abbilden */
[style*="whitesmoke"],
[style*="#F9F9F9"],
[style*="#f9f9f9"] {
    background-color: var(--kalt-stone) !important;
}

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

.button,
.btn-primary,
.btn {
    border-radius: 2px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.button,
.btn-primary {
    background-color: var(--kalt-red);
    border: 2px solid var(--kalt-red);
    color: #fff;
}

.button:hover,
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--kalt-ink) !important;
    border-color: var(--kalt-ink) !important;
    color: #fff !important;
}

.button.button-large {
    padding: 0 28px;
    height: 52px;
    line-height: 48px;
    font-size: 16px;
}

/* ---------- Header ---------- */

#header,
#header #header-wrap {
    background-color: var(--kalt-white);
}

#header #header-wrap {
    border-bottom: 1px solid var(--kalt-line);
    box-shadow: none;
}

#header .header-row {
    min-height: 80px;
}

#header .standard-logo img,
#header img[alt="Kalt AG Logo"] {
    height: 32px !important;
}

.primary-menu .menu-container > .menu-item > .menu-link {
    font-family: var(--kalt-font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--kalt-ink);
}

.primary-menu .menu-container > .menu-item.active > .menu-link,
.primary-menu .menu-container > .menu-item:hover > .menu-link {
    color: var(--kalt-red);
}

/* Dropdown (Desktop) */
@media (min-width: 992px) {
    .primary-menu .menu-container > .menu-item.sub-menu > .menu-link > div::after,
    .primary-menu .menu-container > .menu-item.sub-menu > .menu-link::after {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-left: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-3px) rotate(45deg);
        transition: transform .2s ease;
        opacity: .55;
    }
    .primary-menu .menu-container > .menu-item.sub-menu:hover > .menu-link::after {
        transform: translateY(0) rotate(225deg);
        opacity: 1;
    }

    .primary-menu .sub-menu-container {
        width: 260px;
        padding: 10px 0 !important;
        border: 0 !important;
        border-top: 3px solid var(--kalt-red) !important;
        border-radius: 0 0 2px 2px;
        background: var(--kalt-white);
        box-shadow: 0 18px 40px rgba(17, 17, 17, .12), 0 2px 6px rgba(17, 17, 17, .06) !important;
    }

    .primary-menu .sub-menu-container .menu-item {
        margin: 0;
        border: 0;
    }

    .primary-menu .sub-menu-container .menu-item > .menu-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 24px !important;
        font-family: var(--kalt-font);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
        color: var(--kalt-ink);
        border: 0;
        transition: background-color .15s ease, color .15s ease, padding-left .2s ease;
    }

    /* roter Marker links */
    .primary-menu .sub-menu-container .menu-item > .menu-link::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 3px;
        background: var(--kalt-red);
        transform: scaleY(0);
        transition: transform .2s ease;
    }

    /* Pfeil rechts */
    .primary-menu .sub-menu-container .menu-item > .menu-link::after {
        content: "→";
        font-weight: 700;
        color: var(--kalt-red);
        opacity: 0;
        transform: translateX(-6px);
        transition: opacity .2s ease, transform .2s ease;
    }

    .primary-menu .sub-menu-container .menu-item:hover > .menu-link,
    .primary-menu .sub-menu-container .menu-item > .menu-link:focus-visible {
        background-color: var(--kalt-stone);
        color: var(--kalt-ink);
        padding-left: 28px !important;
    }

    .primary-menu .sub-menu-container .menu-item:hover > .menu-link::before,
    .primary-menu .sub-menu-container .menu-item.active > .menu-link::before {
        transform: scaleY(1);
    }

    .primary-menu .sub-menu-container .menu-item:hover > .menu-link::after {
        opacity: 1;
        transform: translateX(0);
    }

    .primary-menu .sub-menu-container .menu-item.active > .menu-link {
        color: var(--kalt-red-dark);
    }
}

/* Dropdown (Mobile) */
@media (max-width: 991.98px) {
    .primary-menu .sub-menu-container {
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 0 8px 0;
    }
    .primary-menu .sub-menu-container .menu-item > .menu-link {
        font-size: 16px;
        font-weight: 600;
        color: var(--kalt-muted);
        padding: 10px 0 10px 16px;
        border-left: 2px solid var(--kalt-line);
    }
    .primary-menu .sub-menu-container .menu-item.active > .menu-link {
        color: var(--kalt-red-dark);
        border-left-color: var(--kalt-red);
    }
}

@media (max-width: 991.98px) {
    .primary-menu .menu-container {
        border-top: 2px solid var(--kalt-red);
    }
    .primary-menu .menu-container > .menu-item > .menu-link {
        font-size: 18px;
        padding: 14px 0;
    }
}

/* ---------- Startbild / Slider ---------- */

#slider.slider-element .swiper-slide-bg {
    background-size: cover;
}

#slider .swiper-slide.dark .swiper-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .72) 100%);
    pointer-events: none;
}

#slider .overlay-img {
    display: none;
}

#slider .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#slider .slider-caption {
    display: block !important;
    height: auto !important;
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 880px;
    text-align: left !important;
    padding-bottom: clamp(48px, 9vh, 96px) !important;
}

#slider .slider-caption h2 {
    font-family: var(--kalt-font);
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -0.03em;
    text-transform: none;
    color: #fff;
    margin-bottom: 20px;
}

#slider .slider-caption p {
    font-family: var(--kalt-font);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, .92);
    max-width: 640px;
    margin-bottom: 0;
}

#slider .swiper-slide:not(.dark) .slider-caption h2,
#slider .swiper-slide:not(.dark) .slider-caption p {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

#slider .slider-logo {
    max-height: 72px;
    width: auto;
    margin-bottom: 24px;
}

#slider .slider-arrow-left,
#slider .slider-arrow-right {
    background-color: rgba(17, 17, 17, .55);
    border-radius: 0;
}

#slider .slider-arrow-left:hover,
#slider .slider-arrow-right:hover {
    background-color: var(--kalt-red);
}

@media (max-width: 767.98px) {
    #slider.slider-element,
    #slider .slider-inner,
    #slider .swiper-container,
    #slider .swiper-wrapper,
    #slider .swiper-slide {
        min-height: 68vh;
    }
    #slider .slider-caption,
    #slider .slider-caption h2,
    #slider .slider-caption p {
        text-align: left !important;
    }
    #slider .slider-caption h2 {
        font-size: 2.5rem;
    }
}

/* ---------- Abschnitts-Überschriften ---------- */

.area-section,
.wysiwyg-block .content-wrap,
.area-wysiwyg .content-wrap {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

/* Aufeinanderfolgende weisse Abschnitte nicht doppelt polstern */
.area-section + .area-section,
.wysiwyg-block + .area-section,
.area-section + .wysiwyg-block .content-wrap {
    padding-top: 0;
}

.area-section .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.heading-block,
.heading-block.center,
.heading-block.center h2,
.heading-block.center h3 {
    text-align: left !important;
    margin-bottom: clamp(28px, 4vw, 48px);
    max-width: none;
}

.heading-block::after,
.heading-block.center::after {
    display: none;
}

.heading-block h2,
.heading-block h3,
.heading-block h2.text-primary,
.heading-block h3.text-primary {
    color: var(--kalt-ink) !important;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: none;
    padding-top: 18px;
    border-top: 2px solid var(--kalt-ink);
}

.heading-block h3,
.heading-block h3.text-primary {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* Fliesstext */
.area-section p,
.wysiwyg-block p,
.area-wysiwyg p {
    line-height: 1.7;
    max-width: 72ch;
}

.area-wysiwyg h2,
.wysiwyg-block h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    margin-bottom: 20px;
}

.area-wysiwyg h3,
.wysiwyg-block h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.wysiwyg-block .col-md-3,
.wysiwyg-block .col-md-4,
.wysiwyg-block .col-md-6 {
    border-top: 2px solid var(--kalt-ink);
    padding-top: 20px;
    margin-bottom: 24px;
}

/* ---------- Unterseiten-Titel ---------- */

#page-title,
#page-title.page-title-mini {
    background-color: var(--kalt-stone);
    border-bottom: 0;
    padding: clamp(40px, 6vw, 72px) 0;
}

#page-title.page-title-mini h1,
#page-title h1 {
    font-family: var(--kalt-font);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--kalt-ink);
}

#page-title .breadcrumb,
#page-title .breadcrumb a {
    font-family: var(--kalt-mono);
    font-size: 13px;
    color: var(--kalt-muted);
}

/* ---------- Kacheln (Baustein "Gebiete", z. B. Dienstleistungen) ---------- */

.area-section .kalt-tiles {
    row-gap: 32px;
}

.kalt-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding-top: 18px;
    border-top: 2px solid var(--kalt-ink);
    text-align: left;
}

.kalt-tile img {
    max-width: 96px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.kalt-tile h3 {
    font-size: 1.5rem;
    margin: 4px 0 0;
}

.kalt-tile p {
    color: var(--kalt-muted);
    font-size: 16px;
    margin-bottom: 0;
}

/* ---------- Promo (z. B. offene Stellen) ---------- */

.promo.promo-light,
.promo.promo-full {
    background-color: var(--kalt-stone);
    border: 0;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

#content + #content .promo.promo-light,
section#content + section#content .promo.promo-light {
    padding-top: 0 !important;
}

.promo .container > .row {
    background: var(--kalt-white);
    border: 1px solid var(--kalt-line);
    padding: 24px 28px;
    margin-left: 0;
    margin-right: 0;
    transition: border-color .2s ease;
}

.promo .container > .row:hover {
    border-color: var(--kalt-ink);
}

.promo h2, .promo h3, .promo h4, .promo p, .promo strong {
    font-family: var(--kalt-font);
    color: var(--kalt-ink);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
    text-transform: none;
}

.promo .button.button-circle {
    border-radius: 2px !important;
}

@media (max-width: 991.98px) {
    .promo.p-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .promo .container > .row {
        padding: 20px;
    }
    .promo span[style*="font-size"] {
        font-size: inherit !important;
    }
    .promo .container > .row > [class*="col"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }
    .promo h2, .promo h3, .promo h4, .promo p, .promo strong {
        font-size: 1.2rem;
    }
    .promo .button {
        display: block;
        width: 100%;
        height: auto;
        line-height: 1.3;
        padding: 14px 16px;
        white-space: normal;
        text-align: center;
    }
}

/* ---------- Text mit Bild ---------- */

.area-section .row.align-items-center img {
    width: 100%;
    height: auto;
}

/* ---------- Team ---------- */

.team-member-card,
.card {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.team-member-card .card-img-top,
.card-img-top {
    border-radius: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.team-member-card .card-body {
    padding: 16px 0 0;
    border-top: 2px solid var(--kalt-ink);
    margin-top: 16px;
}

.team-member-card .card-text.text-primary {
    font-family: var(--kalt-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kalt-red-dark) !important;
}

.team-member-card .card-title {
    font-size: 1.35rem;
}

.team-member-card .card-body p {
    font-size: 15px;
    color: var(--kalt-muted);
}

/* ---------- Referenzen ---------- */

.references-block .portfolio-item {
    margin-bottom: 40px;
}

.references-block .portfolio-image {
    overflow: hidden;
    background: var(--kalt-stone);
}

.references-block .portfolio-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    transition: transform .5s ease;
}

.references-block .portfolio-item:hover .portfolio-image img {
    transform: scale(1.04);
}

.references-block .portfolio-desc {
    padding: 16px 0 0;
    margin-top: 16px;
    border-top: 2px solid var(--kalt-ink);
}

.references-block .portfolio-desc h3,
.references-block .portfolio-desc h3 a {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--kalt-ink);
    text-transform: none;
}

.references-block .portfolio-desc h3 a:hover {
    color: var(--kalt-red);
}

.references-block .portfolio-desc span {
    display: inline-block;
    margin: 6px 10px 0 0;
    font-family: var(--kalt-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kalt-muted);
}

.references-block .portfolio-desc p {
    font-size: 15px;
    color: var(--kalt-muted);
    margin-top: 8px;
}

/* ---------- Formulare ---------- */

.form-control,
.sm-form-control,
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
    border-radius: 2px;
    border: 1.5px solid #CFCFCB;
    font-family: var(--kalt-font);
}

.form-control:focus,
.sm-form-control:focus {
    border-color: var(--kalt-ink);
    box-shadow: none;
}

label {
    font-family: var(--kalt-font);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--kalt-text);
}

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

#footer,
#footer.dark {
    background-color: var(--kalt-ink);
    border-top: 0;
    color: rgba(255, 255, 255, .78);
}

#footer .widget h4 {
    font-family: var(--kalt-font);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}

#footer .widget,
#footer .widget p,
#footer .widget li,
#footer .widget a {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
}

#footer .widget a:hover {
    color: #fff;
    text-decoration: underline;
}

#copyrights {
    font-family: var(--kalt-font);
    font-size: 13px;
}

/* ---------- Cookie-Hinweis ---------- */

.kalt-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: var(--kalt-ink);
    color: #fff;
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}

.kalt-cookie[hidden] { display: none !important; }

.kalt-cookie__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.kalt-cookie__text {
    margin: 0;
    flex: 1 1 420px;
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}

.kalt-cookie__text a { color: #fff; text-decoration: underline; }

.kalt-cookie__actions { display: flex; gap: 10px; }

.kalt-cookie .button { min-height: 44px; line-height: 40px; }

.kalt-cookie .button-border.button-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
}

.kalt-cookie .button-border.button-light:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--kalt-ink) !important;
}

/* ---------- Gehe-nach-oben ---------- */

#gotoTop {
    border-radius: 0;
    background-color: var(--kalt-ink);
}

#gotoTop:hover { background-color: var(--kalt-red); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ================================================================
   Startseite gemäss Konzept (templates/Default/start.html.twig)
   ================================================================ */

.kalt-eyebrow {
    margin: 0 0 12px;
    font-family: var(--kalt-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kalt-red-dark);
}
.kalt-eyebrow--red { color: var(--kalt-red); }
.kalt-eyebrow--light { color: #fff; }
.kalt-mono { font-family: var(--kalt-mono); font-size: 13px; color: var(--kalt-muted); }
.kalt-pill {
    display: inline-block;
    background: var(--kalt-red);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px;
}

.home-section { padding: clamp(64px, 9vw, 120px) 0; }
.home-section--stone { background: var(--kalt-stone); }
.home-section h2,
.home-kpik h2,
.home-career h2,
.home-contact h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin: 0;
}
.home-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px 40px;
    flex-wrap: wrap;
    margin-bottom: clamp(32px, 4vw, 48px);
}
.home-head > div { max-width: 680px; }
.home-head > p { max-width: 420px; margin: 0; color: var(--kalt-muted); }
.home-link { display: inline-block; margin-top: 28px; font-weight: 700; color: var(--kalt-ink); }
.home-link:hover { color: var(--kalt-red); }

/* Startbild */
.home-hero {
    position: relative;
    min-height: min(78vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #2A2A28;
}
.home-hero__img,
.home-hero picture,
.home-career__photo picture,
.home-career__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.8) 100%);
}
.home-hero__inner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 120px;
    padding-bottom: 72px;
}
.home-hero__text { max-width: 760px; color: #fff; }
.home-hero h1 {
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -0.03em;
}
.home-hero__lead { margin: 24px 0 0; font-size: 20px; max-width: 580px; color: rgba(255,255,255,.92); }
.home-hero__ctas,
.home-kpik__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button.button-border.button-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.button.button-border.button-light:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--kalt-ink) !important;
}

/* Etikette (Bauteil-Label) */
.kalt-label {
    background: #fff;
    color: #111;
    width: 300px;
    padding: 18px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    font-family: var(--kalt-mono);
    font-size: 13px;
    line-height: 1.5;
    transform: rotate(-2deg);
}
.kalt-label__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.kalt-label__top img { height: 18px; width: auto; }
.kalt-label__dim { font-size: 18px; font-weight: 500; }
.kalt-label__bottom { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #bbb; }
.kalt-label__nr { font-size: 22px; font-weight: 500; }

/* Kennzahlen */
.home-stats { background: var(--kalt-red); color: #fff; padding: 56px 0; }
.home-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.home-stats strong {
    display: block;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.home-stats span { display: block; margin-top: 8px; font-weight: 600; }
.home-stats__note { margin: 28px 0 0; font-family: var(--kalt-mono); font-size: 13px; color: rgba(255,255,255,.9); }

/* Leistungen */
.home-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-service { display: flex; flex-direction: column; gap: 14px; color: var(--kalt-ink); text-decoration: none; }
.home-service:hover { color: var(--kalt-ink); }
.home-service__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--kalt-stone); }
.home-service__img img,
.home-ref__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-service:hover .home-service__img img,
.home-ref:hover .home-ref__img img { transform: scale(1.04); }
.home-service__head { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--kalt-ink); padding-top: 14px; }
.home-service__title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; }
.home-service__text, .home-service__text p { color: var(--kalt-muted); font-size: 16px; margin: 0; }

/* K-pik */
.home-kpik { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--kalt-ink); color: #fff; }
.home-kpik__img { position: relative; min-height: 520px; }
.home-kpik__img picture, .home-kpik__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-kpik__body { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 680px; }
.home-kpik h2 { color: #fff; }
.home-kpik p { margin: 0; color: rgba(255,255,255,.8); }
.home-kpik__prices { display: flex; gap: 40px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid #3A3A38; border-bottom: 1px solid #3A3A38; }
.home-kpik__prices strong { display: block; font-size: 2rem; font-weight: 900; }
.home-kpik__prices span { font-size: 14px; color: rgba(255,255,255,.7); }

/* Referenzen */
.home-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.home-chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    border: 1.5px solid #CFCFCB; border-radius: 99px; color: var(--kalt-ink); font-weight: 600; text-decoration: none;
}
.home-chip:hover { background: var(--kalt-ink); border-color: var(--kalt-ink); color: #fff; }
.home-refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-ref { display: flex; flex-direction: column; gap: 10px; color: var(--kalt-ink); text-decoration: none; }
.home-ref:hover { color: var(--kalt-ink); }
.home-ref__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--kalt-stone); }
.home-ref__meta { display: flex; gap: 10px; flex-wrap: wrap; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.home-ref__title { font-size: 1.4rem; font-weight: 800; }
.home-ref p { margin: 0; font-size: 15px; color: var(--kalt-muted); }

/* Geschichte */
.home-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.home-history__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.home-history__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.home-history__year { position: absolute; left: 0; bottom: 0; background: var(--kalt-red); color: #fff; padding: 14px 20px; font-weight: 900; font-size: 32px; }
.home-split p { color: var(--kalt-muted); margin-top: 20px; max-width: 520px; }
.home-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border-top: 2px solid var(--kalt-ink); }
.home-timeline > div { padding-top: 14px; }
.home-timeline strong { display: block; font-size: 1.5rem; font-weight: 900; }
.home-timeline span { font-size: 14px; color: var(--kalt-muted); }

/* Karriere */
.home-career { padding-bottom: clamp(64px, 9vw, 120px); }
.home-career__photo { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: #2A2A28; }
.home-career__photo img { object-position: center 40%; }
.home-career__head { position: relative; padding-bottom: 56px; color: #fff; }
.home-career h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); max-width: 760px; }
.home-jobs { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.home-job {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
    padding: 26px 28px; border: 1.5px solid #E0E0DC; color: var(--kalt-ink); text-decoration: none;
    transition: border-color .2s ease;
}
.home-job:hover { border-color: var(--kalt-ink); color: var(--kalt-ink); }
.home-job__title { font-size: 1.35rem; font-weight: 800; }
.home-job__cta { font-weight: 700; color: var(--kalt-red-dark); }

/* Kontakt */
.home-contact { background: var(--kalt-red); color: #fff; padding: clamp(64px, 8vw, 96px) 0; }
.home-contact__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.home-contact h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); max-width: 700px; }
.home-contact__info { display: flex; flex-direction: column; gap: 12px; }
.home-contact__btn { background: var(--kalt-ink) !important; border-color: var(--kalt-ink) !important; text-align: center; }
.home-contact__btn:hover { background: #fff !important; border-color: #fff !important; color: var(--kalt-ink) !important; }
.home-contact__tel { color: #fff; font-size: 20px; font-weight: 700; }
.home-contact__mail { color: #fff; font-size: 17px; }
.home-contact a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 991.98px) {
    .home-services, .home-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-refs, .home-split, .home-kpik { grid-template-columns: minmax(0, 1fr); }
    .home-kpik__img { min-height: 320px; }
    .home-split { gap: 32px; }
    .kalt-label { display: none; }
}
@media (max-width: 575.98px) {
    .home-services { grid-template-columns: minmax(0, 1fr); }
    .home-service__img { aspect-ratio: 16 / 10; }
    .home-stats strong { font-size: 2.2rem; }
    .home-hero__inner { padding-bottom: 48px; }
    .home-career__photo { min-height: 380px; }
    .home-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
}

/* ================================================================
   Kontaktseite (templates/Includes/contact.html.twig)
   ================================================================ */

.home-hero--page { min-height: min(56vh, 520px); }
.home-hero--page .home-hero__img,
.home-hero--page picture img { object-position: center 55%; }
.home-hero--page .home-hero__shade {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
}
.home-hero--page .home-hero__inner { padding-top: 96px; padding-bottom: 56px; }

/* Seitentitel kommt im Bild, der Navigations-Baustein wird hier nicht doppelt gezeigt */
.kalt-contact #page-title { display: none; }

.kalt-contact .wysiwyg-block .content-wrap { padding-top: clamp(48px, 6vw, 80px); }
.kalt-contact .wysiwyg-block .row { row-gap: 24px; }
.kalt-contact .wysiwyg-block .col-md-6 {
    border-top: 0;
    padding-top: 0;
    margin-bottom: 0;
}
.kalt-contact .wysiwyg-block .col-md-6 > * {
    text-align: left !important;
}
.kalt-contact .wysiwyg-block .col-md-6 {
    display: flex;
}
.kalt-contact .wysiwyg-block .col-md-6 > p:first-child { margin-top: 0; }
.kalt-contact .wysiwyg-block .col-md-6 {
    flex-direction: column;
    gap: 0;
}
.kalt-contact .wysiwyg-block .col-md-6 > p {
    margin: 0;
    padding: 0 32px 20px;
    background: var(--kalt-stone);
    font-size: 17px;
    line-height: 1.7;
    color: var(--kalt-text);
}
.kalt-contact .wysiwyg-block .col-md-6 > p:first-child {
    padding-top: 28px;
    border-top: 3px solid var(--kalt-red);
}
.kalt-contact .wysiwyg-block .col-md-6 > p:last-child { padding-bottom: 28px; flex-grow: 1; }
.kalt-contact .wysiwyg-block .col-md-6 strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--kalt-ink);
}
.kalt-contact .wysiwyg-block a { color: var(--kalt-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid #CFCFCB; }
.kalt-contact .wysiwyg-block a:hover { color: var(--kalt-red-dark); border-color: var(--kalt-red); }

/* ================================================================
   Formulare (FormBuilder, z. B. Bewerbung)
   ================================================================ */

#wrapper > .form-builder-wrapper,
.area-section .form-builder-wrapper,
.form-builder-wrapper {
    background: var(--kalt-stone);
    padding: clamp(48px, 6vw, 88px) var(--kalt-gutter);
}

.form-builder-wrapper form.formbuilder {
    max-width: 880px;
    margin: 0 auto;
    background: var(--kalt-white);
    border-top: 3px solid var(--kalt-red);
    padding: clamp(24px, 4vw, 48px);
}

.form-builder-wrapper .row { row-gap: 4px; }

.form-builder-wrapper .form-group,
.form-builder-wrapper .mb-3 {
    margin-bottom: 18px;
}

.form-builder-wrapper label,
.form-builder-wrapper .form-label,
.form-builder-wrapper .col-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--kalt-ink);
}

.form-builder-wrapper label.required::after,
.form-builder-wrapper .required > label::after {
    content: " *";
    color: var(--kalt-red);
}

.form-builder-wrapper .form-control,
.form-builder-wrapper input[type="text"],
.form-builder-wrapper input[type="email"],
.form-builder-wrapper input[type="number"],
.form-builder-wrapper input[type="tel"],
.form-builder-wrapper select,
.form-builder-wrapper textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--kalt-ink);
    background: var(--kalt-white);
    border: 1.5px solid #CFCFCB;
    border-radius: 2px;
    box-shadow: none;
    transition: border-color .15s ease;
}

.form-builder-wrapper textarea { min-height: 150px; resize: vertical; }

.form-builder-wrapper .form-control:hover { border-color: #A9A9A4; }

.form-builder-wrapper .form-control:focus {
    border-color: var(--kalt-ink);
    outline: 2px solid var(--kalt-red);
    outline-offset: 1px;
    box-shadow: none;
}

.form-builder-wrapper .is-invalid,
.form-builder-wrapper .form-control.is-invalid { border-color: var(--kalt-red); }

.form-builder-wrapper .invalid-feedback,
.form-builder-wrapper .form-error-message {
    color: var(--kalt-red-dark);
    font-size: 14px;
    font-weight: 600;
}

.form-builder-wrapper .btn-primary,
.form-builder-wrapper button[type="submit"] {
    min-height: 52px;
    padding: 0 32px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    background: var(--kalt-red);
    border: 2px solid var(--kalt-red);
    color: #fff;
}

.form-builder-wrapper .alert-success {
    background: #EAF5EE;
    border: 0;
    border-left: 3px solid #17633A;
    color: #17633A;
    border-radius: 0;
    font-weight: 600;
    padding: 16px 20px;
}

@media (max-width: 575.98px) {
    .form-builder-wrapper button[type="submit"] { width: 100%; }
}

/* ================================================================
   Referenz-Übersicht (templates/References/default.html.twig)
   ================================================================ */

.ref-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(28px, 4vw, 44px);
}
.home-chip.is-active {
    background: var(--kalt-ink);
    border-color: var(--kalt-ink);
    color: #fff;
}
.ref-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
}
@media (max-width: 991.98px) {
    .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .ref-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Untermenü-Pfeile im mobilen Menü (Button): keine Browser-Standardfarbe (iOS blau) */
.primary-menu .sub-menu-trigger {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--kalt-ink);
    -webkit-tap-highlight-color: transparent;
}
.primary-menu .sub-menu-trigger:hover,
.primary-menu .sub-menu-trigger:focus,
.primary-menu .menu-item-hover > .sub-menu-trigger,
.primary-menu .menu-item.active > .sub-menu-trigger {
    color: var(--kalt-red);
}

/* ================================================================
   Header gemäss Konzept: Infoleiste + Navigation + Button
   ================================================================ */

.kalt-topbar {
    background: var(--kalt-ink);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.4;
}
.kalt-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 40px;
    flex-wrap: wrap;
}
.kalt-topbar__links { display: flex; gap: 24px; align-items: center; }
.kalt-topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.kalt-topbar a:hover { color: #fff; text-decoration: underline; }
.kalt-badge {
    display: inline-block;
    min-width: 20px;
    margin-left: 4px;
    padding: 1px 7px;
    border-radius: 99px;
    background: var(--kalt-red);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
}

#header.kalt-header .header-row { flex-wrap: nowrap; }
#header.kalt-header .kalt-logo { order: 1; margin-right: auto; display: flex; align-items: center; padding: 8px 0; }
#header.kalt-header .kalt-logo img { height: 34px !important; }
#header.kalt-header .primary-menu { order: 2; margin-right: 32px; }
#header.kalt-header .kalt-header__cta { order: 3; }
#header.kalt-header #primary-menu-trigger { order: 4; }

.kalt-header__cta .button {
    height: 48px;
    line-height: 44px;
    padding: 0 22px;
    font-size: 15px;
    background: var(--kalt-ink);
    border-color: var(--kalt-ink);
}
.kalt-header__cta .button:hover {
    background: var(--kalt-red) !important;
    border-color: var(--kalt-red) !important;
}

@media (min-width: 992px) {
    .kalt-menu-contact { display: none !important; }
    #header.kalt-header .primary-menu .menu-container > .menu-item > .menu-link {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 991.98px) {
    .kalt-topbar__claim { display: none; }
    .kalt-topbar__inner { justify-content: flex-end; min-height: 36px; }
    .kalt-header__cta { display: none !important; }
    #header.kalt-header .header-row { flex-wrap: wrap; }
    #header.kalt-header .primary-menu { order: 5; margin-right: 0; width: 100%; }
    .kalt-menu-contact > .menu-link { color: var(--kalt-red) !important; }
}

.kalt-topbar__ext { display: inline-flex; align-items: center; gap: 5px; }
.kalt-topbar__ext svg { flex: none; }
