@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
    --nds-navy:#0A2D6E;
    --nds-blue:#0078D4;
    --nds-magenta:#E4007A;
    --nds-green:#16A34A;
    --nds-cloud:#F5F7FA;
    --nds-text:#475669;
    --nds-border:#D2DAE4;
    --nds-dark:#092C6D;
    --shadow:0 12px 34px rgba(9, 44, 109, .10)
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    font-family:'Source Sans 3', Arial, sans-serif;
    color:var(--nds-text);
    background:#fff;
    margin:0
}

.font-inter {
    font-family:Inter, Arial, sans-serif
}

.content-container {
    width:min(100% - 40px, 1400px);
    margin-inline:auto
}

.navbar {
    min-height:76px
}

.navbar-brand img {
    height:42px
}

.nds-logo-text {
    line-height:1
}

.nds-logo-main {
    font-weight:800;
    color:var(--nds-navy);
    font-size:1.4rem
}

.nds-logo-sub {
    font-size:.72rem;
    color:var(--nds-text);
    display:block;
    margin-top:-3px
}

.nav-link {
    font-size:.9rem;
    color:var(--nds-text)!important
}

.nav-link.active {
    font-weight:700
}

.nav-link.active.navy {
    color:var(--nds-navy)!important
}

.nav-link.active.magenta {
    color:var(--nds-magenta)!important
}

.nav-link.active.blue {
    color:var(--nds-blue)!important
}

.nav-link.active.green {
    color:var(--nds-green)!important
}

.btn-nds {
    background:var(--nds-magenta);
    color:#fff;
    border:0;
    border-radius:4px;
    font-weight:700
}

.btn-nds:hover {
    background:#c90068;
    color:#fff
}

.page-hero {
    color:#fff;
    padding:54px 0;
    background:var(--hero-color, var(--nds-navy))
}

.page-hero .kicker {
    font-size:.78rem;
    font-weight:700;
    color:rgba(255, 255, 255, .72);
    letter-spacing:.05em
}

.page-hero h1 {
    font-size:clamp(2rem, 4vw, 3rem);
    font-weight:700;
    margin:.2rem 0
}

.page-hero p {
    color:rgba(255, 255, 255, .78);
    font-size:1.05rem
}

.section-tabs {
    background:#f6f8fc;
    border-bottom:1px solid var(--nds-border)
}

.section-tabs .nav {
    gap:12px;
    overflow:auto;
    flex-wrap:nowrap
}

.section-tabs a {
    white-space:nowrap;
    color:var(--nds-text);
    padding:.55rem 2.6rem;
    border-radius:5px;
    text-decoration:none;
    font-size:.88rem
}

.section-tabs a.active {
    background:var(--accent, var(--nds-blue));
    color:#fff;
    font-weight:700
}

.section-block {
    padding:90px 0
}

.section-muted {
    background:var(--nds-cloud)
}

.section-title {
    font-size:clamp(1.7rem, 2.5vw, 2.7rem);
    font-weight:300;
    color:var(--nds-navy);
    margin-bottom:2.2rem
}

.section-title:after {
    content:"";
    display:block;
    width:54px;
    height:3px;
    background:var(--nds-magenta);
    margin-top:.6rem
}

.phase-badge {
    display:inline-flex;
    background:rgba(228, 0, 122, .12);
    color:var(--nds-magenta);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.12em;
    padding:.6rem 2rem;
    margin-bottom:2rem
}

.card {
    border:0;
    border-radius:10px;
    box-shadow:var(--shadow)
}

.top-line {
    border-top:5px solid var(--accent, var(--nds-navy))
}

.text-navy {
    color:var(--nds-navy)!important
}

.text-blue {
    color:var(--nds-blue)!important
}

.text-magenta {
    color:var(--nds-magenta)!important
}

.text-green {
    color:var(--nds-green)!important
}

.bg-navy {
    background:var(--nds-navy)!important
}

.bg-blue {
    background:var(--nds-blue)!important
}

.bg-magenta {
    background:var(--nds-magenta)!important
}

.bg-green {
    background:var(--nds-green)!important
}

.soft-card {
    background:#fff;
    border-radius:10px;
    box-shadow:var(--shadow)
}

.info-box {
    border-left:5px solid var(--accent, var(--nds-blue));
    background:#fff;
    border-radius:7px;
    padding:1.1rem 1.25rem
}

.pill {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:.42rem 1.35rem;
    font-weight:700;
    font-size:.9rem
}

.footer-nds {
    background:var(--nds-navy);
    color:rgba(255, 255, 255, .72);
    font-size:.85rem;
    padding:18px 0;
    text-align:center
}

.hero-home {
    min-height:560px;
    display:flex;
    align-items:center;
    text-align:center;
    color:#fff;
    background:linear-gradient(rgba(10, 45, 110, .86), rgba(10, 45, 110, .88)), radial-gradient(circle at 50% 45%, rgba(0, 120, 212, .45), transparent 38%), linear-gradient(110deg, #071b3d, #0a2d6e 45%, #04162e);
}

.hero-home h1 {
    font-size:clamp(2.5rem, 6vw, 5rem);
    font-weight:300
}

.hero-home p {
    font-size:clamp(1.2rem, 3vw, 2.2rem);
    font-weight:300
}

.overview-card .card-header {
    color:#fff;
    border:0;
    padding:1rem
}

.overview-item {
    display:block;
    background:#f6f8fc;
    border-left:4px solid var(--accent);
    border-radius:5px;
    padding:.75rem .9rem;
    text-decoration:none;
    color:var(--nds-text);
    transition:.2s
}

.overview-item:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(9, 44, 109, .10)
}

.overview-item strong {
    color:var(--nds-navy)
}

.overview-item span {
    color:var(--accent);
    font-weight:700;
    font-size:.82rem
}

.avatar {
    width:118px;
    height:118px;
    border-radius:50%;
    display:grid;
    place-items:center;
    margin:0 auto 1.4rem;
    background:color-mix(in srgb, var(--accent) 12%, white);
    border:2px solid color-mix(in srgb, var(--accent) 40%, white);
    color:var(--accent);
    font-size:2.5rem;
    font-weight:800
}

.persona-detail {
    border-left:6px solid var(--accent);
    background:#fff
}

.list-panel {
    background:#fff;
    border-radius:8px;
    box-shadow:var(--shadow);
    overflow:hidden
}

.list-panel h4 {
    background:color-mix(in srgb, var(--accent) 12%, white);
    border-top:5px solid var(--accent);
    color:var(--accent);
    font-size:1rem;
    font-weight:800;
    margin:0;
    padding:1rem
}

.list-panel li {
    padding:1rem 1.2rem;
    border-bottom:1px solid rgba(9, 44, 109, .08);
    color:var(--nds-navy)
}

.journey {
    display:flex;
    gap:14px;
    align-items:center;
    flex-wrap:wrap
}

.journey .pill {
    background:#fff;
    border:1px solid rgba(9, 44, 109, .22);
    color:var(--nds-navy);
    min-width:130px
}

.journey .pill:first-of-type, .journey .pill:last-of-type {
    background:var(--accent);
    color:#fff;
    border-color:var(--accent)
}

.arrow {
    color:var(--nds-magenta)
}

.color-dot {
    width:140px;
    height:140px;
    border-radius:50%;
    margin:auto
}

.color-card {
    text-align:center
}

.color-card small {
    font-weight:800;
    color:var(--accent)
}

.type-row {
    display:grid;
    grid-template-columns:220px 1fr 220px;
    gap:30px;
    border-top:1px solid var(--nds-border);
    padding:2rem 0;
    align-items:center
}

.type-sample {
    border-left:3px solid var(--nds-magenta);
    padding-left:18px
}

.mock-hero {
    background:#061b40;
    color:#fff;
    border-radius:4px;
    min-height:520px;
    position:relative;
    overflow:hidden;
    padding:42px
}

.mock-hero:before {
    content:"";
    position:absolute;
    inset:0;
    background:repeating-linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .04) 70px, transparent 70px, transparent 140px)
}

.mock-hero>* {
    position:relative
}

.component-card {
    min-height:180px;
    border-left:4px solid var(--accent);
    background:#fff;
    border-radius:8px;
    padding:1.4rem;
    box-shadow:0 6px 20px rgba(9, 44, 109, .08)
}

.ia-node {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    border-radius:8px;
    padding:.6rem 1.2rem;
    background:var(--accent);
    color:#fff;
    font-weight:700;
    box-shadow:0 6px 15px rgba(9, 44, 109, .14);
    text-align:center
}

.flow-section {
    background:#fff;
    border-radius:12px;
    box-shadow:var(--shadow);
    padding:2rem;
    border-top:4px solid var(--nds-magenta)
}

.wireframe {
    background:#dce4ec;
    border-radius:5px;
    padding:12px;
    min-height:360px
}

.wire-row {
    background:#c5cfda;
    margin:8px 0;
    border-radius:3px
}

.wire-row.hero {
    height:92px
}

.wire-row.sm {
    height:35px
}

.wire-row.md {
    height:60px
}

.wire-row.lg {
    height:95px
}

.note-number {
    width:34px;
    height:34px;
    border-radius:50%;
    display:inline-grid;
    place-items:center;
    background:var(--accent);
    color:#fff;
    font-weight:800;
    margin-right:.6rem
}

@media(max-width:991px) {
    .type-row {
    grid-template-columns:1fr
}

.section-block {
    padding:60px 0
}

.journey {
    align-items:stretch
}

.journey .pill {
    flex:1 1 100%
}

.arrow {
    display:none
}

}

@media(max-width:575px) {
    .content-container {
    width:min(100% - 24px, 1400px)
}

.section-tabs a {
    padding:.55rem 1.2rem
}

.hero-home {
    min-height:440px
}

}

/* --- Asset integration & visual refinements --- */

.site-logo {
    height:48px;
    width:auto;
    display:block
}

.navbar-brand {
    min-width:150px
}

.navbar {
    min-height:84px
}

.hero-home {
    background:linear-gradient(rgba(10, 45, 110, .82), rgba(10, 45, 110, .86)), url("../../img/serverraum-1.png") center/cover no-repeat;
    min-height:610px
}

.diagram-figure {
    background:#fff;
    border-radius:10px;
    margin:0;
    box-shadow:0 10px 28px rgba(9, 44, 109, .08);
    overflow:hidden
}

.diagram-figure img {
    width:100%;
    display:block
}

.strategy-hero {
    padding:44px 0
}

.strategy-goals {
    padding-top:100px;
    padding-bottom:110px
}

.strategy-main-title {
    font-size:clamp(2.4rem, 4vw, 4.6rem);
    font-weight:300;
    color:var(--nds-navy);
    letter-spacing:-.03em
}

.strategy-split {
    max-width:1160px;
    margin-inline:auto
}

.goal-tile {
    padding:50px 70px;
    text-align:left;
    min-height:270px
}

.strategy-split>div:first-child .goal-tile {
    border-right:1px solid #e1e8ef
}

.goal-tile h3 {
    color:var(--nds-navy);
    font-weight:700;
    font-size:1.55rem;
    margin-top:22px
}

.goal-tile p {
    font-size:1.08rem;
    color:rgba(9, 44, 109, .65)
}

.accent-line {
    width:58px;
    height:3px;
    background:var(--nds-magenta);
    margin:.45rem 0 1rem
}

.goal-icon {
    width:58px;
    height:58px;
    border-radius:50%;
    background:rgba(10, 45, 110, .10);
    display:flex;
    align-items:end;
    gap:4px;
    padding:14px;
    margin-bottom:8px
}

.goal-icon span {
    display:block;
    width:8px;
    border-radius:2px;
    background:var(--nds-navy)
}

.goal-icon span:nth-child(1) {
    height:18px
}

.goal-icon span:nth-child(2) {
    height:28px
}

.goal-icon span:nth-child(3) {
    height:23px
}

.goal-icon.people {
    background:rgba(228, 0, 122, .10);
    display:grid;
    grid-template-columns:repeat(2, 12px);
    gap:4px;
    align-content:center;
    justify-content:center;
    padding:0
}

.goal-icon.people span {
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--nds-magenta)
}

.goal-icon.people span:nth-child(3), .goal-icon.people span:nth-child(4) {
    height:14px;
    border-radius:4px
}

.strategy-services {
    padding-top:86px;
    padding-bottom:96px
}

.small-muted {
    color:#6e788c
}

.service-card {
    height:100%;
    background:#fff;
    border-radius:8px;
    border-top:5px solid var(--accent);
    padding:28px 24px;
    box-shadow:0 8px 25px rgba(9, 44, 109, .09);
    position:relative
}

.service-icon {
    width:42px;
    height:42px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:color-mix(in srgb, var(--accent) 13%, white);
    color:var(--accent);
    font-weight:800;
    margin-bottom:22px
}

.service-card h4 {
    font-size:1.04rem;
    line-height:1.25;
    color:var(--nds-navy);
    font-weight:800
}

.service-card p {
    font-size:.9rem;
    min-height:52px;
    color:#6e788c
}

.service-card a {
    font-size:.85rem;
    font-weight:700;
    text-decoration:none;
    color:var(--accent)
}

.foundation-card {
    min-height:118px;
    border-radius:8px;
    padding:24px;
    display:flex;
    flex-direction:column;
    justify-content:center
}

.foundation-card.dark, .foundation-card.mantra {
    background:var(--nds-navy);
    color:#fff
}

.foundation-card.light {
    background:#d9edf8;
    color:var(--nds-navy);
    border-left:5px solid var(--nds-blue)
}

.foundation-card span, .foundation-card small {
    opacity:.75
}

.foundation-card a {
    margin-top:12px;
    font-size:.85rem
}

.foundation-card.mantra {
    text-align:center;
    align-items:center
}

.foundation-card.mantra strong {
    letter-spacing:.12em
}

.foundation-card.mantra span {
    color:var(--nds-magenta);
    opacity:1
}

.kpi-section {
    padding:110px 0
}

.kpi-section h2 {
    font-size:clamp(2rem, 3.2vw, 3.7rem);
    font-weight:300;
    margin-bottom:.2rem
}

.kpi-dark {
    background:var(--nds-navy);
    color:#fff;
    border-top:5px solid var(--nds-blue)
}

.kpi-dark .kpi-sub {
    color:#a0bce4
}

.kpi-kicker {
    font-size:.85rem;
    font-weight:800;
    color:var(--nds-blue);
    letter-spacing:.06em
}

.kpi-kicker.green {
    color:var(--nds-green)
}

.kpi-table {
    --bs-table-bg:transparent;
    margin:0;
    border-collapse:separate;
    border-spacing:0 0
}

.kpi-table thead th {
    font-size:.85rem;
    text-transform:none;
    color:inherit;
    background:rgba(255, 255, 255, .07);
    border:0;
    padding:16px 24px
}

.kpi-dark .kpi-table tbody tr:nth-child(odd) {
    background:#12387e
}

.kpi-dark .kpi-table tbody tr:nth-child(even) {
    background:#18428c
}

.kpi-light .kpi-table thead th {
    background:#e1f2e6;
    color:#1e6e3c
}

.kpi-light .kpi-table tbody tr:nth-child(even) {
    background:#f6f8fc
}

.kpi-light .kpi-table tbody tr:nth-child(odd) {
    background:#fff
}

.kpi-table td {
    border:0;
    padding:18px 24px;
    color:inherit
}

.kpi-table td:first-child {
    font-weight:800
}

.kpi-dark .pill {
    background:var(--nds-blue);
    color:#fff;
    min-width:150px
}

.kpi-light .pill {
    background:var(--nds-green);
    color:#fff;
    min-width:150px
}

.kpi-light {
    background:#fff;
    color:var(--nds-navy);
    border-top:5px solid var(--nds-green)
}

.kpi-light .kpi-sub {
    color:#475669
}

@media(max-width:767px) {
    .strategy-split>div:first-child .goal-tile {
    border-right:0;
    border-bottom:1px solid #e1e8ef
}

.goal-tile {
    padding:36px 20px
}

.service-card p {
    min-height:auto
}

.site-logo {
    height:38px
}

}



/* =========================================================
   EDITABLE IMAGE SETTINGS
   ---------------------------------------------------------
   Diese Regeln verhindern, dass kleinere Grafik-Screenshots
   künstlich auf 1400px hochskaliert werden. Dadurch wirken
   sie weniger pixelig. Wenn du größere Bilddateien einsetzt,
   füllen sie automatisch bis zu 100% der Content-Breite.
   ========================================================= */

.diagram-figure {
    text-align: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.diagram-figure img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
}

/* Für bewusst volle Breite kannst du einem figure zusätzlich
   die Klasse .diagram-full geben. */
.diagram-figure.diagram-full img {
    width: 100%;
}

/* =========================================================
   FIX v6 — Seitenstruktur-Strategiekarten
   ---------------------------------------------------------
   Diese Karten stehen wie im Figma-Design untereinander.
   Du kannst Abstände, Akzentfarben und Schriftgrößen hier
   einfach selbst anpassen.
   ========================================================= */
.strategy-stack {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(9, 44, 109, .10);
    padding: 2rem;
    border-top: 4px solid var(--nds-magenta);
}

.strategy-stack .strategy-intro {
    color: #475669;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.strategy-card {
    background: #fff;
    border-left: 5px solid var(--accent, var(--nds-blue));
    border-radius: 8px;
    padding: 1.1rem 1.35rem;
    margin-top: 1rem;
    box-shadow: 0 1px 0 rgba(9,44,109,.10), 0 10px 24px rgba(9,44,109,.05);
}

.strategy-card h5 {
    color: var(--nds-navy);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: .35rem;
}

.strategy-card p {
    color: #475669;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Alte dreispaltige Infoboxen sind nur noch Fallback. */
.info-box {
    min-height: auto;
}


/* ======================================================
   LOGIN + AUTH v8 — gut bearbeitbar
====================================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        linear-gradient(135deg, rgba(10,45,110,.92), rgba(4,12,30,.88)),
        url('../../img/serverraum-1.png') center/cover no-repeat;
}

.login-shell {
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: center;
}

.login-intro {
    color: #fff;
}

.login-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.82);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .75rem;
    margin-bottom: 22px;
}

.login-intro h1 {
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 18px;
}

.login-intro p {
    color: rgba(255,255,255,.76);
    font-size: 1.2rem;
    max-width: 560px;
}

.login-card {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
    overflow: hidden;
}

.login-card .card-body {
    padding: 36px;
}

.login-logo {
    height: 46px;
    width: auto;
    margin-bottom: 28px;
}

.login-card h2 {
    color: var(--nds-navy);
    font-family: Inter, Arial, sans-serif;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-card .form-label {
    font-weight: 700;
    color: var(--nds-navy);
}

.login-card .form-control {
    min-height: 48px;
    border-color: var(--nds-border);
}

.login-card .form-control:focus {
    border-color: var(--nds-blue);
    box-shadow: 0 0 0 .2rem rgba(0,120,212,.15);
}

.password-row {
    position: relative;
}

.password-row .btn-password-toggle {
    position: absolute;
    right: 8px;
    top: 8px;
    border: 0;
    background: var(--nds-cloud);
    color: var(--nds-navy);
    font-weight: 700;
    font-size: .8rem;
    padding: 6px 10px;
    border-radius: 6px;
}

.login-help {
    background: var(--nds-cloud);
    border-left: 4px solid var(--nds-magenta);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .92rem;
    color: var(--nds-text);
}

.logout-link {
    border: 0;
    background: transparent;
    color: var(--nds-magenta);
    font-weight: 700;
    padding: .5rem 0 .5rem 1rem;
}

.logout-link:hover {
    color: var(--nds-navy);
}

@media (max-width: 991.98px) {
    .login-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .login-intro {
        text-align: center;
    }

    .login-intro p {
        margin-inline: auto;
    }
}

@media (max-width: 575.98px) {
    .login-card .card-body {
        padding: 26px;
    }
}
