/* Gemeinsame Geometrie aller öffentlichen Invicta-Seiten.
   Logo und Header bleiben bei jedem Seitenwechsel und beim Scrollen gleich.
   Nur hier die seitlichen Inhaltsabstände ändern. */
:root {
    --site-gutter: clamp(20px, 6vw, 120px);
    --site-header-height: 84px;
    --site-logo-width: 180px;
    --site-logo-height: 58px;
}
html {
    scroll-padding-top: calc(var(--site-header-height) + 20px);
}
body {
    padding-top: var(--site-header-height);
}
body.invicta-fullscreen-pages {
    --fs-gutter: var(--site-gutter);
}
body .header {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 1000;
    width: 100%;
    max-width: none;
    height: var(--site-header-height) !important;
    min-height: var(--site-header-height);
    margin: 0 !important;
    padding: 0 var(--site-gutter) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff !important;
    box-shadow: 0 1px 12px #10202a12;
    transform: none !important;
    transition: none !important;
    box-sizing: border-box;
}
body .header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: static;
    width: 100%;
    max-width: none;
    height: 100% !important;
    margin: 0;
    padding: 0;
    gap: 24px;
}
body .header .logo,
body footer .logo {
    display: block;
    flex: 0 0 var(--site-logo-width);
    width: var(--site-logo-width) !important;
    min-width: var(--site-logo-width);
    max-width: var(--site-logo-width);
    height: var(--site-logo-height) !important;
    margin: 0 !important;
    padding: 0;
    font-size: 0 !important;
    background: url("img/invicta-logo.webp") left center / contain no-repeat !important;
    transform: none;
    transition: none;
}
body .header .logo > *,
body footer .logo > * {
    display: none !important;
}
body .header nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 1.6vw, 30px);
    margin: 0;
    padding: 0;
    font-size: 14px;
}
body .header nav a {
    white-space: nowrap;
    font-size: 14px;
}
body .header-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
}
body .header .button {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
}
body .header .contact-meta {
    display: none;
}
body .header .language-switch {
    position: static;
    transform: none;
    flex-shrink: 0;
}
body .header .menu {
    display: none;
}
/* Die Hintergrundmotive bleiben vollflächig; die Inhalte erhalten dieselbe Innenkante. */
body:not(.invicta-fullscreen-pages) main > section,
body:not(.invicta-fullscreen-pages) .cfg-wrap,
body:not(.invicta-fullscreen-pages) > footer {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}
body:not(.invicta-fullscreen-pages) .section-heading {
    margin-left: 0;
    margin-right: 0;
}
body.invicta-fullscreen-pages .footer-inner {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
}
/* Textreiche Seiten dürfen über die Bildhöhe hinaus wachsen. */
.customer-page .customer-final {
    min-height: 33.348689vw;
}
@media (max-width: 1100px) {
    body .header .menu {
        display: grid !important;
        place-content: center;
        margin-left: auto;
        width: 44px;
        min-height: 44px;
        flex-shrink: 0;
        background: transparent;
        color: #111820;
        border: 0;
        font-size: 25px;
        cursor: pointer;
    }
    body .header-contact,
    body .header .head-cta {
        display: none !important;
    }
    body .header nav {
        display: none !important;
        position: absolute;
        inset: var(--site-header-height) 0 auto !important;
        width: 100%;
        max-height: calc(100dvh - var(--site-header-height));
        overflow-y: auto;
        box-sizing: border-box;
        padding: 16px var(--site-gutter) !important;
        background: #fff;
        box-shadow: 0 8px 12px #10202a12;
        transform: none;
    }
    body .header nav.open {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    body .header nav a {
        padding: 12px 0 !important;
        font-size: 16px !important;
    }
    body .header .language-switch {
        top: auto !important;
        right: auto !important;
    }
}
@media (max-width: 620px) {
    :root {
        --site-gutter: 20px;
    }
}

body .header nav .mobile-customer-login {
    display: none;
}
@media (max-width: 1100px) {
    body .header nav .mobile-customer-login {
        display: block;
        color: #d72940;
        font-weight: 700;
    }
}
body .cfg-layout,
body .cfg-alert,
body .cfg-progress,
body .cfg-trust {
    max-width: none;
}
/* Gemeinsame Abstände auch für Kontakt-, Bestell- und Rechtstextseiten. */
body.invicta-fullscreen-pages {
    --fs-gutter: var(--site-gutter) !important;
}
body.invicta-fullscreen-pages
    :is(
        .privacy-legal-content,
        .agb-legal-content,
        .imprint-legal-content,
        .contact-hero,
        .contact-shell,
        .hosting-order-head,
        .hosting-order-shell,
        .pb-pricing-grid
    ) {
    width: calc(100% - 2 * var(--site-gutter)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.invicta-fullscreen-pages main.content,
body.invicta-fullscreen-pages main.content > article {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Nahtloser Anschluss: Den Platz für den festen Header reserviert nur body.
   Die Hero-Bilder starten direkt an der Unterkante des Headers. */
body > main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body
    main
    > :is(
        .hero,
        .hosting-hero,
        .marketing-hero,
        .seo-hero,
        .shops-hero,
        .customer-hero
    ) {
    margin-top: 0;
    height: auto;
    min-height: var(--hero-image-height);
    background-position: center top;
}
.hero {
    --hero-image-height: 35.57vw;
}
.hosting-hero {
    --hero-image-height: 33.35vw;
}
.marketing-hero {
    --hero-image-height: 41.66vw;
}
.seo-hero {
    --hero-image-height: 48.54vw;
}
.shops-hero {
    --hero-image-height: 53.58vw;
}
.customer-hero {
    --hero-image-height: 47.1vw;
}
/* Einheitlicher vertikaler Rhythmus innerhalb der Hero-Inhalte. */
:root {
    --hero-content-top: clamp(48px, 5vw, 96px);
    --hero-label-gap: 16px;
    --hero-text-gap: 24px;
    --hero-actions-gap: 24px;
    --hero-button-gap: 16px;
}
body
    main
    > :is(
        .hero,
        .hosting-hero,
        .marketing-hero,
        .seo-hero,
        .shops-hero,
        .customer-hero,
        .cfg-hero
    ) {
    padding-top: var(--hero-content-top);
    padding-bottom: 40px;
}
body
    :is(
        .hero-copy,
        .hosting-hero-copy,
        .marketing-hero-copy,
        .seo-hero-copy,
        .customer-hero-copy,
        .cfg-hero > div:first-child
    ) {
    margin-top: 0;
    padding-top: 0;
}
body
    :is(
        .hero-copy,
        .hosting-hero-copy,
        .marketing-hero-copy,
        .seo-hero-copy,
        .customer-hero-copy,
        .cfg-hero > div:first-child
    )
    > .eyebrow {
    margin: 0 0 var(--hero-label-gap);
    line-height: 20px;
}
body
    :is(
        .hero-copy,
        .hosting-hero-copy,
        .marketing-hero-copy,
        .seo-hero-copy,
        .customer-hero-copy,
        .cfg-hero > div:first-child
    )
    > h1 {
    margin: 0;
}
body
    :is(
        .hero-copy,
        .hosting-hero-copy,
        .marketing-hero-copy,
        .seo-hero-copy,
        .customer-hero-copy,
        .cfg-hero > div:first-child
    )
    > p:not(.eyebrow) {
    margin: var(--hero-text-gap) 0 0;
}
body
    :is(
        .hero-copy,
        .hosting-hero-copy,
        .marketing-hero-copy,
        .seo-hero-copy,
        .customer-hero-copy,
        .cfg-hero > div:first-child
    )
    > .actions {
    margin: var(--hero-actions-gap) 0 0;
    gap: var(--hero-button-gap);
}
body
    :is(
        .hero-copy,
        .hosting-hero-copy,
        .marketing-hero-copy,
        .seo-hero-copy,
        .customer-hero-copy
    )
    > :is(
        .checks,
        .hosting-highlights,
        .marketing-highlights,
        .seo-highlights,
        .hero-benefits,
        .customer-highlights
    ) {
    margin-top: 32px;
}
@media (max-width: 760px) {
    :root {
        --hero-content-top: 40px;
    }
}
/* Navigation: sichtbare Rückmeldung für Maus und Tastatur. */
body .header nav a {
    position: relative;
    text-decoration: none;
    transition: color 160ms ease;
}
body .header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #d72940;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
    pointer-events: none;
}
body .header nav a:hover,
body .header nav a:focus-visible {
    color: #d72940;
}
body .header nav a:hover::after,
body .header nav a:focus-visible::after {
    transform: scaleX(1);
}
body .header nav a:focus-visible {
    outline: 2px solid #d72940;
    outline-offset: 6px;
    border-radius: 2px;
}
@media (max-width: 1100px) {
    body .header nav a::after {
        bottom: 4px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body .header nav a,
    body .header nav a::after {
        transition: none;
    }
}
/* Kleine Überschrift über dem Hero-Titel auf allen Seiten gleich kräftig. */
body :is(.hero-copy, .hosting-hero-copy, .marketing-hero-copy, .seo-hero-copy, .customer-hero-copy, .cfg-hero > div:first-child) > .eyebrow {
    font-weight: 800;
}


/* Konfigurator: echtes Logo-Bild sichtbar halten. */
body.cfg-body .header .logo.logo-new {
    background: none !important;
}
body.cfg-body .header .logo.logo-new > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: left center;
}
