/* KonvoiCore – gemeinsames Layout */

:root {
    color-scheme: dark;
    --navy: #06172b;
    --navy2: #0b2a49;
    --blue: #1275b8;
    --gold: #f5c542;
    --text: #f5f9ff;
    --muted: #b8cbe0;
    --line: rgba(102,187,255,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 75% 8%, rgba(0,133,255,.18), transparent 45%),
        radial-gradient(ellipse at 10% 55%, rgba(9,83,146,.18), transparent 40%),
        var(--navy);
}
a { color: inherit; }
.container {
    width: min(1160px, calc(100% - 36px));
    margin: auto;
}
header {
    border-bottom: 1px solid var(--line);
    background: rgba(3,16,31,.82);
}
.nav {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.logo-placeholder {
    width: 56px;
    height: 56px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--gold);
    background: linear-gradient(140deg, #104a7d, #06172b);
}
.brand-name {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.8px;
}
.brand-name span { color: var(--gold); }
.brand small {
    display: block;
    color: var(--muted);
    letter-spacing: 2px;
    font-size: 10px;
    margin-top: 5px;
}
.nav-link {
    text-decoration: none;
    color: #d9ecff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: bold;
    font-size: 13px;
}
.hero {
    padding: 100px 0 92px;
    text-align: center;
}
.eyebrow {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid rgba(245,197,66,.35);
    border-radius: 30px;
    background: rgba(245,197,66,.08);
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}
h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.06;
    letter-spacing: -2px;
    margin: 30px 0 20px;
}
h1 span { color: var(--gold); }
.hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.75;
}
.hero-actions {
    margin-top: 35px;
}
.button {
    display: inline-block;
    padding: 16px 25px;
    background: linear-gradient(125deg, #ffe078, #efb925);
    color: #071c31;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
}
section.features { padding: 28px 0 85px; }
.section-heading {
    text-align: center;
    margin-bottom: 35px;
}
.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 12px;
}
.section-heading p {
    color: var(--muted);
    line-height: 1.7;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}
.card {
    padding: 28px;
    background: linear-gradient(145deg, rgba(15,71,117,.8), rgba(5,30,55,.9));
    border: 1px solid var(--line);
    border-radius: 18px;
    min-height: 215px;
}
.card-icon {
    font-size: 31px;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 19px;
    margin: 0 0 12px;
}
.card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}
.about {
    padding: 35px 0 90px;
}
.about-panel {
    padding: 45px;
    border: 1px solid rgba(245,197,66,.28);
    border-radius: 22px;
    background: linear-gradient(125deg, #0b3559, #071b32);
    text-align: center;
}
.about-panel h2 {
    margin: 0 0 20px;
    font-size: 30px;
}
.about-panel p {
    color: var(--muted);
    max-width: 800px;
    margin: auto;
    line-height: 1.9;
}
.status {
    display: inline-block;
    margin-top: 25px;
    padding: 11px 18px;
    border-radius: 30px;
    background: rgba(245,197,66,.1);
    color: var(--gold);
    font-size: 13px;
    font-weight: bold;
}
footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
@media(max-width: 850px) {
    .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media(max-width: 560px) {
    .nav { min-height: 76px; }
    .brand-name { font-size: 22px; }
    .logo-placeholder { width: 47px; height: 47px; }
    .nav-link { padding: 10px; font-size: 12px; }
    .hero { padding: 70px 0; }
    .cards { grid-template-columns: 1fr; }
    .about-panel { padding: 28px 20px; }
}

/* KonvoiCore – Rechtsseiten */

* { box-sizing: border-box; }
body.kc-legal {
    margin: 0;
    background: #06172b;
    color: #eaf1fa;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.75;
}
a { color: #e8c477; }




body.kc-legal main {
    max-width: 1360px;
    margin: 50px auto 70px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
main > h1,
main > .subtitle {
    grid-column: 1 / -1;
}
main > h1 {
    margin-bottom: 0;
}
main > .subtitle {
    margin-top: -12px;
}
body.kc-legal main h1 {
    font-size: clamp(32px, 5vw, 46px);
    margin-bottom: 10px;
}
body.kc-legal main .subtitle { color: #aebfd1; margin-bottom: 30px; }
body.kc-legal main .card {
    background: #0b2a49;
    border: 1px solid rgba(232,196,119,.22);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 0;
    min-width: 0;
}
body.kc-legal main h2 { color: #e8c477; margin-top: 0; font-size: 21px; }
body.kc-legal main address { font-style: normal; }

@media(max-width: 760px) {
    main {
        grid-template-columns: 1fr;
        padding: 0 18px;
        gap: 16px;
        margin-top: 32px;
    }
    .card { padding: 20px; }
    main > .subtitle { margin-top: -8px; }
}


/* Einheitliche Rechtsseiten */
body.kc-legal main {
    width: min(1360px, calc(100% - 48px));
    max-width: 1360px;
    margin: 50px auto 70px;
}
body.kc-legal main > h1,
body.kc-legal main > .subtitle {
    grid-column: 1 / -1;
}
body.kc-legal main .card {
    min-width: 0;
}
@media (max-width: 760px) {
    body.kc-legal main {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        padding: 0;
    }
}


/* KonvoiCore Original-Farbgebung im gemeinsamen Header */
header .kc-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
header .kc-brand-text .brand-name {
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -0.7px;
    line-height: 1.1;
    white-space: nowrap;
}
header .kc-brand-text .kc-white {
    color: #ffffff !important;
}
header .kc-brand-text .kc-yellow {
    color: #ffcc00 !important;
}


/* KonvoiCore – offizielles Header-Logo */
header .kc-header-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
@media (max-width: 560px) {
    header .kc-header-logo {
        width: 175px;
    }
}

/* KonvoiCore – Untertitel unter dem offiziellen Logo */
header .kc-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
header .kc-logo-group .kc-header-logo {
    display: block;
}
header .kc-logo-subtitle {
    display: block;
    color: #a9c8e7;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
    white-space: nowrap;
    margin-top: -5px;
}
@media (max-width: 560px) {
    header .kc-logo-subtitle {
        font-size: 7px;
        letter-spacing: 1px;
        margin-top: -3px;
    }
}

/* KonvoiCore – Untertitel direkt am Schriftzug */
header .kc-logo-group {
    gap: 0 !important;
}
header .kc-logo-group .kc-header-logo {
    margin: 0 !important;
}
header .kc-logo-group .kc-logo-subtitle {
    margin-top: -17px !important;
    position: relative;
    z-index: 1;
}
@media (max-width: 560px) {
    header .kc-logo-group .kc-logo-subtitle {
        margin-top: -12px !important;
    }
}

/* KonvoiCore – Header über volle Breite */
header .container.nav {
    width: calc(100% - 64px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}
header .brand {
    margin-left: 0;
}
@media (max-width: 560px) {
    header .container.nav {
        width: calc(100% - 28px);
    }
}

/* KonvoiCore – kompakte Startseite Schritt 517 */

/* Nur die Startseite: Hero näher an die Kopfzeile */
body:not(.kc-legal) .hero {
    padding-top: 42px !important;
    padding-bottom: 32px !important;
    min-height: 0 !important;
}

/* Weniger Leerraum vor den Funktionen */
body:not(.kc-legal) .features {
    padding-top: 12px !important;
    padding-bottom: 48px !important;
}

/* Kompakterer Abstand im Funktionsbereich */
body:not(.kc-legal) .section-heading {
    margin-bottom: 24px !important;
}

/* Button näher am Text */
body:not(.kc-legal) .hero-actions {
    margin-top: 22px !important;
}

/* Mobile Darstellung */
@media (max-width: 760px) {
    body:not(.kc-legal) .hero {
        padding-top: 30px !important;
        padding-bottom: 26px !important;
    }

    body:not(.kc-legal) .features {
        padding-top: 12px !important;
    }
}

/* KonvoiCore – neues Startseiten-Layout Schritt 518 */

.kc-home-split-518 {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(30px, 4vw, 72px);
    width: calc(100% - 64px);
    max-width: 1500px;
    margin: 0 auto;
    padding: 55px 0 65px;
}

.kc-home-intro-518,
.kc-home-features-518 {
    min-width: 0;
}

.kc-home-intro-518 .hero {
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    margin: 0;
    padding: 0 !important;
    text-align: left;
}

.kc-home-intro-518 .hero h1 {
    font-size: clamp(42px, 4.4vw, 72px);
    line-height: 1.08;
    margin-top: 22px;
    margin-bottom: 20px;
}

.kc-home-intro-518 .hero p {
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
}

.kc-home-intro-518 .hero-actions {
    margin-top: 24px !important;
    justify-content: flex-start;
}

.kc-home-features-518 .features {
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin: 0;
}

.kc-home-features-518 .section-heading {
    text-align: left;
    margin-bottom: 20px !important;
}

.kc-home-features-518 .section-heading h2 {
    font-size: clamp(23px, 2vw, 31px);
}

.kc-home-features-518 .section-heading p {
    font-size: 14px;
    line-height: 1.5;
}

.kc-home-features-518 .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kc-home-features-518 .card {
    min-width: 0;
    padding: 20px;
    margin: 0;
}

.kc-home-features-518 .card h3 {
    font-size: 16px;
    line-height: 1.3;
}

.kc-home-features-518 .card p {
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .kc-home-split-518 {
        grid-template-columns: 1fr;
        max-width: 800px;
        gap: 36px;
        padding-top: 36px;
    }

    .kc-home-intro-518 .hero {
        text-align: center;
    }

    .kc-home-intro-518 .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .kc-home-intro-518 .hero-actions {
        justify-content: center;
    }

    .kc-home-features-518 .section-heading {
        text-align: center;
    }
}

@media (max-width: 560px) {
    .kc-home-split-518 {
        width: calc(100% - 28px);
        gap: 30px;
        padding-top: 25px;
    }

    .kc-home-intro-518 .hero h1 {
        font-size: clamp(36px, 9vw, 48px);
    }

    .kc-home-features-518 .cards {
        grid-template-columns: 1fr;
    }
}

/* KonvoiCore – interaktive Funktionskarten Schritt 519 */

.kc-feature-clickable-519 {
    cursor: pointer;
    position: relative;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}

.kc-feature-clickable-519:hover,
.kc-feature-clickable-519:focus-visible {
    transform: translateY(-7px);
    border-color: #f5c13d !important;
    background: #123d64;
    box-shadow: 0 15px 36px rgba(0,0,0,.30),
                0 0 20px rgba(245,193,61,.12);
}

.kc-feature-clickable-519:focus-visible {
    outline: 2px solid #f5c13d;
    outline-offset: 3px;
}

.kc-feature-clickable-519:active {
    transform: translateY(-2px);
}

.kc-modal-open-519 {
    overflow: hidden;
}

.kc-feature-modal-519[hidden] {
    display: none !important;
}

.kc-feature-modal-519 {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kc-feature-backdrop-519 {
    position: absolute;
    inset: 0;
    background: rgba(0,8,20,.83);
    backdrop-filter: blur(7px);
}

.kc-feature-dialog-519 {
    position: relative;
    width: min(100%, 620px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    border-radius: 20px;
    padding: clamp(25px, 4vw, 42px);
    background: linear-gradient(145deg, #103657, #061b30);
    border: 1px solid rgba(245,193,61,.55);
    box-shadow: 0 25px 90px rgba(0,0,0,.65);
    color: #fff;
    animation: kcFeatureEnter519 .2s ease-out;
}

@keyframes kcFeatureEnter519 {
    from { opacity: 0; transform: translateY(15px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.kc-feature-close-519 {
    position: absolute;
    right: 18px;
    top: 13px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.kc-feature-kicker-519 {
    color: #f5c13d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.kc-feature-dialog-519 h2 {
    color: #fff;
    font-size: clamp(25px, 4vw, 36px);
    margin: 0 35px 18px 0;
}

.kc-feature-dialog-519 h3 {
    color: #f5c13d;
    font-size: 18px;
    margin: 0 0 15px;
}

.kc-feature-dialog-519 p {
    color: #d1e1f1;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.kc-feature-footer-519 {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.13);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.kc-feature-footer-519 span {
    color: #9fbcd6;
    font-size: 12px;
}

.kc-feature-footer-519 button {
    border: 0;
    border-radius: 9px;
    padding: 12px 20px;
    background: #f5c13d;
    color: #06172b;
    font-weight: 800;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .kc-feature-clickable-519,
    .kc-feature-dialog-519 {
        animation: none;
        transition: none;
    }
}

@media (max-width: 560px) {
    .kc-feature-footer-519 {
        flex-wrap: wrap;
    }
}


/* KonvoiCore Footer einheitlich – Schritt 531 */
body footer {
    box-sizing: border-box;
    min-height: 108px;
    padding: 28px 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 600px) {
    body footer {
        min-height: 108px;
        padding: 24px 16px !important;
    }
}
