@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dm-sans-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --navy:#235b82;
    --teal:#009cda;
    --cream:#f5f8fb;
    --ink:#263847
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    color:var(--ink);
    font:16px/1.65 'DM Sans',Arial,sans-serif;
    background:#fff
}

h1,h2,h3,h4 {
    font-family:Manrope,Arial,sans-serif;
    line-height:1.16;
    letter-spacing:-.035em
}

h1 {
    font-size:clamp(2.6rem,6vw,5.4rem);
    font-weight:800
}

h2 {
    font-size:clamp(2rem,4vw,3rem);
    font-weight:800
}

h3 {
    font-size:1.35rem;
    font-weight:800
}

a {
    color:var(--teal)
}

.container {
    width:min(1140px,calc(100% - 40px));
    margin:auto
}

.topbar {
    background:#194b6e;
    color:#e3f1fa;
    font-size:.85rem;
    padding:8px 0
}

.topbar a {
    color:inherit;
    text-decoration:none
}

.topbar .container {
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap
}

.site-header {
    background:#fff;
    position:sticky;
    top:0;
    z-index:20;
    border-bottom:1px solid #e2eaf0
}

.header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:82px;
    gap:22px
}

.brand {
    text-decoration:none;
    color:var(--navy);
    display:flex;
    align-items:center;
    gap:12px;
    line-height:1.15
}

.brand-mark {
    background:var(--teal);
    color:#fff;
    border-radius:12px;
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    font-size:22px;
    font-weight:800
}

.brand strong {
    font:800 1.2rem Manrope
}

.brand small {
    display:block;
    color:#617d90;
    font-size:.72rem;
    letter-spacing:.09em;
    text-transform:uppercase
}

.nav {
    display:flex;
    align-items:center;
    gap:23px
}

.nav a {
    text-decoration:none;
    color:#315875;
    font-weight:700;
    font-size:.89rem
}

.nav a.active,.nav a:hover {
    color:var(--teal)
}

.nav .nav-cta {
    background:var(--teal);
    color:#fff;
    padding:11px 18px;
    border-radius:8px
}

.nav .nav-cta:hover {
    color:#fff;
    background:#007fb5
}

.menu-toggle {
    display:none;
    background:transparent;
    border:1px solid #d1e0eb;
    border-radius:8px;
    padding:9px 13px;
    font-size:20px
}

.hero {
    background:linear-gradient(110deg,#235b82 0%,#2676a9 60%,#008fd0 140%);
    color:#fff;
    position:relative;
    overflow:hidden
}

.hero:after {
    content:'';
    position:absolute;
    width:520px;
    height:520px;
    border:95px solid #ffffff08;
    border-radius:50%;
    right:-160px;
    top:-170px
}

.hero .container {
    position:relative;
    z-index:1;
    padding:105px 0 110px
}

.eyebrow {
    text-transform:uppercase;
    letter-spacing:.17em;
    font-weight:800;
    font-size:.76rem;
    color:#a9e5ff;
    margin-bottom:20px
}

.hero h1 {
    max-width:850px;
    margin:0 0 25px
}

.hero p {
    max-width:630px;
    font-size:1.17rem;
    color:#e6f3fb
}

.actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 22px;
    border-radius:9px;
    text-decoration:none;
    font-weight:800;
    border:1px solid transparent;
    transition:.2s
}

.btn-primary {
    background:#ed1826;
    color:white
}

.btn-primary:hover {
    background:#c90012;
    color:white
}

.btn-outline {
    border-color:#d4e6f2;
    color:white
}

.btn-outline:hover {
    background:#fff;
    color:var(--navy)
}

.btn-light {
    background:#fff;
    color:var(--navy)
}

.section {
    padding:86px 0
}

.section-alt {
    background:var(--cream)
}

.section-heading {
    max-width:690px;
    margin-bottom:34px
}

.muted {
    color:#60798b
}

.grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}

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

.card {
    background:#fff;
    border:1px solid #e1e9f0;
    border-radius:17px;
    padding:30px;
    box-shadow:0 12px 30px #12303c08
}

.card p {
    color:#60798b
}

.card a.more {
    font-weight:800;
    text-decoration:none
}

.symbol {
    display:grid;
    place-items:center;
    width:53px;
    height:53px;
    border-radius:14px;
    background:#e6f5fc;
    color:#009cda;
    font-size:26px;
    margin-bottom:24px
}

.page-hero {
    background:#235b82;
    color:white;
    padding:76px 0
}

.page-hero h1 {
    margin:0 0 12px;
    font-size:clamp(2.5rem,5vw,4rem)
}

.page-hero p {
    color:#e0eff9;
    max-width:720px;
    font-size:1.1rem
}

.stack {
    display:grid;
    gap:22px
}

.product {
    display:flex;
    align-items:flex-start;
    gap:22px;
    padding:26px;
    border:1px solid #e1e9f0;
    border-radius:15px;
    background:white
}

.product .symbol {
    flex-shrink:0;
    margin:0
}

.product h3 {
    margin:0 0 9px
}

.product p {
    margin:0
}

.callout {
    background:#edf7fc;
    border-left:4px solid #ed1826;
    padding:23px 26px;
    border-radius:0 12px 12px 0
}

.cta-band {
    background:#009cda;
    color:white;
    padding:56px 0
}

.cta-band .container {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px
}

.cta-band h2 {
    margin:0 0 8px
}

.cta-band p {
    margin:0;
    color:#eaf7ff
}

.footer {
    background:#163b58;
    color:#e1eef8;
    padding:55px 0 25px
}

.footer-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1.3fr;
    gap:35px
}

.footer h3 {
    color:white;
    font-size:1rem
}

.footer a {
    color:#e1eef8;
    text-decoration:none
}

.footer a:hover {
    text-decoration:underline
}

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

.footer li {
    margin-bottom:7px
}

.copyright {
    border-top:1px solid #ffffff20;
    margin-top:35px;
    padding-top:20px;
    font-size:.8rem;
    color:#b6ccdc
}

.contact-card {
    background:#f2f8fc;
    border-radius:16px;
    padding:32px
}

.contact-card a {
    font-weight:700
}

.small-note {
    font-size:.85rem;
    color:#667e91
}

.legal h2 {
    font-size:1.45rem;
    margin-top:35px
}

.legal p {
    margin-bottom:15px
}

.sitemap-list li {
    margin:9px 0
}

@media(max-width:900px) {
    .menu-toggle {
        display:block
    }

    .nav {
        display:none;
        position:absolute;
        top:82px;
        left:0;
        right:0;
        background:white;
        padding:20px;
        box-shadow:0 15px 30px #0002;
        flex-direction:column;
        align-items:stretch;
        gap:13px
    }

    .nav.open {
        display:flex
    }

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

    .footer-grid {
        grid-template-columns:1fr 1fr
    }

    .cta-band .container {
        align-items:flex-start;
        flex-direction:column
    }

}

@media(max-width:600px) {
    .grid,.grid.two,.footer-grid {
        grid-template-columns:1fr
    }

    .hero .container {
        padding:75px 0 85px
    }

    .section {
        padding:60px 0
    }

    .product {
        flex-direction:column
    }

    .topbar {
        font-size:.73rem
    }

    .brand strong {
        font-size:1.04rem
    }

    .brand-mark {
        width:42px;
        height:42px
    }

    .cta-band {
        padding:42px 0
    }

}

/* Markenidentität der bisherigen Website: Signalrot, Cyanblau, Dunkelblau */
.brand {
    position:relative;
    min-width:190px;
    gap:10px
}

.brand-mark {
    position:relative;
    display:block;
    width:62px;
    height:62px;
    background:none;
    border-radius:0;
    flex-shrink:0
}

.ring-red,.ring-blue {
    position:absolute;
    left:3px;
    width:56px;
    height:28px;
    border:11px solid transparent
}

.ring-red {
    top:2px;
    border-top-color:#f00014;
    border-left-color:#f00014;
    border-right-color:#f00014;
    border-radius:60px 60px 0 0
}

.ring-blue {
    bottom:2px;
    border-bottom-color:#009dd5;
    border-left-color:#009dd5;
    border-right-color:#009dd5;
    border-radius:0 0 60px 60px
}

.brand-name {
    position:relative;
    margin-left:-44px;
    z-index:1;
    padding-top:3px;
    text-shadow:1px 1px #fff,-1px -1px #fff,1px -1px #fff,-1px 1px #fff
}

.brand-name strong {
    font-size:1.43rem;
    letter-spacing:.045em;
    color:#161616;
    font-weight:800
}

.brand-name small {
    font-size:.59rem;
    color:#315b7b;
    letter-spacing:.08em
}

.site-header {
    border-bottom:4px solid #009cda
}

.site-header:before {
    content:'';
    position:absolute;
    bottom:-4px;
    left:0;
    width:43%;
    height:4px;
    background:#f00014
}

.nav .nav-cta,.btn-primary {
    background:#e91626;
    color:#fff
}

.nav .nav-cta:hover,.btn-primary:hover {
    background:#bf0715
}

.hero {
    background:linear-gradient(110deg,#18476a 0%,#235b82 62%,#009cda 145%)
}

.cta-band {
    background:#235b82
}

.eyebrow {
    color:#8ed8fb
}

.section .eyebrow {
    color:#008dcb
}

.card a.more,.contact-card a {
    color:#008fcb
}

.symbol {
    color:#008fcb
}

.callout {
    border-left-color:#e91626
}

.btn {
    border-radius:7px
}

.card {
    border-radius:12px
}

/* Kontrastkorrektur: CTA-Links behalten in allen Zuständen weiße Schrift. */
a.btn-primary, a.btn-primary:link, a.btn-primary:visited,
a.btn-primary:hover, a.btn-primary:focus-visible, a.btn-primary:active,
.contact-card a.btn-primary, .contact-card a.btn-primary:visited,
.contact-card a.btn-primary:hover, .contact-card a.btn-primary:focus-visible,
.nav a.nav-cta, .nav a.nav-cta:link, .nav a.nav-cta:visited,
.nav a.nav-cta:hover, .nav a.nav-cta:focus-visible, .nav a.nav-cta:active {
    color: #fff;
}

a.btn-primary:hover, a.btn-primary:focus-visible,
.contact-card a.btn-primary:hover, .contact-card a.btn-primary:focus-visible,
.nav a.nav-cta:hover, .nav a.nav-cta:focus-visible {
    background-color: #b80617;
}

a.btn-primary:focus-visible, .nav a.nav-cta:focus-visible {
    outline: 3px solid #235b82;
    outline-offset: 3px;
}

/* 2026 redesign enhancements */
:root {
    --brand-red:#ed1c32;
    --brand-blue:#078ac5;
    --brand-deep:#164f79
}

html {
    scroll-behavior:smooth
}

body {
    overflow-x:hidden
}

.btn-primary,.nav .nav-cta,.nav .nav-cta:visited {
    background:#e51d32!important;
    color:#fff!important;
    border-color:#e51d32!important
}

.btn-primary:hover,.nav .nav-cta:hover {
    background:#bd1025!important;
    color:#fff!important;
    border-color:#bd1025!important
}

.btn:focus-visible,.nav a:focus-visible,.feature-tab:focus-visible {
    outline:3px solid #078ac5;
    outline-offset:3px
}

.feature-showcase {
    background:#fff
}

.feature-tabs {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:24px 0
}

.feature-tab {
    border:1px solid #d6e4eb;
    background:#f5f9fb;
    border-radius:99px;
    padding:12px 25px;
    font:inherit;
    font-weight:750;
    color:#164f79;
    cursor:pointer;
    transition:.2s
}

.feature-tab.active,.feature-tab:hover {
    background:#164f79;
    color:white;
    border-color:#164f79
}

.feature-panel {
    display:grid;
    grid-template-columns:minmax(220px, .9fr) 1.1fr;
    align-items:center;
    gap:clamp(22px,5vw,75px);
    padding:clamp(22px,4vw,50px);
    background:linear-gradient(120deg,#f0f8fc,#fff);
    border:1px solid #e0edf4;
    border-radius:26px;
    box-shadow:0 22px 65px rgba(18,76,114,.07)
}

.feature-panel h3 {
    font-size:clamp(1.6rem,3vw,2.5rem);
    margin:12px 0
}

.feature-art {
    display:grid;
    place-items:center;
    min-height:230px;
    color:#087fba;
    background:radial-gradient(circle,#fff 0,#e5f4fa 72%);
    border-radius:22px
}

.feature-art svg {
    width:min(80%,300px)
}

.split-section {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:clamp(25px,5vw,85px);
    align-items:center
}

.steps {
    display:grid;
    gap:16px
}

.step {
    display:flex;
    gap:20px;
    padding:22px;
    background:#fff;
    border:1px solid #e2ebf0;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(16,69,102,.04)
}

.step>span {
    font-size:1.5rem;
    color:#e51d32;
    font-weight:900
}

.step h3 {
    margin:0 0 4px
}

.step p {
    margin:0
}

.contact-note {
    display:flex;
    align-items:center;
    gap:22px;
    background:#fff;
    border:1px solid #e1eaf0;
    padding:30px;
    border-radius:18px
}

.contact-note-icon {
    font-size:3rem;
    color:#e51d32
}

.contact-note>div {
    flex:1
}

.contact-note h2 {
    margin:0 0 8px
}

.contact-note p {
    margin:0
}

@media(max-width:760px) {
    .feature-panel,.split-section {
        grid-template-columns:1fr
    }

    .contact-note {
        flex-wrap:wrap
    }

    .feature-art {
        min-height:180px
    }

    .feature-art svg {
        max-height:180px
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }

    *,*:before,*:after {
        animation-duration:.01ms!important;
        transition-duration:.01ms!important
    }

}

/* Active menu item: highlight current page, including Kontakt CTA */
.nav a.active:not(.nav-cta) {
    color:#e51d32;
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:8px
}

.nav a.nav-cta.active {
    background:#bd1025!important;
    color:#fff!important;
    box-shadow:0 0 0 2px #bd1025 inset
}

/* Logo-Bereich korrigieren */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    width: auto;
    max-width: 100%;
}

.site-header .brand-logo {
    display: block;
    flex: 0 0 150px;
    width: 150px;
}

.site-header .site-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

.site-header .brand-name {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-width: 0;
    line-height: 1.3;
}

.site-header .brand-name strong {
    font-size: 18px;
    white-space: nowrap;
}

.site-header .brand-name small {
    font-size: 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .site-header .brand {
        gap: 12px;
    }

    .site-header .brand-logo {
        flex-basis: 95px;
        width: 95px;
    }

    .site-header .site-logo {
        max-height: 65px;
    }

    .site-header .brand-name strong {
        font-size: 13px;
        white-space: normal;
    }

    .site-header .brand-name small {
        font-size: 10px;
        letter-spacing: 0;
    }

}
