/* Approved DE/EN homepage composition. Existing fonts, copy, links and forms remain the source of truth. */
/* Research rationale and limits: research/homepage-ux-evidence.md. */
:is(.page-id-52,.page-id-163) {
    --nx-ink: #102d3d;
    --nx-text: #344d5b;
    --nx-accent: #126684;
    --nx-surface: #f1f6f8;
    --nx-line: #d7e2e7;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--nx-text);
    background: white;
    overflow-wrap: break-word;
}
:is(.page-id-52,.page-id-163) ::selection { background: #c5e7f1; color: var(--nx-ink); }
:is(.page-id-52,.page-id-163) :focus-visible { outline: 3px solid #15779b; outline-offset: 5px; }
:is(.page-id-52,.page-id-163) :is(h1,h2,h3) { font-family: Manrope, sans-serif; color: var(--nx-ink); text-wrap: balance; letter-spacing: -.025em; }
:is(.page-id-52,.page-id-163) h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.22; }
:is(.page-id-52,.page-id-163) h3 { font-size: 1.25rem; line-height: 1.4; }
:is(.page-id-52,.page-id-163) p { text-wrap: pretty; }
:is(.page-id-52,.page-id-163) main { background: white; }
:is(.page-id-52,.page-id-163) main > :is(section,div) > div:first-child,
.nx-home-container { max-width: 1240px; margin-inline: auto; padding-inline: 32px; }
:is(.page-id-52,.page-id-163) main > section { padding-block: 56px; }
:is(.page-id-52,.page-id-163) :is(.text-brand-gradient,.section-eyebrow) { background: none; -webkit-text-fill-color: currentColor; animation: none; color: inherit; }
:is(.page-id-52,.page-id-163) .text-brand-gradient { color: var(--nx-accent); }
:is(.page-id-52,.page-id-163) .section-eyebrow { display: block; font-family: Onest, sans-serif; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; margin-bottom: 12px; }
:is(.page-id-52,.page-id-163) .section-eyebrow::before { display: none; }
:is(.page-id-52,.page-id-163) .section-eyebrow span:empty { display: none; }
:is(.page-id-52,.page-id-163) main :is(.animate-pulse,.animate-float,[class*="fade-up-"]) { animation: none; opacity: 1; transform: none; }
:is(.page-id-52,.page-id-163) main .hero-grid { display: none; }
:is(.page-id-52,.page-id-163) main a[href="#kontakt"] { background: var(--nx-accent); color: white; border: 1px solid var(--nx-accent); box-shadow: none; border-radius: 6px; transform: none; min-height: 50px; font-size: 1rem; font-weight: 600; letter-spacing: 0; transition: background-color 160ms ease; }
:is(.page-id-52,.page-id-163) main a[href="#kontakt"]:hover { background: #0c4b63; }
:is(.page-id-52,.page-id-163) [id] { scroll-margin-top: 104px; }
:is(.page-id-52,.page-id-163) header { box-shadow: none; }
:is(.page-id-52,.page-id-163) header a { font-size: 1rem; }
:is(.page-id-52,.page-id-163) header > div:first-child > div { height: 88px; }
:is(.page-id-52,.page-id-163) header img { height: 64px; }
:is(.page-id-52,.page-id-163) footer { font-size: 1rem; }
:is(.page-id-52,.page-id-163) footer :is(p,a,span) { font-size: 1rem; }
:is(.page-id-52,.page-id-163) footer h3 { color: white; font-size: 1rem; letter-spacing: .03em; }
:is(.page-id-52,.page-id-163) footer a:not([href="#kontakt"]) { color: #e3eef3; text-decoration: underline; text-underline-offset: 4px; }
:is(.page-id-52,.page-id-163) footer a:not([href="#kontakt"]):hover { color: white; }
:is(.page-id-52,.page-id-163) footer :focus-visible { outline-color: #b6e5f5; }
:is(.page-id-52,.page-id-163) footer .space-x-6 { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
:is(.page-id-52,.page-id-163) footer .space-x-6 > a { margin: 0; }
:is(.page-id-52,.page-id-163) header nav > a[href="#kontakt"] { background: var(--nx-accent); min-height: 46px; font-weight: 600; }
:is(.page-id-52,.page-id-163) #mobile-menu-button { padding: 12px; }

/* The complete offer and primary action fit together in the opening view. */
:is(.page-id-52,.page-id-163) main > .nx-home-hero { background: var(--nx-ink); color: #e3eef3; padding-block: 48px 44px; }
:is(.page-id-52,.page-id-163) .nx-home-hero :is(.nx-home-title,.nx-home-reassurance,figcaption strong) { color: white; }
:is(.page-id-52,.page-id-163) .nx-home-hero :is(.nx-home-intro,.nx-home-certificates span,figcaption) { color: #e3eef3; }
:is(.page-id-52,.page-id-163) .nx-home-hero :is(.nx-home-title .text-brand-gradient,.nx-home-certificates svg) { color: #9edcf0; }
:is(.page-id-52,.page-id-163) .nx-home-hero .nx-home-actions a[href="#kontakt"] { background: #9edcf0; border-color: #9edcf0; color: var(--nx-ink); }
:is(.page-id-52,.page-id-163) .nx-home-hero .nx-home-actions a[href="#kontakt"]:hover { background: #c0eaf7; border-color: #c0eaf7; }
:is(.page-id-52,.page-id-163) .nx-home-hero .nx-home-actions a[href="#leistungen"] { color: #e3eef3; }
:is(.page-id-52,.page-id-163) .nx-home-hero :focus-visible { outline-color: #9edcf0; }
.nx-home-hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.nx-home-hero-layout > * { min-width: 0; }
.nx-home-intro { display: block; font-size: 1rem; color: var(--nx-text); margin-bottom: 18px; }
:is(.page-id-52,.page-id-163) .nx-home-title { font-size: clamp(2.4rem, 4.1vw, 3.5rem); line-height: 1.12; font-weight: 800; margin: 0 0 22px; }
:is(.page-id-52,.page-id-163) .nx-home-title .text-brand-gradient { display: inline-block; font-size: .6em; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; color: var(--nx-accent); }
.nx-home-lead { font-size: 1.125rem; line-height: 1.65; margin: 0 0 24px; max-width: 60ch; }
.nx-home-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 24px; }
.nx-home-primary-action { display: flex; flex-direction: column; align-items: flex-start; }
.nx-home-actions a { padding: 14px 20px; }
:is(.page-id-52,.page-id-163) .nx-home-actions a[href="#leistungen"] { border: 0; background: transparent; color: var(--nx-accent); padding-inline: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 5px; font-size: 1rem; }
.nx-home-reassurance { margin: 8px 0 0; font-size: 1rem; font-weight: 600; color: var(--nx-ink); }
.nx-home-certificates { display: flex; flex-wrap: wrap; gap: 8px 18px; }
:is(.page-id-52,.page-id-163) .nx-home-certificates span { font-size: 1rem; color: var(--nx-text); }
.nx-home-certificates svg { color: var(--nx-accent); }
.nx-home-hero-figure { margin: 0; }
.nx-home-rz-photo { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; }
.nx-home-hero-figure figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 14px; font-size: 1rem; line-height: 1.6; color: var(--nx-text); }
.nx-home-hero-figure strong { color: var(--nx-ink); }

/* Evidence is compact and quieter than the offer. */
:is(.page-id-52,.page-id-163) main > .nx-home-stats { padding-block: 26px; border-bottom: 1px solid var(--nx-line); }
:is(.page-id-52,.page-id-163) .nx-home-stats p:not(.stat-val) { font-size: 1rem; }
.nx-home-stats .grid { gap: 20px; text-align: left; }
:is(.page-id-52,.page-id-163) .nx-home-stats p { color: var(--nx-text); }
:is(.page-id-52,.page-id-163) .nx-home-stats .stat-val { font-size: 1.75rem; color: var(--nx-ink); }
.nx-home-partners { padding-block: 26px; border-bottom: 1px solid var(--nx-line); }
.nx-home-partners > div { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nx-home-partners p { margin: 0; text-align: left; max-width: 220px; font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.nx-home-partners > div > div { flex: 1; flex-wrap: nowrap; justify-content: center; gap: 38px; }
.nx-home-partners img { height: 28px; width: auto; max-width: 150px; object-fit: contain; }
.nx-home-partners span { font-size: 1rem; }
.nx-home-partners :is(img,div,span) { opacity: 1; }

/* Consistent service links align within each row without stretching the copy. */
.nx-home-services .text-center { text-align: left; margin-bottom: 24px; }
.nx-home-services h2 { max-width: 32ch; }
.nx-home-service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.nx-home-service { display: flex; flex-direction: column; align-items: flex-start; position: relative; border-top: 1px solid var(--nx-line); padding: 24px; }
/* The priced core offer earns a distinct surface without enlarging the grid item. */
.nx-home-service:has(.nx-home-service-price) { background: var(--nx-surface); border-top: 3px solid var(--nx-accent); border-radius: 8px; padding-top: 22px; }
.nx-home-service h3 { margin-bottom: 10px; }
.nx-home-service-title-link { display: inline-block; min-height: 44px; padding-block: 8px; margin-block: -8px; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--nx-line); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.nx-home-service-title-link:hover { color: var(--nx-accent); text-decoration-color: currentColor; }
.nx-home-service > p { font-size: 1.125rem; line-height: 1.7; margin: 0 0 12px; }
.nx-home-service-badge { font-size: 1rem; color: var(--nx-accent); background: #e1eef3; border-radius: 4px; padding: 3px 8px; margin-bottom: 8px; }
.nx-home-service-price { display: flex; flex-direction: column; gap: 4px; margin-block: 4px 16px; }
.nx-home-service-price p { font-size: 1rem; margin: 0; }
.nx-home-service-price p:last-child { font-family: Manrope, sans-serif; font-size: 2rem; line-height: 1.35; font-weight: 800; color: var(--nx-ink); }
.nx-home-service-price p:last-child span { font-family: Onest, sans-serif; font-size: 1rem; font-weight: 400; }
:is(.page-id-52,.page-id-163) .nx-home-service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-accent); font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; margin-top: auto; }
.nx-home-service-link:hover { color: #0c4b63; }
.nx-home-service-link svg { display: none; }
/* Metadata follows the title at every width so readable text never competes for its line. */
.nx-home-service-badge { order: 1; }
.nx-home-service > p { order: 2; }
.nx-home-service-price { order: 3; }
.nx-home-service-link { order: 4; }

.nx-home-problem { background: var(--nx-surface); }
.nx-home-problem .text-center { text-align: left; margin-bottom: 32px; }
.nx-home-problem .grid { max-width: none; gap: 48px; }
.nx-home-problem .grid > div { border: 0; box-shadow: none; background: transparent; border-radius: 0; padding: 0; }
.nx-home-problem .grid > div > div:first-child > div { display: none; }
.nx-home-problem ul li { font-size: 1.125rem; line-height: 1.65; }
.nx-home-problem li svg { color: var(--nx-accent); }

.nx-home-benefits { background: white; }
.nx-home-benefit-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
:is(.page-id-52,.page-id-163) .nx-home-benefits :is(h2,h3,p) { color: var(--nx-ink); }
.nx-home-benefits .section-eyebrow { color: var(--nx-text) !important; }
.nx-home-benefit-layout > div:first-child { margin: 0; }
.nx-home-benefit-layout > div:first-child > h2 { margin-bottom: 0; }
.nx-home-benefit-action { justify-self: start; }
.nx-home-feature-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 28px; }
.nx-home-feature-list .feature-row { border-radius: 0; padding: 0; margin: 0; border-top: 0; transform: none; grid-template-columns: 1fr; }
.nx-home-feature-list .feature-row:first-child { padding-top: 0; border-top: 0; }
.nx-home-feature-list .feature-icon { display: none; }
.nx-home-feature-list p { font-size: 1.125rem; line-height: 1.7; }

.nx-home-datacentre { background: var(--nx-surface); }
.nx-home-rz-facts-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.nx-home-rz-facts-layout > div:first-child > p:last-child { margin-bottom: 0; }
.nx-home-datacentre .grid > div { border: 0; border-top: 1px solid var(--nx-line); border-radius: 0; padding: 16px 0 0; }
:is(.page-id-52,.page-id-163) .nx-home-datacentre .grid p:not(:first-child) { font-size: 1rem; }
.nx-home-datacentre .grid p:first-child { font-size: 1.375rem; color: var(--nx-ink); }

/* The real people behind the service reassure immediately before the form. */
:is(.page-id-52,.page-id-163) main > .nx-home-team { padding-block: 48px; background: white; }
.nx-home-team > div > div { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.nx-home-team .md\:flex { display: grid; grid-template-columns: .9fr 1fr; gap: 48px; align-items: center; }
.nx-home-team .md\:flex > div:first-child { width: 100%; background: transparent; }
.nx-home-team-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; min-height: 0; object-fit: cover; object-position: center; border-radius: 8px; opacity: 1; }
.nx-home-team .md\:flex > div:last-child { padding: 0; }
.nx-home-team .md\:flex > div:last-child > svg { display: none; }
:is(.page-id-52,.page-id-163) .nx-home-team :is(h2,p) { color: var(--nx-ink); }
.nx-home-team .section-eyebrow { color: var(--nx-text) !important; }
.nx-home-team blockquote { padding: 0; border: 0; margin-bottom: 14px; max-width: 70ch; }
.nx-home-team blockquote p { font-size: 1.125rem; font-style: normal; }
:is(.page-id-52,.page-id-163) .nx-home-team h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 18px; }
.nx-home-team .relative.z-10 > p { font-size: 1.125rem; margin-bottom: 16px; }
:is(.page-id-52,.page-id-163) .nx-home-team a[href="#kontakt"] { min-height: 44px; padding: 10px 18px; }

.nx-home-contact { background: var(--nx-ink); color: white; }
:is(.page-id-52,.page-id-163) .nx-home-contact > div:first-child { max-width: 768px; }
:is(.page-id-52,.page-id-163) .nx-home-contact h2 { color: white; }
.nx-home-contact .text-center { text-align: left; margin-bottom: 30px; }
.nx-home-contact .text-center p { margin-inline: 0; max-width: 65ch; }
.nx-home-contact .section-eyebrow { color: #d5e5ec; }
.nx-home-contact .bg-white { border: none; border-radius: 8px; box-shadow: none; padding: 28px; }
:is(.page-id-52,.page-id-163) .nx-home-contact div.wpforms-container-full { margin: 0; }
/* Unrelated fields follow one sequence; WPForms keeps the name pair together. */
:is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field-container { display: grid; grid-template-columns: 1fr; gap: 20px; }
:is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field { padding: 0; min-width: 0; }
:is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field-label { margin-bottom: 8px !important; }
:is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field-select select { max-width: 100%; width: 100%; min-height: 44px; }
:is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-submit-container { margin-top: 20px; padding: 0; }
:is(.page-id-52,.page-id-163) .nx-home-contact textarea { min-height: 120px; height: 120px; }
:is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field-sublabel { margin-top: 6px; }
:is(.page-id-52,.page-id-163) .nx-home-contact input,
:is(.page-id-52,.page-id-163) .nx-home-contact select,
:is(.page-id-52,.page-id-163) .nx-home-contact textarea { font-size: 1rem !important; caret-color: var(--nx-accent); }
:is(.page-id-52,.page-id-163) .nx-home-contact button[type="submit"] { min-height: 50px; }
/* Match the existing important form rules' layer; unlayered important rules lose. */
@layer components {
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form :is(.wpforms-field-label,.wpforms-field-sublabel,.wpforms-required-label,legend) { font-size: 1rem !important; line-height: 1.5 !important; }
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form :is(input[type="text"],input[type="email"],input[type="tel"]) { min-height: 48px; }

    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field-container { margin-bottom: 0 !important; }
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form :is(input[type="text"],input[type="email"],input[type="tel"],select,textarea):not(.wpforms-error):not([aria-invalid="true"]) { border-color: #758792 !important; background-color: white !important; }
    /* Inset focus stays visible inside WPForms' clipped field containers. */
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form :is(input,select,textarea):focus-visible { outline: 3px solid var(--nx-accent) !important; outline-offset: -3px !important; box-shadow: none !important; }
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form button[type="submit"] { background: var(--nx-accent) !important; color: white !important; }
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form button[type="submit"]:hover { background: #0c4b63 !important; transform: none !important; }
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-form button[type="submit"]:focus-visible { outline: 3px solid var(--nx-accent) !important; outline-offset: 3px !important; }
}
:is(.page-id-52,.page-id-163) .noxtec-floating-cta { display: none; }

@media (max-width: 1279px) {
    :is(.page-id-52,.page-id-163) header > div:first-child > div { height: 76px; }
    :is(.page-id-52,.page-id-163) header img { height: 56px; }
    .nx-home-hero-layout { gap: 36px; }
    .nx-home-actions { gap: 4px 18px; }
    :is(.page-id-52,.page-id-163) .nx-home-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; margin-right: 6px; border-radius: 6px; background: var(--nx-accent); color: white; font-size: 1rem; font-weight: 600; text-align: center; }
    :is(.page-id-52,.page-id-163) .nx-home-header-cta:hover { background: #0c4b63; }
}
@media (max-width: 900px) {
    .nx-home-hero-layout { grid-template-columns: 1fr; gap: 32px; }
    .nx-home-hero-layout > div:first-child { max-width: 680px; }
    .nx-home-rz-photo { height: 300px; }
    .nx-home-hero-figure { max-width: 680px; }
    :is(.page-id-52,.page-id-163) .nx-home-title { font-size: clamp(2.25rem, 5.5vw, 3.1rem); }
    .nx-home-partners > div { align-items: flex-start; flex-direction: column; gap: 16px; }
    .nx-home-partners p { max-width: none; }
    .nx-home-partners > div > div { width: 100%; justify-content: space-between; gap: 20px; }
    .nx-home-benefit-layout { grid-template-columns: 1fr; gap: 32px; }
    .nx-home-service-list { column-gap: 28px; }
    .nx-home-rz-facts-layout { grid-template-columns: 1fr; gap: 28px; }
    .nx-home-team .md\:flex { grid-template-columns: 1fr; gap: 28px; }
    .nx-home-team .md\:flex > div:first-child { max-width: 600px; }
}
@media (max-width: 600px) {
    :is(.page-id-52,.page-id-163) main > :is(section,div) > div:first-child,
    .nx-home-container { padding-inline: 20px; }
    :is(.page-id-52,.page-id-163) main > section { padding-block: 44px; }
    :is(.page-id-52,.page-id-163) main > .nx-home-hero { padding-block: 32px; }
    .nx-home-intro { font-size: 1rem; margin-bottom: 16px; }
    .nx-home-lead { font-size: 1.125rem; margin-bottom: 22px; }
    .nx-home-actions { align-items: stretch; flex-direction: column; gap: 10px; margin-bottom: 20px; }
    .nx-home-primary-action { align-items: stretch; }
    .nx-home-actions a { min-height: 48px; }
    :is(.page-id-52,.page-id-163) .nx-home-actions a[href="#kontakt"] { padding-inline: 12px; font-size: 1rem; }
    .nx-home-reassurance { margin-top: 8px; font-size: 1rem; }
    .nx-home-certificates { gap: 8px 14px; }
    .nx-home-rz-photo { height: 230px; }
    .nx-home-service-list, .nx-home-feature-list { grid-template-columns: 1fr; }
    .nx-home-problem .grid { gap: 32px; }
    .nx-home-partners img { max-width: 98px; height: 22px; }
    .nx-home-partners span { font-size: 1rem; }
    .nx-home-partners > div > div { flex-wrap: wrap; justify-content: flex-start; gap: 18px 24px; }
    .nx-home-partners > div > div > div { gap: 5px; }
    .nx-home-datacentre .mb-12 { margin-bottom: 28px; }
    .nx-home-team .md\:flex { grid-template-columns: 1fr; gap: 24px; }
    .nx-home-team .md\:flex > div:first-child { max-width: none; }
    .nx-home-contact .bg-white { padding: 22px 18px; }
    :is(.page-id-52,.page-id-163) .nx-home-contact .wpforms-field-container { gap: 18px; }
    :is(.page-id-52,.page-id-163) header img { height: auto; width: 120px; }
    :is(.page-id-52,.page-id-163) header > div:first-child { padding-inline: 16px; }
    :is(.page-id-52,.page-id-163) #mobile-menu-button { padding: 10px; }
}
@media (max-width: 782px) {
    /* Match the sticky header's admin offset while the owner reviews the page. */
    :is(.page-id-52,.page-id-163) #wpadminbar { position: fixed; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.page-id-52,.page-id-163) *, :is(.page-id-52,.page-id-163) *::before, :is(.page-id-52,.page-id-163) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Four partners remain a quiet, readable row, wrapping as complete marks. */
.nx-home-partners > div > div { flex-wrap: wrap; gap: 24px 30px; }
.nx-home-partners .nx-partner-parallels { display: inline-flex; align-items: center; gap: 7px; }
.nx-home-partners .nx-partner-parallels img { width: 126px; height: auto; }
@media (max-width: 600px) {
    .nx-home-partners > div > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; align-items: center; }
    .nx-home-partners .nx-partner-parallels { flex-wrap: wrap; }
    .nx-home-partners .nx-partner-parallels img { width: 100px; }
}
