/* ==========================================================
   PLATE MARINE & TECHNICAL SERVICE
   Custom CSS
   Version 2.1 – SAFE CLEANUP
   ========================================================== */


/* ==========================================================
   01. VARIABLES
   ========================================================== */

:root {
    --plate-blue: #0a3156;
    --plate-blue-2: #0e4778;
    --plate-mid: #0877dd;
    --plate-mid-dark: #0667c4;
    --plate-dark: #062641;
    --plate-dark-2: #041d32;

    --plate-pale: #eef5fa;
    --plate-pale-2: #f5f8fb;

    --plate-border: #d9e2e9;
    --plate-border-dark: #c7d4de;

    --plate-text: #10283f;
    --plate-text-light: #354d62;
    --plate-muted: #536579;

    --white: #ffffff;
    --black: #000000;

    --container: 1320px;

    --radius: 3px;
    --radius-card: 5px;

    --shadow-small: 0 4px 16px rgba(6, 38, 65, 0.07);
    --shadow-medium: 0 10px 30px rgba(6, 38, 65, 0.10);
    --shadow-large: 0 18px 50px rgba(6, 38, 65, 0.15);

    --transition-fast: 0.18s ease;
    --transition: 0.25s ease;
}


/* ==========================================================
   02. GLOBAL
   ========================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--plate-text);
    background: var(--white);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

svg {
    display: block;
}

a {
    color: var(--plate-blue);
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        opacity var(--transition-fast);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

address {
    font-style: normal;
}

::selection {
    color: var(--white);
    background: var(--plate-mid);
}


/* ==========================================================
   03. ACCESSIBILITY
   ========================================================== */

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;

    padding: 10px 16px;

    color: var(--white);
    background: var(--plate-dark);

    border-radius: 14px;

    text-decoration: none;
    transform: translateY(-150%);

    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(8, 119, 221, 0.45);
    outline-offset: 3px;
}


/* ==========================================================
   04. BOOTSTRAP / CONTAINER
   ========================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin-right: auto;
    margin-left: auto;

    padding-right: 20px;
    padding-left: 20px;
}


/* ==========================================================
   05. TOPBAR
   ========================================================== */


/* ==========================================================
   06. HEADER
   ========================================================== */


.contact-icon {
    display: inline-block;

    margin-right: 7px;

    font-size: 16px;
    line-height: 1;
}


/* ==========================================================
   07. MAIN NAVIGATION
   ========================================================== */


/* Dropdown */


/* ==========================================================
   08. MOBILE NAVIGATION
   ========================================================== */


/* ==========================================================
   09. BUTTONS
   ========================================================== */

.btn {
    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 26px;

    border-radius:18px;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    text-decoration: none;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: var(--plate-mid);
    border: 1px solid var(--plate-mid);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    color: var(--white);
    background: var(--plate-mid-dark);
    border-color: var(--plate-mid-dark);

    box-shadow: 0 6px 18px rgba(8, 119, 221, 0.25);
}

.btn-light-outline {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.95);
}

.btn-light-outline:hover,
.btn-light-outline:focus-visible {
    color: var(--plate-blue);
    background: var(--white);
    border-color: var(--white);
}

.btn-outline-primary {
    color: var(--plate-mid);
    background: transparent;
    border: 1px solid var(--plate-mid);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    color: var(--white);
    background: var(--plate-mid);
    border-color: var(--plate-mid);
}


/* ==========================================================
   10. HERO
   ========================================================== */

.hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);

    isolation: isolate;
}

.hero-background {
    position: absolute;
    inset: 0;

    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 52, 0.90) 0%,
            rgba(3, 30, 52, 0.70) 42%,
            rgba(3, 30, 52, 0.28) 72%,
            rgba(3, 30, 52, 0.08) 100%
        );
}

.hero-inner {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
}



.hero-kicker,
.section-kicker {
    display: block;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero-kicker {
    margin-bottom: 9px;

    color: #4db2ff;
}

.hero h1 {
    margin: 0 0 16px;

    color: var(--white);

    font-size: clamp(44px, 5.4vw, 72px);
    font-weight: 800;

    line-height: 0.98;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    margin: 0 0 25px;

    color: var(--white);

    font-size: clamp(18px, 2vw, 22px);
}

.hero-slogan {
    position: absolute;

    right: 15px;
    bottom: 55px;

    max-width: 240px;

    color: var(--white);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: 28px;
    line-height: 1.12;

    font-style: italic;
    text-align: center;

    transform: rotate(-4deg);
}


/* ==========================================================
   11. HERO VALUES
   ========================================================== */

.hero-values {
    color: var(--white);

    background: rgba(4, 35, 60, 0.98);
}

.values-grid {
    min-height: 74px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.value-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 18px;
    border-radius: 8px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.value-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    color: var(--white);

    font-size: 28px;
    line-height: 1;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.value-item strong,
.value-item span {
    display: block;
}

.value-item strong {
    font-size: 13px;
    font-weight: 800;
}

.value-item span {
    margin-top: 1px;

    color: #d5e1eb;

    font-size: 12px;
}

@media (hover: hover) and (pointer: fine) {
    .value-item:hover {
        background: rgba(255, 255, 255, .055);
        transform: translateY(-1px);
    }

    .value-item:hover .value-icon {
        color: #b9e0ff;
        transform: scale(1.07);
    }
}


/* ==========================================================
   12. SECTIONS
   ========================================================== */

.section {
    padding: 65px 0;
}

.services-intro {
    background: var(--white);
}

.section-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    margin-bottom: 30px;
}

.section-topline > div {
    max-width: 720px;
}

.section-topline > p {
    max-width: 490px;

    margin: 0;

    color: var(--plate-text);

    font-size: 15px;
}

.text-primary {
    color: var(--plate-mid) !important;
}

.section-topline h2,
.section-heading h2,
.projects-head h2 {
    margin: 4px 0 8px;

    color: var(--plate-blue);

    font-size: 30px;
    font-weight: 800;

    line-height: 1.1;
}

.blue-line {
    display: block;

    width: 34px;
    height: 2px;

    background: var(--plate-mid);
}


/* ==========================================================
   SERVICE CARDS – FINAL DESIGN
   ========================================================== */


/* Karte */
.service-feature {
    display:flex;
    flex-direction:column;
    height:100%;
    overflow:hidden;
    background:#fff;
    border-radius:24px;
    border:1px solid #e4ebf2;
    box-shadow:
    overflow:hidden;
    background:#fff;
    border:1px solid #e4ebf2;
    border-radius:24px;
    box-shadow:0 12px 35px rgba(8,46,78,.10);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


/* Bild */
.service-image-wrap {
    position:relative;
    display:block;
    width:100%;
    height:300px;
    overflow:hidden;
    height:300px;
    overflow:hidden;
}


.service-image-wrap img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease, filter .5s ease;
}

.service-image-wrap::after {
    position:absolute;
    inset:0;
    content:"";
    pointer-events:none;
    background:linear-gradient(180deg, rgba(8, 49, 86, 0) 42%, rgba(8, 49, 86, .18) 100%);
    opacity:0;
    transition:opacity var(--transition);
}


/* Titelbox */
.service-title {
    position:relative;
    isolation:isolate;
    display:flex;
    align-items:center;
    gap:16px;
    margin:18px 18px 0;
    padding:18px 20px;
    overflow:hidden;
    background:rgba(17, 65, 104, .78);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border:1px solid rgba(255, 255, 255, .18);
    border-radius:16px;
    box-shadow:0 8px 20px rgba(5, 31, 53, .12);
    transition:background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* Icon */
.service-icon {
    position:relative;
    z-index:1;
    flex:0 0 46px;
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    color:white;
    box-shadow:none;
    transition:background var(--transition), transform var(--transition), box-shadow var(--transition);
}


/* Überschrift */
.service-feature h3 {
    position:relative;
    z-index:1;
    margin:0;
    font-size:21px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:-.015em;
}


.service-feature h3 a {
    color:white;
    text-decoration:none;
}

.service-feature:hover {
    border-color:rgba(8,119,221,.42);
    box-shadow:0 22px 48px rgba(8,46,78,.18);
    transform:translateY(-7px);
}

.service-feature:hover .service-image-wrap img {
    filter:saturate(1.08) contrast(1.03);
    transform:scale(1.055);
}

.service-feature:hover .service-image-wrap::after {
    opacity:1;
}

.service-feature:hover .service-title {
    background:rgba(17, 73, 118, .86);
    border-color:rgba(255,255,255,.30);
    box-shadow:0 10px 24px rgba(5,31,53,.16);
    transform:translateY(-2px);
}

.service-feature:hover .service-icon {
    background:rgba(255,255,255,.20);
    box-shadow:none;
    transform:scale(1.03);
}

.service-feature:hover .text-link span {
    display:inline-block;
    transform:translateX(4px);
}

.service-feature .text-link span {
    display:inline-block;
    transition:transform var(--transition-fast);
}

@media (prefers-reduced-motion: reduce) {
    .service-feature:hover,
    .service-feature:hover .service-title,
    .service-feature:hover .service-icon,
    .service-feature:hover .text-link span {
        transform:none;
    }
}

/* Abstand zum Beschreibungstext */
.service-feature p {

    margin:20px 20px 0;

    font-size:15px;
    line-height:1.55;

}

/* Link */
.service-feature .text-link {

    margin:

    auto 24px 24px;


    padding-top:24px;


}

/* Mobile */
@media(max-width:767px){


    .service-image-wrap {

        height:240px;

    }


    .service-title {

        margin:

        14px 14px 0;


        padding:

        14px 16px;

    }


    .service-feature h3 {

        font-size:18px;

    }

}

/* ==========================================================
   14. PROJECTS
   ========================================================== */

.projects-band {
    padding: 28px 0 32px;

    background: var(--plate-pale);
}

.projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 15px;
}

.projects-head h2 {
    margin: 0;
}

.project-mini {
    min-height: 68px;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    color: var(--plate-blue);
    background: var(--white);

    border: 1px solid #e1e9ef;

    text-decoration: none;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.project-mini:hover {
    color: var(--plate-blue);

    border-color: var(--plate-border-dark);

    transform: translateY(-2px);

    box-shadow: var(--shadow-small);
}

.project-mini-img {
    flex: 0 0 180px;

    width: 180px;
    height: 100%;

    min-height: 68px;

    object-fit: cover;
}

.project-mini-content {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 10px 13px;
}

.project-mini strong {
    overflow: hidden;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.project-mini span {
    margin-top: 2px;

    overflow: hidden;

    color: var(--plate-muted);

    font-size: 11px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.project-mini b {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    padding: 0 13px;

    color: var(--plate-mid);

    font-size: 17px;
}

.empty-projects {
    padding: 20px;

    background: var(--white);

    border: 1px solid var(--plate-border);
}

.empty-projects p {
    margin: 0 0 8px;
}


/* ==========================================================
   15. PROCESS
   ========================================================== */

.process-band {
    padding: 19px 0;

    background: #e6f1f9;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}

.process-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.process-item > span {
    flex: 0 0 auto;

    color: var(--plate-blue);

    font-size: 31px;
    line-height: 1;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.process-item strong,
.process-item small {
    display: block;
}

.process-item strong {
    color: var(--plate-blue);

    font-size: 13px;
    font-weight: 800;
}

.process-item small {
    margin-top: 1px;

    color: #50667b;

    font-size: 12px;
}

@media (hover: hover) and (pointer: fine) {
    .process-item:hover {
        background: rgba(255, 255, 255, .40);
        transform: translateY(-1px);
    }

    .process-item:hover > span {
        color: var(--plate-mid);
        transform: scale(1.06);
    }
}


/* ==========================================================
   16. HOMEPAGE CTA
   ========================================================== */

.homepage-cta {
    padding: 70px 0;

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            var(--plate-dark),
            var(--plate-blue)
        );
}

.homepage-cta .section-kicker {
    color: #5bb5ff;
}

.homepage-cta h2 {
    max-width: 800px;

    margin: 7px 0 10px;

    color: var(--white);

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;

    line-height: 1.05;
}

.homepage-cta p {
    margin: 0 0 25px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 18px;
}


/* ==========================================================
   17. FOOTER
   ========================================================== */

.site-footer {
    padding: 30px 0 15px;

    color: var(--white);

    background: var(--plate-dark);
}

.footer-logo {
    width: 135px;
    height: 82px;

    object-fit: contain;
}

.footer-main h3 {
    margin: 7px 0 8px;

    color: var(--white);

    font-size: 15px;
    font-weight: 800;
}

.footer-main p {
    margin: 0;

    color: #e0e8ef;

    font-size: 12px;
}

.footer-main a {
    display: block;

    margin-bottom: 6px;

    color: var(--white);

    font-size: 12px;

    text-decoration: none;
}

.footer-main a:hover {
    color: #66baff;
}

.footer-contact p {
    margin-bottom: 6px;
}

.footer-slogan {
    padding-top: 10px;

    color: var(--white);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: 20px;
    font-style: italic;

    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 20px;
    padding-top: 10px;

    border-top: 1px solid rgba(255, 255, 255, 0.20);

    color: #c7d6e1;

    font-size: 10px;
}


/* ==========================================================
   18. PAGE HERO
   ========================================================== */


/* ==========================================================
   19. CONTENT
   ========================================================== */

.content-area {
    padding: 70px 0;
}

.content-area article {
    max-width: 1000px;
}

.content-area h2,
.content-area h3 {
    color: var(--plate-blue);
    font-weight: 800;
}

.content-area h2 {
    margin-top: 35px;
}

.content-area p,
.content-area li {
    color: var(--plate-text-light);
}

.content-area a {
    color: var(--plate-mid);
}

.content-area img {
    border-radius: var(--radius-card);
}


/* ==========================================================
   20. CONTACT FORM
   ========================================================== */

.contact-box {
    padding: 30px;

    background: var(--white);

    border: 1px solid var(--plate-border);

    box-shadow: var(--shadow-medium);
}

.form-label {
    color: var(--plate-blue);

    font-size: 14px;
    font-weight: 700;
}

.form-control {
    min-height: 48px;

    border: 1px solid var(--plate-border);

    border-radius:18px;

    color: var(--plate-text);
    background: var(--white);

    box-shadow: none;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.form-control:focus {
    color: var(--plate-text);
    background: var(--white);

    border-color: var(--plate-mid);

    box-shadow:
        0 0 0 3px rgba(8, 119, 221, 0.10);
}

textarea.form-control {
    min-height: 160px;

    resize: vertical;
}


/* ==========================================================
   21. PROJECT DETAIL
   ========================================================== */

.project-detail-image {
    width: 100%;

    border-radius: var(--radius-card);
}

.project-detail {
    padding: 72px 0 48px;
}

.project-detail .row {
    align-items: flex-start;
}

.project-detail-media {
    margin: 0;
}

.project-image-caption {
    margin-top: 12px;
    color: var(--plate-text-light);
    font-size: 15px;
}

.project-detail .contact-box {
    padding: 38px;
    border-radius: var(--radius-card);
}

.project-detail .contact-box h2 {
    margin: 8px 0 16px;
    color: var(--plate-blue);
    font-size: clamp(28px, 2.25vw, 36px);
    line-height: 1.12;
}

.project-detail .contact-box p {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.65;
}

/* This overrides the generic .content-area link colour on the blue CTA. */
.project-detail .contact-box .btn-primary,
.project-detail .contact-box .btn-primary span {
    color: var(--white) !important;
}

.project-detail .contact-box .btn-primary {
    gap: 10px;
}

@media (min-width: 992px) {
    .project-detail .contact-box {
        position: sticky;
        top: calc(var(--plate-header-height-desktop) + 28px);
    }
}

.project-navigation-section {
    padding: 12px 0 72px;
}

.project-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--plate-border);
}

.project-navigation a:not(.btn) {
    color: var(--plate-blue);
    font-weight: 700;
    text-decoration: none;
}

.project-navigation-next {
    text-align: right;
}

.project-navigation .projects-button {
    top: auto !important;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .project-detail {
        padding: 48px 0 36px;
    }

    .project-detail .contact-box {
        padding: 26px;
    }

    .project-navigation-section {
        padding-bottom: 48px;
    }

    .project-navigation {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        text-align: center;
    }

    .project-navigation-next {
        text-align: center;
    }
}

.project-content {
    color: var(--plate-text-light);
}

.project-content h2,
.project-content h3 {
    color: var(--plate-blue);
}

.project-content ul {
    padding-left: 20px;
}

.project-content li {
    margin-bottom: 7px;
}


/* ==========================================================
   BUSINESS AREA DETAIL
   ========================================================== */

.business-detail {
    padding: 78px 0 82px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
}

.business-detail .container {
    max-width: 1240px;
}

.business-detail-row {
    --bs-gutter-x: 48px;
}

.business-detail-image-wrap {
    height: 100%;
    min-height: 445px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--plate-pale);
    box-shadow: 0 18px 40px rgba(6, 38, 65, .14);
}

.business-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.business-detail-row > div:last-child {
    align-self: center;
    padding: 34px 36px 36px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(217, 226, 233, .82);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(6, 38, 65, .06);
}

.business-detail .section-kicker {
    margin-bottom: 10px;
    font-size: 12px;
}

.business-detail-title {
    max-width: 620px;
    margin: 0 0 14px;
    color: var(--plate-blue);
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.business-detail-content {
    color: var(--plate-text-light);
    font-size: 17px;
    line-height: 1.6;
}

.business-detail-content > :first-child {
    margin-top: 0;
}

.business-detail-content p {
    margin: 0 0 20px;
}

.business-detail-content ul {
    display: grid;
    gap: 9px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.business-detail-content li {
    position: relative;
    padding-left: 23px;
}

.business-detail-content li::before {
    position: absolute;
    top: .66em;
    left: 1px;
    width: 7px;
    height: 7px;
    content: "";
    background: var(--plate-mid);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(8, 119, 221, .09);
}

.business-detail .btn.btn-primary {
    min-width: 220px;
    min-height: 54px;
    color: var(--white);
    background: var(--plate-mid);
    border-color: var(--plate-mid);
    box-shadow: 0 10px 24px rgba(8, 119, 221, .22);
}

.business-detail .btn.btn-primary:hover,
.business-detail .btn.btn-primary:focus-visible {
    color: var(--white);
    background: var(--plate-mid-dark);
    border-color: var(--plate-mid-dark);
    box-shadow: 0 14px 28px rgba(8, 119, 221, .28);
}

.business-detail-back {
    margin-top: 30px;
}

.business-detail-back .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--plate-blue);
    font-weight: 700;
    text-decoration: none;
}

.business-detail-back .text-link:hover {
    color: var(--plate-mid);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 991.98px) {
    .business-detail {
        padding: 58px 0 64px;
    }

    .business-detail-row {
        --bs-gutter-y: 30px;
    }

    .business-detail-image-wrap {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .business-detail {
        padding: 42px 0 52px;
    }

    .business-detail-row {
        --bs-gutter-x: 24px;
    }

    .business-detail-image-wrap {
        min-height: 270px;
        border-radius: 14px;
    }

    .business-detail-row > div:last-child {
        padding: 25px 22px 26px;
        border-radius: 14px;
    }

    .business-detail-title {
        font-size: 32px;
    }

    .business-detail-content {
        font-size: 16px;
    }
}


/* ==========================================================
   22. RESPONSIVE – LARGE TABLET
   ========================================================== */

@media (max-width: 1199.98px) {

    .container {
        max-width: 1140px;
    }

    .hero-slogan {
        display: none;
    }

}


/* ==========================================================
   23. RESPONSIVE – TABLET
   ========================================================== */

@media (max-width: 991.98px) {

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-topline {
        display: block;
    }

    .section-topline > p {
        max-width: 700px;

        margin-top: 18px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;

        margin-top: 5px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-inner {
        min-height: 500px;
    }

}


/* ==========================================================
   24. RESPONSIVE – MOBILE
   ========================================================== */

@media (max-width: 767.98px) {
  /* Auf Mobilgeräten nur Logo + Menü anzeigen */

    html {
        scroll-padding-top: 75px;
    }

    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero,
    .hero-inner {
        min-height: 570px;
    }

    .hero-copy {
        max-width: 100%;

        padding: 60px 0;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 30, 52, 0.91),
                rgba(3, 30, 52, 0.65)
            );
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item {
        justify-content: flex-start;
    }

    .section {
        padding: 50px 0;
    }

    .section-topline h2,
    .section-heading h2,
    .projects-head h2 {
        font-size: 28px;
    }

    .projects-head {
        display: block;
    }

    .projects-head .btn {
        margin-top: 15px;
    }

    .project-mini {
        min-height: 70px;
    }

    .project-mini-img {
        width: 120px;
        flex-basis: 120px;
    }

    .project-mini b {
        padding: 0 10px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        justify-content: flex-start;
    }

    .homepage-cta {
        padding: 55px 0;
    }

    .homepage-cta h2 {
        font-size: 36px;
    }

    .footer-slogan {
        padding-top: 15px;

        text-align: left;
    }

    .content-area {
        padding: 55px 0;
    }

    .contact-box {
        padding: 24px;
    }

}


/* ==========================================================
   25. RESPONSIVE – SMALL MOBILE
   ========================================================== */

@media (max-width: 479.98px) {

    .hero h1 {
        font-size: 39px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .service-feature h3 {
        font-size: 16px;
    }

    .project-mini-img {
        width: 100px;
        flex-basis: 100px;
    }

    .project-mini-content {
        padding: 8px 10px;
    }

    .project-mini strong {
        font-size: 12px;
    }

    .project-mini span {
        font-size: 10px;
    }

}


/* ==========================================================
   26. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}


/* ==========================================================
   CTA BUTTON
   ========================================================== */

.homepage-cta .btn {
    position: relative;
    min-height: 58px;
    padding: 16px 32px;

    color: var(--white);
    background: rgba(104, 181, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 24px;

    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.32),
        0 10px 28px rgba(0, 20, 38, 0.24);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.homepage-cta .btn:hover,
.homepage-cta .btn:focus-visible {
    color: var(--white);
    background: rgba(135, 199, 255, 0.30);
    border-color: rgba(255, 255, 255, 0.68);
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.42),
        0 14px 32px rgba(0, 20, 38, 0.32),
        0 0 20px rgba(112, 190, 255, 0.18);
}

/* Pfeil */
.homepage-cta .btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.homepage-cta .btn:hover span {
    transform: translateX(5px);
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .homepage-cta::before {
        transition: none;
    }

    .homepage-cta .btn {
        transition: none;
    }

    .homepage-cta .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .homepage-cta .btn:hover span {
        transform: none;
    }
}

/* ==========================================================
   PLATE MARINE – PROJEKTKARTEN
   Einheitliche Bilder + komplettes Bild als Link
   ========================================================== */

.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}


/* ----------------------------------------------------------
   PROJEKTBILD / LINK
   ---------------------------------------------------------- */

.project-card-image {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: 290px !important;
    min-height: 290px !important;
    max-height: 290px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    line-height: 0 !important;
    text-decoration: none !important;

    aspect-ratio: auto !important;
}


/* ----------------------------------------------------------
   BILD
   ---------------------------------------------------------- */

.project-card-image .project-image {
    display: block !important;
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 290px !important;

    min-width: 100% !important;
    min-height: 290px !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    /*
     * WICHTIG:
     * Das komplette Bild wird auf die Box gestreckt.
     * Nichts wird abgeschnitten.
     */
    object-fit: fill !important;
    object-position: center center !important;

    aspect-ratio: auto !important;

    pointer-events: none !important;
}


/* ----------------------------------------------------------
   KEIN ZOOM
   ---------------------------------------------------------- */

.project-card-image:hover .project-image {
    transform: none !important;
}


/* ----------------------------------------------------------
   PROJEKTTEXT
   ---------------------------------------------------------- */

.project-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;

    min-height: 0;

    padding-top: 8px;
}

.project-card-body h2 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.project-card-body p {
    margin-bottom: 18px !important;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.project-card-body .text-link {
    margin-top: auto !important;
}

.project-card .project-meta {
    display: none !important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .project-card-image {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    .project-card-image .project-image {
        height: 220px !important;
        min-height: 220px !important;
    }

}


@media (max-width: 479.98px) {

    .project-card-image {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }

    .project-card-image .project-image {
        height: 200px !important;
        min-height: 200px !important;
    }

}

/* ==========================================================
   BUTTONS – KORREKTUR
   ========================================================== */

/* Normale CTA-Buttons */
.btn,
a.btn,
button.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 52px !important;
    padding: 14px 28px !important;

    text-decoration: none !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Button-Text niemals ausblenden */
.btn *,
.btn-primary *,
a.btn *,
button.btn * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* ==========================================================
   ALLE PROJEKTE – POSITION
   ========================================================== */

a.text-link,
.all-projects,
a.all-projects {
    position: relative !important;
    z-index: 2 !important;
}


/* Falls "Alle Projekte" innerhalb eines CTA-Bereichs liegt */
.projects-cta,
.projects-more,
.project-cta {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 40px !important;
}


.projects-button {
    position: relative !important;
    top: -35px !important;
}

.project-services {
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #16395f !important;
}

/* ==========================================================
   MOBILE NAVIGATION – FINAL
   ========================================================== */

@media (max-width: 991.98px) {

    /* HEADER */

    /* Logo only – the logo already contains the company information */

    /* Hamburger */

    /* MOBILE MENU – solid background */
    #plateMobileMenu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        background: #f1f3f5 !important;
        background-color: #f1f3f5 !important;
        background-image: none !important;
        border-top: 1px solid #d4dbe2 !important;
        border-bottom: 1px solid #c7d0d9 !important;
        box-shadow: 0 10px 25px rgba(6, 38, 65, 0.14) !important;
        z-index: 9999 !important;
    }

    #plateMobileMenu:not(.show) {
        display: none !important;
    }

    #plateMobileMenu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */

/* ==========================================================
   CONTACT FORM – HONEYPOT
   ========================================================== */

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

/* ==========================================================
   HEADER – MOBILE LAYOUT
   ========================================================== */

@media (max-width: 991.98px) {

    /* Mobiles Menü: vollständig deckend, gleicher Verlauf wie Header */
    #plateMobileMenu,
    #plateMobileMenu.show {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        background: linear-gradient(
            180deg,
            #e7ebef 0%,
            #f2f4f6 100%
        ) !important;
        background-color: #f2f4f6 !important;
        background-image: linear-gradient(
            180deg,
            #e7ebef 0%,
            #f2f4f6 100%
        ) !important;
        border-top: 1px solid #cfd7df !important;
        border-bottom: 1px solid #c7d0d9 !important;
        box-shadow: 0 10px 25px rgba(6, 38, 65, 0.14) !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 9999 !important;
    }

    #plateMobileMenu:not(.show) {
        display: none !important;
    }

    /* STARTSEITE MOBILE: kompletter Hero-Inhalt mittig */
    .home #main-content > .hero .hero-inner,
    .front-page #main-content > .hero .hero-inner {
        justify-content: center;
        align-items: center;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .home #main-content > .hero .hero-copy,
    .front-page #main-content > .hero .hero-copy {
        width: 100%;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        text-align: center;
    }

    .home #main-content > .hero .hero-slogan,
    .front-page #main-content > .hero .hero-slogan {
        display: none;
    }
}


/* ========================================================== 
   GESCHÄFTSBEREICHE – ARCHIV / KOMPAKT
   ========================================================== */ 

.business-areas-page { 
    overflow-x: clip; 
} 

.business-area-hero { 
    padding: 58px 0 50px; 
    background: 
        linear-gradient(135deg, rgba(10,49,86,.98), rgba(18,74,116,.92)); 
    color: #fff; 
} 

.business-area-hero .container { 
    max-width: 1240px; 
} 

.business-area-hero .section-kicker { 
    color: rgba(255,255,255,.72); 
} 

.business-area-hero h1 { 
    margin: 6px 0 10px; 
    color: #fff; 
    font-size: clamp(40px, 4.7vw, 64px); 
    line-height: 1.02; 
    letter-spacing: -.02em; 
} 

.business-area-hero-text { 
    max-width: 760px; 
    margin: 0; 
    color: rgba(255,255,255,.84); 
    font-size: 17px; 
    line-height: 1.55; 
} 

.business-areas-archive { 
    padding: 38px 0 62px; 
    background: #fff; 
} 

.business-areas-archive > .container { 
    max-width: 1240px; 
} 

.business-areas-intro { 
    max-width: 820px; 
    margin: 0 auto 26px; 
    text-align: center; 
} 

.business-areas-intro h2 { 
    margin: 5px 0 10px; 
    color: #16395f; 
    font-size: clamp(29px, 3.2vw, 40px); 
    line-height: 1.08; 
} 

.business-areas-intro .blue-line { 
    display: block; 
    width: 58px; 
    height: 3px; 
    margin: 0 auto 10px; 
    background: #3478d5; 
} 

.business-areas-intro p { 
    max-width: 700px; 
    margin: 0 auto; 
    color: #5d7186; 
    font-size: 16px; 
    line-height: 1.5; 
} 

.business-areas-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap: 22px; 
    align-items: stretch; 
} 

.business-area-card { 
    min-width: 0; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    overflow: hidden; 
    background: #fff; 
    border: 1px solid #dfe6ed; 
    border-radius: 16px; 
    box-shadow: 0 8px 26px rgba(8, 46, 78, .07); 
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; 
} 

.business-area-card:hover { 
    transform: translateY(-5px); 
    border-color: #cbd8e5; 
    box-shadow: 0 15px 36px rgba(8, 46, 78, .12); 
} 

.business-area-card-image { 
    position: relative; 
    display: block; 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    overflow: hidden; 
    background: #eaf0f5; 
    text-decoration: none; 
} 

.business-area-image { 
    display: block; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    transition: transform .45s ease, filter .45s ease; 
} 

.business-area-card:hover .business-area-image { 
    transform: scale(1.025); 
    filter: saturate(1.04); 
} 

.business-area-card-image-empty { 
    display: grid; 
    place-items: center; 
    background: linear-gradient(135deg, #e8eef4, #f6f8fa); 
} 

.business-area-card-placeholder { 
    display: grid; 
    place-items: center; 
    width: 82px; 
    height: 82px; 
    border-radius: 50%; 
    background: #16395f; 
    color: #fff; 
    font-size: 38px; 
    box-shadow: 0 8px 22px rgba(8,46,78,.14); 
} 

.business-area-card-body { 
    display: flex; 
    flex-direction: column; 
    flex: 1 1 auto; 
    padding: 16px 20px 22px; 
} 

.business-area-card-topline { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    min-height: 30px; 
    margin-bottom: 9px; 
} 

.business-area-card-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    flex: 0 0 34px; 
    width: 34px; 
    height: 34px; 
    border-radius: 9px; 
    background: #edf4fb; 
    color: #16395f; 
    font-size: 18px; 
} 

.business-area-meta { 
    color: #6d8194; 
    font-size: 10px; 
    font-weight: 800; 
    letter-spacing: .13em; 
} 

.business-area-card h2 { 
    margin: 0 0 10px; 
    font-size: clamp(20px, 1.7vw, 24px); 
    line-height: 1.18; 
    letter-spacing: -.015em; 
} 

.business-area-card h2 a { 
    color: #16395f; 
    text-decoration: none; 
} 

.business-area-card h2 a:hover { 
    color: #3478d5; 
} 

.business-area-excerpt { 
    margin: 0 0 16px; 
    color: #5b7085; 
    font-size: 15px; 
    line-height: 1.58; 
} 

.business-area-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    width: fit-content; 
    margin-top: auto; 
    color: #3478d5; 
    font-size: 15px; 
    font-weight: 800; 
    text-decoration: none; 
} 

.business-area-link span { 
    transition: transform .2s ease; 
} 

.business-area-link:hover span { 
    transform: translateX(4px); 
} 

.business-area-admin-note { 
    padding: 24px; 
    border: 1px solid #dfe6ed; 
    border-radius: 14px; 
    background: #f7f9fb; 
    color: #5d7186; 
    text-align: center; 
} 

@media (max-width: 991.98px) { 
    .business-areas-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    } 
} 

@media (max-width: 767.98px) { 
    .business-area-hero { 
        padding: 46px 0 42px; 
    } 

    .business-areas-archive { 
        padding: 34px 0 52px; 
    } 

    .business-areas-intro { 
        margin-bottom: 22px; 
    } 

    .business-areas-grid { 
        grid-template-columns: 1fr; 
        gap: 18px; 
    } 

    .business-area-card-body { 
        padding: 18px 19px 21px; 
    } 
}

/* ==========================================================
   SEARCH PAGE
   ========================================================== */

.search-page-content {
    padding-top: 28px !important;
    padding-bottom: 48px !important;
}

.search-page-box {
    max-width: 920px;
    margin: 0 auto 34px;
}

.plate-search-form {
    width: 100%;
}

.plate-search-form-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.plate-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--plate-border);
    border-radius:18px;
    background: #fff;
    color: var(--plate-text);
    font: inherit;
    outline: none;
}

.plate-search-input:focus {
    border-color: var(--plate-mid);
    box-shadow: 0 0 0 3px rgba(8, 119, 221, 0.12);
}

.plate-search-submit {
    min-width: 140px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-results-header {
    max-width: 920px;
    margin: 0 auto 18px;
}

.search-results-header h2,
.search-intro h2 {
    margin: 4px 0 0;
    color: var(--plate-blue);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    font-weight: 800;
}

.search-results-list {
    max-width: 920px;
    margin: 0 auto;
}

.search-result-item {
    padding: 22px 0;
    border-top: 1px solid var(--plate-border);
}

.search-result-item:last-child {
    border-bottom: 1px solid var(--plate-border);
}

.search-result-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.search-result-title a {
    color: var(--plate-blue);
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--plate-mid);
}

.search-result-excerpt {
    margin: 0 0 12px;
    color: var(--plate-text-light);
}

.search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-intro,
.search-no-results {
    max-width: 920px;
    margin: 0 auto;
}

.search-intro p,
.search-no-results p {
    margin: 10px 0 0;
    color: var(--plate-text-light);
}

.search-page-content .navigation.pagination {
    margin-top: 28px;
}

@media (max-width: 767.98px) {
    .search-page-content {
        padding-top: 22px !important;
        padding-bottom: 34px !important;
    }

    .plate-search-form-row {
        flex-direction: column;
    }

    .plate-search-submit {
        width: 100%;
    }

    .search-result-title {
        font-size: 21px;
    }
}

/* ==========================================================
   NEWS / PARTNER – DYNAMISCHE INHALTE
   ========================================================== */

.plate-news-grid,
.plate-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.plate-news-card,
.plate-partner-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe6ed;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(8,46,78,.07);
}

.plate-news-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9eef2;
}

.plate-news-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.plate-news-card-body,
.plate-partner-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 22px 22px;
}

.plate-news-meta,
.plate-news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    color: #6d8194;
    font-size: 12px;
    font-weight: 700;
}

.plate-news-meta span,
.plate-news-article-meta span {
    padding-left: 10px;
    border-left: 1px solid #cbd6df;
}

.plate-news-card h2,
.plate-partner-card h2 {
    margin: 0 0 10px;
    color: #16395f;
    font-size: clamp(24px, 2.1vw, 31px);
    line-height: 1.12;
}

.plate-news-card h2 a,
.plate-partner-card h2 a {
    color: inherit;
    text-decoration: none;
}

.plate-news-card p,
.plate-partner-card p {
    margin: 0 0 18px;
    color: #5b7085;
    font-size: 15px;
    line-height: 1.6;
}

.plate-news-card .text-link,
.plate-partner-card .text-link {
    margin-top: auto;
}

.plate-partner-logo {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 190px;
    aspect-ratio: 16 / 9;
    padding: 24px;
    background: #f7f9fb;
    border-bottom: 1px solid #dfe6ed;
}

.plate-partner-image {
    display: block;
    max-width: 82%;
    max-height: 125px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.plate-partner-placeholder {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #16395f;
    color: #fff;
    font-size: 32px;
}

.plate-partner-meta {
    display: inline-block;
    margin-bottom: 8px;
    color: #6d8194;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.plate-news-article,
.plate-partner-article {
    max-width: 920px;
    margin: 0 auto;
}

.plate-news-featured-media,
.plate-partner-featured-media {
    margin: 0 0 28px;
}

.plate-news-featured-image,
.plate-partner-featured-image {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-card);
}

.plate-news-featured-media figcaption {
    margin-top: 8px;
    color: #6d8194;
    font-size: 12px;
}

.plate-news-content,
.plate-partner-article-content {
    color: var(--plate-text-light);
}

.plate-news-back,
.plate-partner-back {
    margin-top: 26px;
}

.plate-partner-website {
    margin: 28px 0 0;
}

.plate-empty-state {
    padding: 36px 28px;
    border: 1px solid #dfe6ed;
    border-radius: 16px;
    background: #f7f9fb;
    text-align: center;
}

.plate-empty-state h2 {
    margin: 0 0 10px;
    color: #16395f;
}

.plate-empty-state p {
    margin: 0;
    color: #5b7085;
}

@media (max-width: 991.98px) {
    .plate-news-grid,
    .plate-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .plate-news-grid,
    .plate-partner-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .plate-news-card-body,
    .plate-partner-body {
        padding: 18px 19px 21px;
    }

    .plate-news-featured-image,
    .plate-partner-featured-image {
        height: 280px;
    }
}

/* ==========================================================
   NEWS + PARTNER – PREMIUM SEITENLAYOUT
   Nur eine gemeinsame custom.css
   ========================================================== */

.plate-content-intro {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.plate-content-intro h2 {
    margin: 7px 0 12px;
    color: #16395f;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.plate-content-intro .blue-line {
    display: block;
    width: 58px;
    height: 3px;
    margin: 0 auto 12px;
    background: #3478d5;
}

.plate-content-intro p {
    max-width: 720px;
    margin: 0 auto;
    color: #5d7186;
    font-size: 16px;
    line-height: 1.6;
}

.plate-news-archive-content,
.plate-partner-archive-content {
    padding-top: 44px !important;
    padding-bottom: 60px !important;
}

.plate-news-grid,
.plate-partner-grid {
    gap: 24px;
}

.plate-news-card,
.plate-partner-card {
    border-color: #dce5ed;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(8, 46, 78, .07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.plate-news-card:hover,
.plate-partner-card:hover {
    transform: translateY(-5px);
    border-color: #c8d7e5;
    box-shadow: 0 18px 42px rgba(8, 46, 78, .13);
}

.plate-news-card-image {
    position: relative;
    background: linear-gradient(135deg, #dce7f0, #eff4f8);
}

.plate-news-image {
    transition: transform .45s ease, filter .45s ease;
}

.plate-news-card:hover .plate-news-image {
    transform: scale(1.035);
    filter: saturate(1.04) brightness(.93);
}

.plate-news-card-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: #fff;
    background: linear-gradient(180deg, rgba(6,39,68,0) 35%, rgba(6,39,68,.76) 100%);
    opacity: 0;
    transition: opacity .28s ease;
}

.plate-news-card-image-overlay span:first-child {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.plate-news-card-image-overlay span:last-child {
    font-size: 18px;
}

.plate-news-card:hover .plate-news-card-image-overlay,
.plate-news-card:focus-within .plate-news-card-image-overlay {
    opacity: 1;
}

.plate-news-card-image-empty {
    display: grid;
    place-items: center;
}

.plate-news-card-image-placeholder,
.plate-empty-state-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    color: #fff;
    background: #16395f;
    font-size: 28px;
}

.plate-news-card-body,
.plate-partner-card .plate-partner-body {
    padding: 22px 23px 24px;
}

.plate-news-meta {
    margin-bottom: 11px;
}

.plate-news-card h2,
.plate-partner-card h2 {
    font-size: clamp(20px, 1.7vw, 24px);
    letter-spacing: -.015em;
}

.plate-news-card p,
.plate-partner-card p {
    font-size: 15px;
    line-height: 1.62;
}

.plate-news-card-link,
.plate-partner-card-link {
    font-weight: 800;
}

.plate-partner-logo {
    position: relative;
    min-height: 215px;
    border-bottom: 1px solid #e0e7ed;
    background: linear-gradient(135deg, #f5f8fa, #eaf1f6);
    transition: background .28s ease;
}

.plate-partner-card:hover .plate-partner-logo {
    background: linear-gradient(135deg, #eef4f8, #e2ebf3);
}

.plate-partner-image {
    max-width: 76%;
    max-height: 120px;
    transition: transform .28s ease;
}

.plate-partner-card:hover .plate-partner-image {
    transform: scale(1.035);
}

.plate-partner-logo-arrow {
    position: absolute;
    right: 17px;
    bottom: 15px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(22,57,95,.92);
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s ease, transform .25s ease;
}

.plate-partner-card:hover .plate-partner-logo-arrow,
.plate-partner-card:focus-within .plate-partner-logo-arrow {
    opacity: 1;
    transform: translateX(0);
}

.plate-partner-meta {
    letter-spacing: .15em;
}

.plate-pagination {
    margin-top: 34px;
}

.plate-pagination .navigation.pagination {
    justify-content: center;
}

.plate-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 3px;
    padding: 0 10px;
    border: 1px solid #d5e0e8;
    border-radius: 10px;
    color: #16395f;
    background: #fff;
    text-decoration: none;
}

.plate-pagination .page-numbers.current,
.plate-pagination .page-numbers:hover {
    border-color: #3478d5;
    color: #fff;
    background: #3478d5;
}

.plate-empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 28px;
}

.plate-empty-state-icon {
    margin: 0 auto 18px;
}

.plate-empty-state h2 {
    font-size: 28px;
}

.plate-news-single,
.plate-partner-single {
    padding-top: 40px !important;
    padding-bottom: 56px !important;
}

.plate-news-article,
.plate-partner-article {
    max-width: 1100px;
}

.plate-news-article-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
}

.plate-news-article-meta {
    margin: 0;
}

.plate-news-article-meta time,
.plate-news-article-meta span,
.plate-news-author {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.plate-news-author {
    color: #6d8194;
    font-size: 13px;
    font-weight: 700;
}

.plate-news-featured-media {
    margin-bottom: 34px;
}

.plate-news-featured-image {
    height: 460px;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(6,38,65,.11);
}

.plate-news-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 48px;
    align-items: start;
}

.plate-news-content {
    max-width: 760px;
}

.plate-news-sidebox {
    position: sticky;
    top: 130px;
    padding: 25px 24px;
    border: 1px solid #dbe5ed;
    border-radius: 16px;
    background: linear-gradient(145deg, #f7fafc, #eef4f8);
}

.plate-news-sidebox h2 {
    margin: 6px 0 10px;
    color: #16395f;
    font-size: 22px;
    line-height: 1.2;
}

.plate-news-sidebox p {
    margin: 0 0 18px;
    color: #5b7085;
    font-size: 14px;
    line-height: 1.6;
}

.plate-news-sidebox .text-link {
    font-weight: 800;
}

.plate-partner-single-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: center;
}

.plate-partner-single-media-wrap {
    min-width: 0;
}

.plate-partner-featured-media {
    margin: 0;
}

.plate-partner-featured-image {
    height: 380px;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(6,38,65,.11);
}

.plate-partner-single-placeholder {
    display: grid;
    place-items: center;
    min-height: 340px;
    border: 1px solid #dce5ec;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f8fa, #e9f0f5);
    color: #16395f;
    font-size: 64px;
}

.plate-partner-article-content h2 {
    margin: 7px 0 18px;
    color: #16395f;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -.02em;
}

.plate-partner-article-content {
    color: #5b7085;
}

.plate-partner-website {
    margin-top: 26px;
}

.plate-news-back,
.plate-partner-back {
    margin-top: 32px;
}

@media (max-width: 991.98px) {
    .plate-news-single-layout,
    .plate-partner-single-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .plate-news-sidebox {
        position: static;
    }

    .plate-partner-single-layout {
        gap: 32px;
    }
}

@media (max-width: 767.98px) {
    .plate-content-intro {
        margin-bottom: 26px;
    }

    .plate-news-archive-content,
    .plate-partner-archive-content,
    .plate-news-single,
    .plate-partner-single {
        padding-top: 28px !important;
        padding-bottom: 42px !important;
    }

    .plate-news-article-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .plate-news-featured-image,
    .plate-partner-featured-image {
        height: 280px;
    }

    .plate-partner-single-placeholder {
        min-height: 260px;
    }
}

/* ==========================================================
   MOBILE – PARTNER OPTISCH AN NEWS ANGLEICHEN
   ========================================================== */
@media (max-width: 767.98px) {
    .plate-partner-grid .plate-partner-card {
        width: 100%;
    }

    .plate-partner-grid .plate-partner-logo {
        display: grid !important;
        place-items: center !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        padding: 18px !important;
        overflow: hidden !important;
        border-bottom: 1px solid #e0e7ed !important;
        box-sizing: border-box !important;
    }

    .plate-partner-grid .plate-partner-image {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 78% !important;
        max-height: 105px !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .plate-partner-grid .plate-partner-body {
        padding: 18px 19px 21px !important;
    }

    .plate-partner-grid .plate-partner-card h2 {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .plate-partner-grid .plate-partner-card p {
        margin-bottom: 16px !important;
    }

    .plate-partner-grid .plate-partner-logo-arrow {
        right: 12px !important;
        bottom: 12px !important;
        width: 32px !important;
        height: 32px !important;
    }

    /* Einzelne Partnerseite: gleiche Bildhöhe wie News auf Mobil */
    .plate-partner-single .plate-partner-featured-image {
        display: block !important;
        width: 100% !important;
        height: 280px !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* ==========================================================
   STANDARD TEMPLATE – MOBIL WENIGER ABSTAND UNTER HERO
   Nur normale WordPress-Seiten, nicht News/Partner/Projekte.
   ========================================================== */
@media (max-width: 767.98px) {
    

    html body.page:not(.home) #main-content > .content-area {
        padding-top: 12px !important;
        padding-bottom: 34px !important;
    }

    html body.page:not(.home) #main-content > .content-area .entry-content > :first-child {
        margin-top: 0 !important;
    }
}


/* ==========================================================
   PROJEKTE – ARCHIV NEU / EINHEITLICH
   ========================================================== */

.projects-archive-page {
    overflow-x: clip;
}

.projects-archive-content {
    padding: 24px 0 54px;
    background: #ffffff;
}

.projects-archive-content > .container {
    max-width: 1240px;
}

.projects-archive-intro {
    max-width: 820px;
    margin: 0 auto 24px;
    text-align: center;
}

.projects-archive-intro .section-kicker {
    margin-bottom: 5px;
}

.projects-archive-intro h2 {
    margin: 0 0 9px;
    color: var(--plate-blue);
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.02em;
}

.projects-archive-intro .blue-line {
    width: 44px;
    height: 3px;
    margin: 0 auto 11px;
}

.projects-archive-intro p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--plate-text-light);
    font-size: 16px;
    line-height: 1.55;
}

.projects-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.projects-archive-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe6ed;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(8, 46, 78, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.projects-archive-card:hover {
    transform: translateY(-4px);
    border-color: #cbd8e5;
    box-shadow: 0 16px 34px rgba(8, 46, 78, .12);
}

.projects-archive-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf2f6;
    text-decoration: none;
}

.projects-archive-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform .45s ease, filter .45s ease;
}

.projects-archive-card:hover .projects-archive-image {
    transform: scale(1.035);
    filter: brightness(.86);
}

.projects-archive-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f8396;
    font-size: 42px;
    background: linear-gradient(135deg, #eef3f7, #e1e8ee);
}

.projects-archive-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 38, 65, 0);
    opacity: 0;
    transition: opacity .25s ease, background .25s ease;
}

.projects-archive-card:hover .projects-archive-card-overlay,
.projects-archive-card-image:focus-visible .projects-archive-card-overlay {
    opacity: 1;
    background: rgba(6, 38, 65, .16);
}

.projects-archive-card-overlay-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #ffffff;
    background: rgba(9, 43, 78, .92);
    font-size: 14px;
    font-weight: 700;
    transform: translateY(8px);
    transition: transform .25s ease;
}

.projects-archive-card:hover .projects-archive-card-overlay-label,
.projects-archive-card-image:focus-visible .projects-archive-card-overlay-label {
    transform: translateY(0);
}

.projects-archive-card-overlay-label span {
    font-size: 18px;
    line-height: 1;
}

.projects-archive-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 18px 20px 20px;
}

.projects-archive-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #6d8194;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.projects-archive-card-meta i {
    color: var(--plate-mid);
    font-size: 15px;
    letter-spacing: 0;
}

.projects-archive-card-title {
    margin: 0 0 9px;
    color: var(--plate-blue);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.18;
}

.projects-archive-card-title a {
    color: inherit;
    text-decoration: none;
}

.projects-archive-card-title a:hover {
    color: var(--plate-mid);
}

.projects-archive-card-excerpt {
    margin: 0 0 15px;
    color: var(--plate-text-light);
    font-size: 14px;
    line-height: 1.55;
}

.projects-archive-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    color: var(--plate-mid);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.projects-archive-card-link span {
    transition: transform .2s ease;
}

.projects-archive-card-link:hover span {
    transform: translateX(4px);
}

.projects-archive-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 34px 24px;
    text-align: center;
    border: 1px solid #dfe6ed;
    border-radius: 14px;
    background: #f7f9fb;
}

.projects-archive-empty > i {
    color: var(--plate-mid);
    font-size: 34px;
}

.projects-archive-empty h2 {
    margin: 10px 0 8px;
    color: var(--plate-blue);
    font-size: 25px;
}

.projects-archive-empty p {
    margin: 0;
    color: var(--plate-text-light);
}

.projects-archive-page .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.projects-archive-page .nav-links a,
.projects-archive-page .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 10px;
    color: var(--plate-blue);
    background: #ffffff;
    border: 1px solid #dfe6ed;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.projects-archive-page .nav-links .current {
    color: #ffffff;
    background: var(--plate-mid);
    border-color: var(--plate-mid);
}

@media (max-width: 991.98px) {
    .projects-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .projects-archive-content {
        padding: 18px 0 38px;
    }

    .projects-archive-intro {
        margin-bottom: 18px;
    }

    .projects-archive-intro h2 {
        font-size: 29px;
    }

    .projects-archive-intro p {
        font-size: 15px;
    }

    .projects-archive-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .projects-archive-card-body {
        padding: 16px 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .projects-archive-card,
    .projects-archive-image,
    .projects-archive-card-overlay,
    .projects-archive-card-overlay-label,
    .projects-archive-card-link span {
        transition: none !important;
    }
}

/* ==========================================================
   PLATE MARINE – HEADER / HERO MASTER SYSTEM
   Einzige Definition für Fixierung und Hero-Geometrie.
   ========================================================== */

/* ----------------------------------------------------------
   FIXED HEADER-LAYER
   Topbar + Hauptheader bleiben als EIN Block fixiert.
   ---------------------------------------------------------- */


/* Die Header-Höhen bleiben konstant; Scrollen ändert nichts an der Größe. */


/* ----------------------------------------------------------
   STARTSEITE – 700 PX, BILD BIS GANZ OBEN, INHALT MITTIG
   ---------------------------------------------------------- */
.home #main-content > .hero,
.front-page #main-content > .hero {
    position: relative;
    height: 700px;
    min-height: 700px;
    max-height: 700px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

.home #main-content > .hero .hero-background,
.home #main-content > .hero .hero-background img,
.front-page #main-content > .hero .hero-background,
.front-page #main-content > .hero .hero-background img {
    height: 700px;
    min-height: 700px;
    max-height: 700px;
}

.home #main-content > .hero .hero-inner,
.front-page #main-content > .hero .hero-inner {
    height: 700px;
    min-height: 700px;
    max-height: 700px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.home #main-content > .hero .hero-copy,
.front-page #main-content > .hero .hero-copy {
    padding-top: 0;
    padding-bottom: 0;
}

.home #main-content > .hero .hero-slogan,
.front-page #main-content > .hero .hero-slogan {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-4deg);
}

/* ----------------------------------------------------------
   STANDARDSEITEN – HERO BEGINNT EBENFALLS GANZ OBEN
   Inhalt bleibt links/oben orientiert und wird NICHT zentriert.
   ---------------------------------------------------------- */


/* ----------------------------------------------------------
   ANKER / MOBILE
   ---------------------------------------------------------- */
html {
    scroll-padding-top: var(--plate-header-height-desktop);
}

@media (max-width: 991.98px) {

    html {
        scroll-padding-top: var(--plate-header-height-mobile);
    }

    .home #main-content > .hero,
    .front-page #main-content > .hero {
        height: 700px;
        min-height: 700px;
        max-height: 700px;
    }

    .home #main-content > .hero .hero-background,
    .home #main-content > .hero .hero-background img,
    .front-page #main-content > .hero .hero-background,
    .front-page #main-content > .hero .hero-background img {
        height: 700px;
        min-height: 700px;
        max-height: 700px;
    }

    .home #main-content > .hero .hero-inner,
    .front-page #main-content > .hero .hero-inner {
        height: 700px;
        min-height: 700px;
        max-height: 700px;
        align-items: center;
    }

    
}

@media (max-width: 767.98px) {
    

    .home #main-content > .hero .hero-inner,
    .front-page #main-content > .hero .hero-inner {
        padding-left: 0;
        padding-right: 0;
    }

    
}

/* ==========================================================
   PLATE MARINE – HEADER / HERO EINHEITLICH
   ========================================================== */

:root {
    --plate-header-topbar-height: 38px;
    --plate-header-main-height: 78px;
    --plate-header-height-desktop: 116px;
    --plate-header-height-mobile: 76px;
}

/* FIXIERTE KOPFEBENE */
.site-header-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    pointer-events: none;
    background: transparent;
    backdrop-filter: none;
}

.site-header-layer > * {
    pointer-events: auto;
}

/* BLAUE TOPBAR */
.site-header-layer .topbar {
    display: block;
    width: 100%;
    height: var(--plate-header-topbar-height);
    min-height: var(--plate-header-topbar-height);
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, #062641, #0a3156);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    transform: translateY(0);
    transition: transform .32s ease;
    will-change: transform;
}

.site-header-layer .topbar-inner {
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header-layer .topbar-message {
    flex: 0 0 auto;
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.site-header-layer .topbar-contact {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    min-width: 0;
}

.site-header-layer .topbar-contact a,
.site-header-layer .topbar-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.site-header-layer .topbar-contact a:hover {
    color: #b9e0ff;
    opacity: 1;
}

.site-header-layer .topbar-contact i,
.site-header-layer .topbar-address i {
    font-size: 13px;
    line-height: 1;
}

/* GLAS-HEADER / MENÜ IN EINER ZEILE */
.site-header-layer #site-header.site-header {
    position: relative;
    top: auto;
    width: 100%;
    height: var(--plate-header-main-height);
    min-height: var(--plate-header-main-height);
    margin: 0;
    padding: 0;
    background: rgba(244, 248, 251, .93);
    background-color: rgba(244, 248, 251, .93);
    background-image: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .48);
    box-shadow: 0 10px 28px rgba(6, 38, 65, .14);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateY(0);
    transition: transform .32s ease;
    will-change: transform;
}

.site-header-layer.has-scrolled .topbar {
    transform: translateY(-100%);
}

.site-header-layer.has-scrolled #site-header.site-header {
    transform: translateY(calc(-1 * var(--plate-header-topbar-height)));
}

.site-header-layer #site-header .header-main {
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header-layer .site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin: 0;
    color: var(--plate-blue);
    text-decoration: none;
    flex: 0 1 auto;
}

.site-header-layer .site-brand img,
.site-header-layer .site-brand .custom-logo {
    display: block;
    width: 120px;
    height: 70px;
    max-width: 120px;
    margin: 0;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 3px 6px rgba(6, 38, 65, .12));
}

.site-header-layer .brand-company {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    margin: 0;
}

.site-header-layer .brand-company strong {
    display: block;
    color: var(--plate-blue);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: -.01em;
}

/* DESKTOP NAVIGATION */
.site-header-layer .main-navigation {
    margin-left: auto;
    flex: 0 1 auto;
}

.site-header-layer .primary-menu,
.site-header-layer .main-navigation ul {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header-layer .primary-menu > li,
.site-header-layer .main-navigation li {
    margin: 0;
    padding: 0;
}

.site-header-layer .primary-menu > li > a,
.site-header-layer .main-navigation a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--plate-header-main-height);
    padding: 0;
    color: #172b3d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.site-header-layer .primary-menu > li > a::after,
.site-header-layer .main-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--plate-mid);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.site-header-layer .primary-menu > li > a:hover,
.site-header-layer .primary-menu > li.current-menu-item > a,
.site-header-layer .primary-menu > li.current_page_item > a,
.site-header-layer .main-navigation a:hover,
.site-header-layer .main-navigation .current-menu-item > a,
.site-header-layer .main-navigation .current-menu-ancestor > a {
    color: var(--plate-mid);
    text-shadow: 0 1px 10px rgba(8, 119, 221, .14);
}

.site-header-layer .primary-menu > li > a:hover::after,
.site-header-layer .primary-menu > li.current-menu-item > a::after,
.site-header-layer .primary-menu > li.current_page_item > a::after,
.site-header-layer .main-navigation .current-menu-item > a::after,
.site-header-layer .main-navigation .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.site-header-layer .main-navigation .menu-item-has-children {
    position: relative;
}

.site-header-layer .main-navigation .menu-item-has-children > a {
    padding-right: 18px;
}

.site-header-layer .main-navigation .menu-item-has-children > a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

.site-header-layer .main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    min-width: 230px;
    display: block;
    padding: 10px 0;
    background: #fff;
    border: 1px solid var(--plate-border);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

.site-header-layer .main-navigation .menu-item-has-children:hover > .sub-menu,
.site-header-layer .main-navigation .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header-layer .main-navigation .sub-menu li {
    width: 100%;
}

.site-header-layer .main-navigation .sub-menu a {
    min-height: 0;
    padding: 9px 18px;
    color: var(--plate-text);
    line-height: 1.3;
}

.site-header-layer .main-navigation .sub-menu a::after {
    display: none;
}

.site-header-layer .main-navigation .sub-menu a:hover {
    color: var(--plate-mid);
    background: var(--plate-pale);
}

.site-header-layer .search-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    color: var(--plate-blue);
    background: rgba(255, 255, 255, .34);
    border: 1px solid rgba(10, 49, 86, .13);
    border-radius: 50%;
    font-size: 19px;
    line-height: 1;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.site-header-layer .search-mark:hover {
    color: var(--plate-mid);
    background: rgba(255, 255, 255, .66);
    border-color: rgba(8, 119, 221, .26);
    transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 991.98px) {
    .site-header-layer .topbar {
        display: none;
    }

    /* Die mobile Kopfzeile bleibt beim Scrollen vollständig sichtbar.
       Nur auf Desktop darf der Hauptheader mit der Topbar nach oben fahren. */
    .site-header-layer.has-scrolled #site-header.site-header {
        transform: translateY(0);
    }

    .site-header-layer #site-header.site-header {
        height: var(--plate-header-height-mobile);
        min-height: var(--plate-header-height-mobile);
        background: rgba(244, 248, 251, .96);
        background-color: rgba(244, 248, 251, .96);
        border-bottom: 1px solid rgba(255, 255, 255, .50);
        box-shadow: 0 6px 20px rgba(6,38,65,.12);
    }

    .site-header-layer #site-header .header-main {
        height: var(--plate-header-height-mobile);
        min-height: var(--plate-header-height-mobile);
        padding-left: 18px;
        padding-right: 18px;
        gap: 0;
    }

    .site-header-layer .site-brand {
        gap: 0;
    }

    .site-header-layer .site-brand img,
    .site-header-layer .site-brand .custom-logo {
        width: 130px;
        height: 64px;
        max-width: 130px;
    }

    .site-header-layer .brand-company {
        display: none;
    }

    .site-header-layer .main-navigation,
    .site-header-layer .search-mark {
        display: none !important;
    }

    .site-header-layer .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        margin: 0 0 0 auto;
        padding: 6px;
        color: #0a3156;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .site-header-layer .navbar-toggler:focus,
    .site-header-layer .navbar-toggler:focus-visible {
        outline: none;
        box-shadow: none;
    }

    .site-header-layer .mobile-menu-icon {
        display: block;
        width: 31px;
        height: 31px;
        color: #0a3156;
    }

    .site-header-layer #plateMobileMenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        background: #f1f3f5;
        border-top: 1px solid #d4dbe2;
        border-bottom: 1px solid #c7d0d9;
        box-shadow: 0 10px 25px rgba(6,38,65,.14);
        z-index: 9999;
    }

    .site-header-layer #plateMobileMenu:not(.show) {
        display: none;
    }

    .site-header-layer #plateMobileMenu.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .site-header-layer #plateMobileMenu .mobile-menu-inner {
        display: block;
        width: 100%;
        height: auto;
        padding: 14px 18px 20px;
        background: #f1f3f5;
    }

    .site-header-layer #plateMobileMenu .mobile-nav {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-header-layer #plateMobileMenu .mobile-nav li {
        border-top: 1px solid #d5dde4;
    }

    .site-header-layer #plateMobileMenu .mobile-nav li:first-child {
        border-top: 0;
    }

    .site-header-layer #plateMobileMenu .mobile-nav a {
        display: block;
        padding: 13px 4px;
        color: #10283f;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.3;
        text-decoration: none;
    }

    .site-header-layer #plateMobileMenu .mobile-nav a:hover,
    .site-header-layer #plateMobileMenu .mobile-nav .current-menu-item > a {
        color: #0877dd;
    }

    .site-header-layer #plateMobileMenu .mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 14px 0 0;
        padding: 14px 4px 0;
        border-top: 1px solid #cbd5de;
    }

    .site-header-layer #plateMobileMenu .mobile-contact a,
    .site-header-layer #plateMobileMenu .mobile-contact address {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0;
        color: #16395f;
        font-size: 14px;
        line-height: 1.4;
        text-decoration: none;
    }

    .site-header-layer #plateMobileMenu .mobile-contact-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        color: #0877dd;
    }
}

/* PAGE HERO: UNTER DEM FIXIERTEN HEADER BEGINNEN, TITEL SICHTBAR */
#main-content > .page-hero {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    margin: 0;
    padding: 136px 0 28px;
    overflow: hidden;
    box-sizing: border-box;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6,39,68,.93), rgba(6,39,68,.55)),
        url("../images/hero.jpg") center / cover no-repeat;
}

#main-content > .page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 54px);
    font-weight: 800;
    line-height: 1;
}

#main-content > .page-hero .container {
    padding-top: 0;
    padding-bottom: 0;
}

@media(max-width:767px){
}


/* ==========================================================
   HERO POSITION DESKTOP
   ========================================================== */

.hero-copy {

    margin-left:-35px;

}


/* ==========================================================
   HERO BUTTONS - FLUENT GLASS DESIGN
   EINZIGE DEFINITION
   ========================================================== */

.hero-buttons {

    display:flex;

    align-items:center;

    gap:18px;

    margin-top:24px;

}


/* Basis Button */
.hero-buttons .btn {

    display:flex;

    align-items:center;

    justify-content:center;


    width:280px;

    min-height:54px;


    padding:14px 28px;


    border-radius:24px !important;


    color:#fff !important;


    background:
    rgba(255,255,255,.10) !important;


    border:
    1px solid rgba(255,255,255,.35) !important;


    backdrop-filter:
    blur(16px) saturate(130%);

    -webkit-backdrop-filter:
    blur(16px) saturate(130%);


    box-shadow:

    0 10px 30px rgba(0,0,0,.22),

    inset 0 1px 2px rgba(255,255,255,.22);


    transition:

    transform .25s ease,

    background .25s ease,

    box-shadow .25s ease;

}



/* Primärer Button */
.hero-buttons .btn-primary {

    background:
    rgba(55,125,230,.48) !important;

}



/* Kontakt Button */
.hero-buttons .btn-light-outline {

    background:
    rgba(255,255,255,.14) !important;

}



/* dezenter Hover */
.hero-buttons .btn:hover {

    transform:translateY(-2px);


    box-shadow:

    0 15px 35px rgba(0,0,0,.28),

    inset 0 1px 2px rgba(255,255,255,.3);

}



/* ==========================================================
   MOBILE
   ========================================================== */

/* ==========================================================
   HERO MOBILE - KOMPLETT ZENTRIERT
   ========================================================== */

/* ==========================================================
   HERO MOBILE - KOMPLETT ZENTRIERT
   ========================================================== */

@media (max-width:767px){

    .hero-inner {

        width:100%;

        display:flex;

        justify-content:center;

        align-items:center;

    }


    .hero-copy {

        width:100%;

        max-width:100%;

        margin:0 auto !important;

        padding-left:20px;

        padding-right:20px;

        text-align:center !important;

        display:flex;

        flex-direction:column;

        align-items:center;

    }


    .hero-copy .hero-eyebrow,
    .hero-copy h1,
    .hero-copy .hero-subtitle {

        width:100%;

        text-align:center;

    }


    .hero-buttons {

        width:100%;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:16px;

    }


    .hero-buttons .btn {

        margin-left:auto;

        margin-right:auto;

    }

}

/* ==========================================================
   HERO MOBILE FINAL CENTER
   ========================================================== */

@media (max-width:767px){

    .hero-copy {

        transform:none !important;

        margin-left:auto !important;
        margin-right:auto !important;

        text-align:center;

    }

    .hero-buttons {

        justify-content:center;

        align-items:center;

    }

}


/* ==========================================================
   GLOBAL BUTTONS FLUENT FINAL
   ========================================================== */

.btn {

    border-radius:18px;

    transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;

}


.btn:hover {

    transform:translateY(-2px);

}


.btn-primary {

    border-radius:18px;

    box-shadow:
    0 8px 22px rgba(8,119,221,.22);

}


.btn-outline-primary,
.btn-light-outline {

    border-radius:18px;

}


/* Links als Buttons */
.text-link,
.all-projects,
a.btn,
button.btn {

    border-radius:18px;

}
