/*
Theme Name: WUMM
Theme URI: https://wumm.energy/
Author: Frank Sulek
Description: Eigenständig entwickeltes WUMM Custom Theme für SIPES-WEB.
Version: 0.7.1
Requires PHP: 8.3
Text Domain: wumm
*/

:root {
    --wumm-yellow: #E2DF22;
    --wumm-grey: #828E98;
    --wumm-green: #81D742;
    --wumm-digital-yellow: #EEEE22;

    --wumm-black: #000000;
    --wumm-white: #FFFFFF;

    --wumm-ink: #141719;
    --wumm-text: #282D31;
    --wumm-muted: #626B72;
    --wumm-surface: #FFFFFF;
    --wumm-surface-soft: #F4F5F4;
    --wumm-border: #DDE1E2;

    --wumm-container: 1280px;
    --wumm-radius: 14px;
    --wumm-radius-small: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wumm-white);
    color: var(--wumm-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .wumm-site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.wumm-main {
    overflow: hidden;
}

.wumm-container {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
}

.wumm-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 82px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(130,142,152,.22);
    backdrop-filter: blur(10px);
}

.wumm-header-inner {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
}

.wumm-brand {
    min-width: 190px;
    display: flex;
    align-items: center;
}

.wumm-brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.wumm-brand img {
    width: auto;
    max-width: 220px;
    max-height: 58px;
}

.wumm-brand-fallback {
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--wumm-grey);
}

.wumm-nav {
    justify-self: end;
}

.wumm-nav ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wumm-nav li {
    position: relative;
}

.wumm-nav a {
    display: block;
    padding: 28px 0 24px;
    color: var(--wumm-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.wumm-nav a:hover,
.wumm-nav a:focus-visible {
    color: #000;
}

.wumm-nav > div > ul > li > a::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin-top: 5px;
    background: var(--wumm-yellow);
    transition: width .18s ease;
}

.wumm-nav > div > ul > li:hover > a::after,
.wumm-nav > div > ul > li > a:focus-visible::after {
    width: 100%;
}

.wumm-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    left: -18px;
    min-width: 220px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid var(--wumm-border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.09);
}

.wumm-nav li:hover > .sub-menu,
.wumm-nav li:focus-within > .sub-menu {
    display: block;
}

.wumm-nav .sub-menu li {
    width: 100%;
}

.wumm-nav .sub-menu a {
    padding: 11px 18px;
    font-weight: 400;
}

.wumm-nav .sub-menu a:hover,
.wumm-nav .sub-menu a:focus-visible {
    background: var(--wumm-surface-soft);
}

.wumm-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wumm-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--wumm-border);
    border-radius: 10px;
    background: #fff;
    color: var(--wumm-ink);
    font-size: 22px;
    cursor: pointer;
}

.wumm-button,
.wp-block-button__link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid var(--wumm-yellow);
    border-radius: var(--wumm-radius-small);
    background: var(--wumm-yellow);
    color: #111 !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.wumm-button:hover,
.wumm-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
    background: #CFCC16;
    border-color: #CFCC16;
}

.wumm-home-hero {
    position: relative;
    padding: 70px 0 72px;
    background:
        linear-gradient(
            90deg,
            #fff 0%,
            #fff 52%,
            #f7f7f5 52%,
            #f7f7f5 100%
        );
}

.wumm-home-hero > .wp-block-columns {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin: 0 auto;
    gap: 64px;
    align-items: center !important;
}

.wumm-hero-copy {
    padding: 30px 0;
}

.wumm-eyebrow {
    margin: 0 0 18px;
    color: #6C747A;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.wumm-home-hero h1 {
    max-width: 600px;
    margin: 0;
    color: var(--wumm-ink);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 700;
}

.wumm-home-hero h1::after {
    content: "";
    display: block;
    width: 92px;
    height: 7px;
    margin-top: 22px;
    background: var(--wumm-yellow);
}

.wumm-hero-lead {
    max-width: 570px;
    margin: 26px 0 0;
    color: #444B50;
    font-size: 20px;
    line-height: 1.52;
}

.wumm-home-hero .wp-block-buttons {
    margin-top: 30px;
}

.wumm-media {
    margin: 0;
    overflow: hidden;
    background: #E9EBEA;
}

.wumm-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wumm-media-hero {
    min-height: 500px;
    aspect-ratio: 3 / 2;
    border-radius: 0 0 0 64px;
}

.wumm-media-card {
    aspect-ratio: 4 / 3;
}

.wumm-media-competence {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
}

.wumm-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    color: #5F686D;
    background:
        linear-gradient(135deg, #ECEEED 0%, #F8F8F5 100%);
}

.wumm-image-placeholder::before,
.wumm-image-placeholder::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(130,142,152,.22);
}

.wumm-image-placeholder::before {
    width: 70%;
    height: 70%;
    transform: rotate(28deg);
}

.wumm-image-placeholder::after {
    width: 48%;
    height: 48%;
    transform: rotate(-18deg);
}

.wumm-image-placeholder span {
    position: relative;
    z-index: 2;
    padding: 8px 12px;
    background: rgba(255,255,255,.86);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.wumm-pillars-section {
    padding: 96px 0;
    background: #fff;
}

.wumm-pillars-section > * {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
}

.wumm-section-heading {
    max-width: 760px;
    margin-bottom: 42px !important;
}

.wumm-section-heading h2,
.wumm-competence-section h2 {
    margin: 0 0 14px;
    color: var(--wumm-ink);
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.wumm-section-heading p {
    margin: 0;
    color: var(--wumm-muted);
    font-size: 18px;
}

.wumm-pillar-grid {
    gap: 24px !important;
}

.wumm-pillar-card {
    overflow: hidden;
    min-width: 0;
    height: 100%;
    background: #fff;
    border: 1px solid var(--wumm-border);
    border-radius: var(--wumm-radius);
    box-shadow: 0 9px 26px rgba(26,34,38,.055);
    transition:
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.wumm-pillar-card:hover {
    transform: translateY(-3px);
    border-color: #C8CCCE;
    box-shadow: 0 15px 36px rgba(26,34,38,.08);
}

.wumm-pillar-copy {
    padding: 26px 26px 28px;
}

.wumm-pillar-card h3 {
    margin: 0 0 10px;
    color: var(--wumm-ink);
    font-size: 23px;
    line-height: 1.25;
}

.wumm-pillar-card p {
    margin: 0 0 18px;
    color: var(--wumm-muted);
    font-size: 16px;
    line-height: 1.55;
}

.wumm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wumm-ink);
    font-weight: 700;
    text-decoration: none;
}

.wumm-text-link::after {
    content: "→";
    transition: transform .18s ease;
}

.wumm-text-link:hover::after {
    transform: translateX(4px);
}

.wumm-customer-section {
    padding: 68px 0;
    background: var(--wumm-surface-soft);
    border-top: 1px solid #ECEEED;
    border-bottom: 1px solid #ECEEED;
}

.wumm-customer-section > * {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
}

.wumm-customer-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.wumm-customer-header h2 {
    margin: 0;
    color: var(--wumm-ink);
    font-size: 32px;
    line-height: 1.15;
}

.wumm-customer-header p {
    max-width: 540px;
    margin: 0;
    color: var(--wumm-muted);
}

.wumm-service-grid {
    gap: 16px !important;
}

.wumm-service-card {
    min-height: 110px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--wumm-border);
    border-radius: 12px;
}

.wumm-service-card a {
    display: block;
    color: var(--wumm-ink);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
}

.wumm-service-card small {
    display: block;
    margin-top: 5px;
    color: var(--wumm-muted);
    font-size: 13px;
    font-weight: 400;
}

.wumm-competence-section {
    padding: 96px 0;
    background: #fff;
}

.wumm-competence-section > .wp-block-columns {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin: 0 auto;
    gap: 64px;
    align-items: center !important;
}

.wumm-competence-section p {
    max-width: 580px;
    color: var(--wumm-muted);
    font-size: 18px;
}

.wumm-site-footer {
    color: #fff;
    background: #171A1C;
}

.wumm-footer-main {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
    padding: 60px 0 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

.wumm-footer-main h3,
.wumm-footer-main h4 {
    margin: 0 0 14px;
    color: #fff;
}

.wumm-footer-main h3 {
    font-size: 24px;
}

.wumm-footer-main h4 {
    font-size: 15px;
}

.wumm-footer-main p {
    color: #BCC2C5;
    font-size: 14px;
}

.wumm-footer-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wumm-footer-main li {
    margin: 8px 0;
}

.wumm-footer-main a {
    color: #D8DCDE;
    text-decoration: none;
    font-size: 14px;
}

.wumm-footer-main a:hover,
.wumm-footer-main a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--wumm-yellow);
}

.wumm-footer-utility {
    border-top: 1px solid #34393C;
}

.wumm-footer-utility-inner {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
    padding: 18px 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #D9DDDF;
    font-size: 13px;
}

.wumm-footer-utility a {
    color: #fff;
}

.wumm-page-shell {
    width: min(calc(100% - 64px), 900px);
    margin: 70px auto;
}

.wumm-page-shell h1 {
    color: var(--wumm-ink);
    font-size: 46px;
    line-height: 1.1;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1120px) {
    .wumm-header-inner {
        grid-template-columns: auto auto;
    }

    .wumm-menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .wumm-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding-bottom: 18px;
    }

    .wumm-nav.is-open {
        display: block;
    }

    .wumm-nav ul {
        display: block;
    }

    .wumm-nav a {
        padding: 12px 0;
    }

    .wumm-nav .sub-menu {
        position: static;
        display: block;
        padding: 0 0 0 20px;
        border: 0;
        box-shadow: none;
    }

    .wumm-header-actions {
        justify-self: end;
    }

    .wumm-footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 781px) {
    body.admin-bar .wumm-site-header {
        top: 46px;
    }

    .wumm-container,
    .wumm-header-inner,
    .wumm-pillars-section > *,
    .wumm-customer-section > *,
    .wumm-home-hero > .wp-block-columns,
    .wumm-competence-section > .wp-block-columns,
    .wumm-footer-main,
    .wumm-footer-utility-inner {
        width: calc(100% - 32px);
    }

    .wumm-site-header {
        min-height: 72px;
    }

    .wumm-header-inner {
        gap: 14px;
    }

    .wumm-brand {
        min-width: 0;
    }

    .wumm-brand img {
        max-width: 160px;
        max-height: 46px;
    }

    .wumm-header-actions .wumm-button {
        display: none;
    }

    .wumm-home-hero {
        padding: 44px 0 0;
        background: #fff;
    }

    .wumm-home-hero > .wp-block-columns {
        display: flex;
        flex-direction: column;
        gap: 34px;
    }

    .wumm-hero-copy {
        padding: 0;
    }

    .wumm-home-hero h1 {
        font-size: 40px;
    }

    .wumm-hero-lead {
        font-size: 18px;
    }

    .wumm-media-hero {
        width: calc(100% + 32px);
        margin-left: -16px;
        min-height: 0;
        aspect-ratio: 4 / 5;
        border-radius: 0;
    }

    .wumm-pillars-section {
        padding: 64px 0;
    }

    .wumm-pillars-section .wp-block-columns {
        display: block;
    }

    .wumm-pillar-card {
        margin-bottom: 18px;
    }

    .wumm-customer-section {
        padding: 52px 0;
    }

    .wumm-customer-header {
        display: block;
    }

    .wumm-customer-header p {
        margin-top: 10px;
    }

    .wumm-service-grid {
        display: block;
    }

    .wumm-service-card {
        margin-bottom: 12px;
    }

    .wumm-competence-section {
        padding: 64px 0;
    }

    .wumm-competence-section > .wp-block-columns {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .wumm-footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 46px;
    }

    .wumm-footer-utility-inner {
        display: block;
    }

    .wumm-footer-utility-inner a,
    .wumm-footer-utility-inner span {
        display: block;
        margin: 8px 0;
    }
}

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

/* BEGIN WUMM VISUAL DEMO V0.3 */

/* Header: ruhig, hell, großzügig */
.wumm-site-header {
    min-height: 100px;
    background: rgba(255,255,255,.985);
    border-bottom: 1px solid #edf0f1;
    backdrop-filter: blur(10px);
}

.wumm-header-inner {
    width: min(calc(100% - 72px), 1480px);
    gap: 30px;
}

.wumm-brand img {
    max-width: 235px;
    max-height: 72px;
}

.wumm-nav ul { gap: 25px; }
.wumm-nav a {
    padding: 34px 0 30px;
    font-size: 14px;
    font-weight: 700;
}

.wumm-header-actions .wumm-button {
    min-height: 50px;
    padding-inline: 26px;
    box-shadow: 0 5px 14px rgba(226,223,34,.16);
}

/* HERO: Bild und editierbarer HTML-Text verschmelzen visuell. */
.wumm-home-hero {
    position: relative;
    min-height: 640px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    isolation: isolate;
}

.wumm-home-hero > .wp-block-columns {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-height: 640px;
    margin: 0;
    gap: 0;
}

.wumm-home-hero .wumm-hero-copy {
    position: relative;
    z-index: 4;
    width: min(650px, 46vw);
    margin-left: clamp(54px, 6vw, 112px);
    padding: 104px 0 84px;
}

.wumm-home-hero > .wp-block-columns > .wp-block-column:last-child {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 28%;
    margin: 0;
}

.wumm-media-hero {
    width: 100%;
    height: 100%;
    min-height: 640px;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
    background: #fff;
}

.wumm-media-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.wumm-home-hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff 15%,
        rgba(255,255,255,.985) 24%,
        rgba(255,255,255,.90) 31%,
        rgba(255,255,255,.64) 39%,
        rgba(255,255,255,.27) 47%,
        rgba(255,255,255,0) 58%
    );
}

.wumm-home-hero h1 {
    max-width: 620px;
    font-size: clamp(50px, 4.4vw, 68px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.wumm-home-hero h1::after { display: none; }

.wumm-eyebrow {
    margin-bottom: 22px;
    color: #65717d;
    letter-spacing: .14em;
}

.wumm-hero-lead {
    max-width: 590px;
    font-size: 20px;
    line-height: 1.52;
}

.wumm-home-hero .wp-block-buttons { margin-top: 34px; }

/* Kompetenzkarten: wie im Referenz-Mockup */
.wumm-pillars-section {
    padding: 68px 0 42px;
}

.wumm-section-heading {
    margin-bottom: 28px !important;
}

.wumm-section-heading h2 {
    margin-bottom: 4px;
    font-size: clamp(34px, 3vw, 44px);
}

.wumm-section-heading p {
    color: #65717d;
    font-size: 20px;
}

.wumm-pillar-grid { gap: 24px !important; }

.wumm-pillar-card {
    border-color: #dfe4e7;
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
}

.wumm-pillar-card:hover {
    transform: translateY(-2px);
    border-color: #cbd2d6;
    box-shadow: 0 13px 30px rgba(21,30,36,.075);
}

.wumm-media-card {
    aspect-ratio: 1.8 / 1;
}

.wumm-pillar-copy {
    padding: 24px 24px 25px;
}

.wumm-pillar-card h3 { font-size: 22px; }
.wumm-pillar-card p { min-height: 76px; }

/* Bestandskunden als ruhige, kompakte Fläche */
.wumm-customer-section {
    width: min(calc(100% - 64px), var(--wumm-container));
    margin: 0 auto;
    padding: 38px 36px 40px;
    border: 1px solid #edf0f1;
    border-radius: 18px;
    background: linear-gradient(135deg,#f5f7f8 0%,#fafbfb 100%);
}

.wumm-customer-section > * {
    width: 100%;
    max-width: none;
}

.wumm-customer-header { margin-bottom: 22px; }
.wumm-customer-header h2 { font-size: 36px; }

.wumm-service-card {
    min-height: 86px;
    padding: 20px 22px;
    box-shadow: 0 4px 10px rgba(20,28,32,.025);
}

/* Kompetenzblock: großzügig, Bild und Text eng verbunden */
.wumm-competence-section {
    padding: 78px 0 0;
}

.wumm-competence-section > .wp-block-columns {
    gap: 0;
    align-items: stretch !important;
}

.wumm-competence-section > .wp-block-columns > .wp-block-column:first-child {
    padding: 54px 60px 54px 0;
}

.wumm-media-competence {
    height: 100%;
    min-height: 400px;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
}

/* Footer aus dem Mockup: hell statt schwer/dunkel */
.wumm-site-footer {
    margin-top: 0;
    background: #f7f8f8;
    color: #15191c;
    border-top: 1px solid #edf0f1;
}

.wumm-footer-main {
    padding: 48px 0 34px;
}

.wumm-footer-main h3,
.wumm-footer-main h4 { color: #15191c; }
.wumm-footer-main p { color: #65717d; }
.wumm-footer-main a { color: #30383d; }
.wumm-footer-main a:hover,
.wumm-footer-main a:focus-visible { color: #000; }

.wumm-footer-utility {
    border-top: 1px solid #dfe4e7;
}

.wumm-footer-utility-inner { color: #667078; }
.wumm-footer-utility-inner a { color: #30383d; }

/* Dezente Bewegung nur dort, wo sie einen Mehrwert schafft. */
.wumm-media-card img,
.wumm-media-competence img {
    transition: transform 180ms ease;
}
.wumm-pillar-card:hover .wumm-media-card img {
    transform: scale(1.018);
}

@media (max-width: 980px) {
    .wumm-site-header { min-height: 78px; }
    .wumm-header-inner { width: calc(100% - 34px); }
    .wumm-brand img { max-width: 165px; max-height: 54px; }

    .wumm-home-hero,
    .wumm-home-hero > .wp-block-columns {
        min-height: 440px;
    }

    .wumm-home-hero .wumm-hero-copy {
        width: 62%;
        margin-left: 26px;
        padding: 46px 0 34px;
    }

    .wumm-home-hero > .wp-block-columns > .wp-block-column:last-child {
        inset: 0 0 0 22%;
    }

    .wumm-media-hero { min-height: 440px; }

    .wumm-home-hero::after {
        background: linear-gradient(
            90deg,
            #fff 0%,
            rgba(255,255,255,.99) 24%,
            rgba(255,255,255,.85) 39%,
            rgba(255,255,255,.40) 54%,
            rgba(255,255,255,0) 70%
        );
    }

    .wumm-home-hero h1 { font-size: clamp(38px, 7vw, 50px); }
    .wumm-hero-lead { font-size: 17px; line-height: 1.48; }
}

@media (max-width: 781px) {
    .wumm-site-header { min-height: 72px; }

    .wumm-home-hero,
    .wumm-home-hero > .wp-block-columns {
        min-height: 420px;
    }

    .wumm-home-hero .wumm-hero-copy {
        width: 76%;
        margin-left: 18px;
        padding: 30px 0 24px;
    }

    .wumm-home-hero > .wp-block-columns {
        display: block;
        width: 100%;
        gap: 0;
    }

    .wumm-home-hero > .wp-block-columns > .wp-block-column:last-child {
        position: absolute;
        inset: 0 0 0 18%;
    }

    .wumm-media-hero {
        width: 100%;
        min-height: 420px;
        margin: 0;
        aspect-ratio: auto;
    }

    .wumm-home-hero::after {
        background: linear-gradient(
            90deg,
            #fff 0%,
            rgba(255,255,255,.985) 28%,
            rgba(255,255,255,.80) 45%,
            rgba(255,255,255,.36) 59%,
            rgba(255,255,255,0) 74%
        );
    }

    .wumm-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .wumm-home-hero h1 {
        max-width: 350px;
        font-size: clamp(32px, 9.4vw, 40px);
        line-height: 1.02;
    }

    .wumm-hero-lead {
        max-width: 310px;
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.42;
    }

    .wumm-home-hero .wp-block-buttons { margin-top: 18px; }
    .wumm-home-hero .wp-block-button__link {
        min-height: 42px;
        padding-inline: 18px;
        font-size: 14px;
    }

    .wumm-pillars-section { padding: 36px 0 28px; }
    .wumm-section-heading h2 { font-size: 28px; }
    .wumm-section-heading p { font-size: 16px; }

    .wumm-pillar-grid { display: block; }
    .wumm-pillar-card {
        display: grid;
        grid-template-columns: 36% 64%;
        min-height: 112px;
        margin-bottom: 10px;
    }
    .wumm-media-card {
        height: 100%;
        min-height: 112px;
        aspect-ratio: auto;
    }
    .wumm-pillar-copy {
        padding: 14px 15px 12px;
    }
    .wumm-pillar-card h3 {
        margin-bottom: 5px;
        font-size: 17px;
    }
    .wumm-pillar-card p {
        min-height: 0;
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.35;
    }
    .wumm-text-link { font-size: 13px; }

    .wumm-customer-section {
        width: calc(100% - 32px);
        padding: 24px 14px;
        border-radius: 14px;
    }
    .wumm-customer-header h2 { font-size: 28px; }
    .wumm-customer-header p { font-size: 14px; }
    .wumm-service-card { min-height: 68px; }

    .wumm-competence-section { padding-top: 34px; }
    .wumm-competence-section > .wp-block-columns {
        display: grid;
        grid-template-columns: 54% 46%;
        width: 100%;
        gap: 0;
    }
    .wumm-competence-section > .wp-block-columns > .wp-block-column:first-child {
        padding: 28px 16px 28px 18px;
    }
    .wumm-competence-section h2 { font-size: 27px; }
    .wumm-competence-section p { font-size: 13px; line-height: 1.42; }
    .wumm-competence-section .wp-block-button__link {
        min-height: 40px;
        padding-inline: 14px;
        font-size: 12px;
    }
    .wumm-media-competence {
        min-height: 330px;
        height: 100%;
    }

    .wumm-footer-main { padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .wumm-media-card img,
    .wumm-media-competence img { transition: none; }
    .wumm-pillar-card:hover .wumm-media-card img { transform: none; }
}

/* END WUMM VISUAL DEMO V0.3 */

/* BEGIN WUMM RESPONSIVE BILINGUAL V0.4 */
.wumm-site-header { display:block; min-height:0; }
.wumm-topbar { border-bottom:1px solid #edf0f1; background:#fafbfb; }
.wumm-topbar-inner {
    width:min(calc(100% - 72px),1480px); min-height:30px; margin-inline:auto;
    display:flex; align-items:center; justify-content:flex-end; gap:24px;
    font-size:12px; line-height:1;
}
.wumm-language-switch { display:flex; align-items:center; gap:7px; }
.wumm-language-switch a { text-decoration:none; color:#667078; font-weight:700; letter-spacing:.06em; }
.wumm-language-switch a.is-active { color:#111; }
.wumm-language-switch span { color:#c3c9cc; }
.wumm-portal-link { color:#30383d; text-decoration:none; font-weight:700; }
.wumm-header-inner { min-height:88px; }

/* Rechtliches ist bewusst nicht Teil der Hauptnavigation. */

/* Drei eigenständige Hero-Art-Direction-Slots: Desktop / Tablet / Mobil. */
.wumm-home-hero > .wp-block-columns > .wp-block-column:last-child { inset:0 !important; }
.wumm-media-hero,
.wumm-media-hero picture,
.wumm-media-hero img { width:100%; height:100%; min-height:inherit; }
.wumm-media-hero picture { display:block; }
.wumm-media-hero img { object-fit:cover; object-position:center center; }

/* Das Bild selbst trägt bereits einen weichen linken Übergang; CSS ergänzt nur eine leichte Sicherung. */
.wumm-home-hero::after {
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 18%,rgba(255,255,255,.72) 34%,rgba(255,255,255,.20) 48%,rgba(255,255,255,0) 60%) !important;
}

@media (min-width:1200px) {
    .wumm-home-hero,
    .wumm-home-hero > .wp-block-columns,
    .wumm-media-hero { min-height:640px; }
    .wumm-home-hero .wumm-hero-copy { width:min(650px,46vw); }
}

@media (min-width:768px) and (max-width:1199px) {
    .wumm-topbar-inner,
    .wumm-header-inner { width:calc(100% - 48px); }
    .wumm-home-hero,
    .wumm-home-hero > .wp-block-columns,
    .wumm-media-hero { min-height:560px; }
    .wumm-home-hero .wumm-hero-copy { width:58%; margin-left:32px; padding:62px 0 44px; }
    .wumm-home-hero::after {
        background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 24%,rgba(255,255,255,.72) 44%,rgba(255,255,255,.18) 62%,rgba(255,255,255,0) 76%) !important;
    }
}

@media (max-width:767px) {
    .wumm-topbar-inner { width:calc(100% - 32px); min-height:28px; gap:16px; }
    .wumm-header-inner { min-height:68px; width:calc(100% - 32px); }
    .wumm-portal-link { font-size:11px; }
    .wumm-home-hero,
    .wumm-home-hero > .wp-block-columns,
    .wumm-media-hero { min-height:500px; }
    .wumm-home-hero .wumm-hero-copy { width:78%; margin-left:16px; padding:30px 0 24px; }
    .wumm-home-hero::after {
        background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.985) 30%,rgba(255,255,255,.75) 50%,rgba(255,255,255,.24) 68%,rgba(255,255,255,0) 82%) !important;
    }
}
/* END WUMM RESPONSIVE BILINGUAL V0.4 */


/* BEGIN WUMM UNDERPAGE SYSTEM V0.5 / RELEASE V07 */

.wumm-page-content {
    padding: 44px 0 84px;
    background:
        radial-gradient(circle at 84% 10%, rgba(226,223,34,.11), transparent 22%),
        radial-gradient(circle at 12% 28%, rgba(130,142,152,.08), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfb 46%, #f7f8f7 100%);
}

.wumm-page-content > .wp-block-group,
.wumm-page-content > .wp-block-columns,
.wumm-page-content > .wp-block-html,
.wumm-page-content > .wp-block-buttons,
.wumm-page-content > p,
.wumm-page-content > h1,
.wumm-page-content > h2,
.wumm-page-content > h3 {
    width: min(calc(100% - 64px), 1180px);
    margin-left: auto;
    margin-right: auto;
}

.wumm-content-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(calc(100% - 64px), 1180px) !important;
    margin: 18px auto 28px !important;
    padding: 58px 64px 54px !important;
    border: 1px solid rgba(130,142,152,.18);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(246,247,246,.96) 50%, rgba(239,241,239,.92) 100%);
    box-shadow: 0 18px 56px rgba(25,31,35,.07);
}

.wumm-content-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 320px;
    right: -88px;
    top: -120px;
    border-radius: 50%;
    background: rgba(226,223,34,.20);
}

.wumm-content-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 220px;
    height: 220px;
    right: 120px;
    bottom: -150px;
    border-radius: 50%;
    border: 34px solid rgba(130,142,152,.08);
}

.wumm-content-hero .wumm-eyebrow,
.wumm-page-content .wumm-eyebrow {
    margin: 0 0 14px;
    color: #66717a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.wumm-content-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #101416;
    font-size: clamp(38px, 3.6vw, 54px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.wumm-content-hero .wumm-hero-lead {
    max-width: 780px;
    margin: 26px 0 0;
    color: #3f474d;
    font-size: 19px;
    line-height: 1.55;
}

.wumm-content-hero .wp-block-buttons { margin-top: 30px; }

.wumm-content-section,
.wumm-firstcon-placeholder,
.wumm-content-notice {
    width: min(calc(100% - 64px), 1180px) !important;
    margin: 18px auto !important;
    padding: 40px 44px !important;
    border: 1px solid rgba(130,142,152,.18);
    border-radius: 20px;
    background: rgba(244,246,245,.82);
    box-shadow: 0 10px 36px rgba(28,34,38,.045);
    backdrop-filter: blur(8px);
}

.wumm-page-content > .wumm-content-section:nth-of-type(3n+1) { background: rgba(255,255,255,.90); }
.wumm-page-content > .wumm-content-section:nth-of-type(3n+2) { background: linear-gradient(135deg, rgba(247,248,247,.96), rgba(239,242,240,.92)); }

.wumm-content-section h2,
.wumm-firstcon-placeholder h2,
.wumm-content-notice h2 {
    margin: 0 0 18px;
    color: #14191c;
    font-size: clamp(28px, 2.7vw, 38px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.wumm-content-section h3 {
    margin: 0 0 12px;
    color: #1b2023;
    font-size: 21px;
    line-height: 1.22;
}

.wumm-content-section p,
.wumm-firstcon-placeholder p,
.wumm-content-notice p {
    max-width: 880px;
    color: #434c52;
    line-height: 1.68;
}

.wumm-card-grid,
.wumm-content-section > .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    align-items: stretch !important;
    gap: 18px !important;
    margin-top: 24px;
    margin-bottom: 0;
}

.wumm-card-grid > .wp-block-column,
.wumm-content-section > .wp-block-columns > .wp-block-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    border: 1px solid rgba(130,142,152,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 26px rgba(31,37,41,.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wumm-card-grid > .wp-block-column:hover,
.wumm-content-section > .wp-block-columns > .wp-block-column:hover {
    transform: translateY(-2px);
    border-color: rgba(226,223,34,.78);
    box-shadow: 0 14px 32px rgba(31,37,41,.08);
}

.wumm-card-grid > .wp-block-column .wp-block-buttons,
.wumm-content-section > .wp-block-columns > .wp-block-column .wp-block-buttons {
    margin-top: auto;
    padding-top: 14px;
}

.wumm-page-content .wp-block-button__link {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
}

.wumm-page-content ul { padding-left: 1.25em; }
.wumm-page-content li { margin: 7px 0; }

.wumm-page-content .wp-block-details {
    margin: 12px 0;
    border: 1px solid rgba(130,142,152,.18);
    border-radius: 13px;
    background: rgba(255,255,255,.84);
    overflow: hidden;
}

.wumm-page-content .wp-block-details summary {
    padding: 17px 20px;
    cursor: pointer;
    color: #1b2023;
    font-weight: 700;
}

.wumm-page-content .wp-block-details > p {
    margin: 0;
    padding: 0 20px 19px;
    color: #4a5359;
}

.wumm-content-notice {
    padding: 28px 34px !important;
    border-left: 5px solid var(--wumm-yellow);
    background: rgba(255,255,255,.88);
}

.wumm-firstcon-placeholder {
    position: relative;
    background: linear-gradient(135deg, rgba(245,246,245,.96), rgba(255,255,255,.96));
}

.wumm-firstcon-placeholder::before {
    content: "DIGITAL";
    position: absolute;
    top: 22px;
    right: 26px;
    color: rgba(130,142,152,.30);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.wumm-process-simple {
    display: grid;
    grid-template-columns: 1fr auto 1.4fr auto 1.5fr;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(130,142,152,.18);
    text-align: center;
    font-weight: 700;
}

.wumm-page-content iframe {
    display: block;
    width: min(calc(100% - 64px), 1180px) !important;
    margin: 18px auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(31,37,41,.07);
}

@media (max-width: 900px) {
    .wumm-page-content { padding-top: 28px; }

    .wumm-content-hero,
    .wumm-content-section,
    .wumm-firstcon-placeholder,
    .wumm-content-notice,
    .wumm-page-content > .wp-block-group,
    .wumm-page-content > .wp-block-columns,
    .wumm-page-content > .wp-block-html,
    .wumm-page-content > .wp-block-buttons,
    .wumm-page-content > p,
    .wumm-page-content > h1,
    .wumm-page-content > h2,
    .wumm-page-content > h3,
    .wumm-page-content iframe {
        width: calc(100% - 32px) !important;
    }

    .wumm-content-hero { padding: 40px 30px 38px !important; border-radius: 20px; }
    .wumm-content-hero .wumm-hero-lead { font-size: 18px; }
    .wumm-content-section,
    .wumm-firstcon-placeholder { padding: 30px 26px !important; border-radius: 17px; }
}

@media (max-width: 620px) {
    .wumm-page-content { padding-bottom: 56px; }
    .wumm-content-hero h1 { font-size: 34px; line-height: 1.08; }
    .wumm-content-hero { padding: 36px 22px 34px !important; }
    .wumm-content-section,
    .wumm-firstcon-placeholder,
    .wumm-content-notice { padding: 26px 20px !important; }
    .wumm-card-grid,
    .wumm-content-section > .wp-block-columns { grid-template-columns: 1fr; }
    .wumm-process-simple { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .wumm-card-grid > .wp-block-column,
    .wumm-content-section > .wp-block-columns > .wp-block-column { transition: none; }
}

/* END WUMM UNDERPAGE SYSTEM V0.5 / RELEASE V07 */


/* BEGIN WUMM UNDERPAGE REFINEMENT V0.6 / RELEASE V08 */
.wumm-content-hero {
    padding-top: 52px !important;
    padding-bottom: 50px !important;
}
.wumm-content-hero h1 { max-width: 760px; }
.wumm-content-hero .wumm-hero-lead { max-width: 760px; }
.wumm-content-section {
    box-shadow: 0 12px 34px rgba(28,34,38,.045);
}
.wumm-content-section > .wp-block-columns > .wp-block-column {
    min-height: 220px;
}
.wumm-content-section > .wp-block-columns > .wp-block-column p {
    margin-top: 0;
}
.wumm-content-section > .wp-block-columns > .wp-block-column h3 + p {
    margin-top: 8px;
}
@media (max-width: 900px) {
    .wumm-content-hero { padding: 40px 30px 38px !important; }
    .wumm-content-section > .wp-block-columns > .wp-block-column { min-height: 0; }
}
@media (max-width: 620px) {
    .wumm-content-hero { padding: 34px 22px 32px !important; }
}
/* END WUMM UNDERPAGE REFINEMENT V0.6 / RELEASE V08 */


/* BEGIN WUMM TYPOGRAPHY HIERARCHY V0.7
   Gilt fuer Unterseiten DE + EN. HOME bleibt unberuehrt. */

.wumm-page-content .wumm-eyebrow,
.wumm-content-hero .wumm-eyebrow {
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: .13em;
    font-weight: 700;
    margin-bottom: 16px;
}

.wumm-page-content h1,
.wumm-content-hero h1 {
    font-size: clamp(36px, 3.2vw, 48px);
    line-height: 1.07;
    letter-spacing: -.028em;
    font-weight: 700;
}

.wumm-content-hero h1 {
    max-width: 800px;
}

.wumm-content-hero .wumm-hero-lead {
    font-size: clamp(17px, 1.45vw, 19px);
    line-height: 1.55;
    max-width: 780px;
    margin-top: 22px;
}

.wumm-page-content h2,
.wumm-content-section h2,
.wumm-firstcon-placeholder h2,
.wumm-content-notice h2 {
    font-size: clamp(28px, 2.25vw, 34px);
    line-height: 1.12;
    letter-spacing: -.022em;
    font-weight: 700;
}

.wumm-page-content h3,
.wumm-content-section h3,
.wumm-card-grid h3,
.wumm-content-section > .wp-block-columns h3 {
    font-size: clamp(20px, 1.55vw, 23px);
    line-height: 1.22;
    letter-spacing: -.012em;
    font-weight: 700;
}

.wumm-page-content p,
.wumm-content-section p,
.wumm-firstcon-placeholder p,
.wumm-content-notice p {
    font-size: 18px;
    line-height: 1.62;
}

.wumm-page-content li {
    font-size: 17px;
    line-height: 1.58;
}

@media (max-width: 767px) {
    .wumm-page-content .wumm-eyebrow,
    .wumm-content-hero .wumm-eyebrow {
        font-size: 12px;
        line-height: 1.35;
        letter-spacing: .12em;
        margin-bottom: 12px;
    }

    .wumm-page-content h1,
    .wumm-content-hero h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .wumm-content-hero .wumm-hero-lead {
        font-size: 17px;
        line-height: 1.5;
        margin-top: 18px;
    }

    .wumm-page-content h2,
    .wumm-content-section h2,
    .wumm-firstcon-placeholder h2,
    .wumm-content-notice h2 {
        font-size: 27px;
        line-height: 1.14;
    }

    .wumm-page-content h3,
    .wumm-content-section h3,
    .wumm-card-grid h3,
    .wumm-content-section > .wp-block-columns h3 {
        font-size: 20px;
        line-height: 1.22;
    }

    .wumm-page-content p,
    .wumm-content-section p,
    .wumm-firstcon-placeholder p,
    .wumm-content-notice p {
        font-size: 17px;
        line-height: 1.58;
    }

    .wumm-page-content li {
        font-size: 16px;
        line-height: 1.55;
    }
}

/* END WUMM TYPOGRAPHY HIERARCHY V0.7 */


/* BEGIN WUMM HOME KOMPETENZ-HEAD V0.7.1
   Der Bereichskopf nutzt dieselbe volle Containerbreite wie die Karten.
   Die globale .wumm-section-heading max-width bleibt fuer andere Kontexte erhalten. */

.wumm-pillars-section .wumm-section-heading {
    max-width: none;
    width: min(calc(100% - 64px), var(--wumm-container));
    margin-inline: auto;
}

.wumm-pillars-section .wumm-section-heading h2 {
    max-width: none;
    width: 100%;
}

@media (max-width: 767px) {
    .wumm-pillars-section .wumm-section-heading {
        width: min(calc(100% - 32px), var(--wumm-container));
    }
}

/* END WUMM HOME KOMPETENZ-HEAD V0.7.1 */
