/* ============================================================
   Portal-Info / Pitch-Seite — Styles
   Nutzt --dgl-* Custom Properties aus gl-helden.css
   ============================================================ */

:root {
    --pi-primary-dark: #073874;
    --pi-secondary: #547BAB;
    --pi-bg-light: #DEEAF7;
    --pi-bg-alt: #f4f8fc;
    --pi-text: #333;
    --pi-text-light: #fff;
    --pi-accent: #6D8EB6;
    --pi-card-shadow: 0 4px 24px rgba(7, 56, 116, .10);
    --pi-radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.pitch-body {
    font-family: 'Open Sans', system-ui, sans-serif;
    color: var(--pi-text);
    line-height: 1.65;
    overflow-x: hidden;
    background: #fff;
}

/* ---- Sticky Nav ---- */
.pitch-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pi-primary-dark);
    padding: .6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.pitch-nav__brand {
    color: var(--pi-text-light);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.pitch-nav__links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pitch-nav__links a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: color .2s;
}

.pitch-nav__links a:hover {
    color: #fff;
}

.pitch-nav__links .btn-outline-light {
    border: 1px solid rgba(255,255,255,.5);
    padding: .3rem .8rem;
    border-radius: 6px;
    font-size: .8rem;
}

.pitch-nav__links .btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}

/* ---- Hero ---- */
.pitch-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(160deg, var(--pi-primary-dark) 0%, var(--pi-secondary) 60%, var(--pi-accent) 100%);
    color: var(--pi-text-light);
    position: relative;
    overflow: hidden;
}

.pitch-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    top: -200px;
    right: -150px;
}

.pitch-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
    bottom: -100px;
    left: -100px;
}

.pitch-hero__logo {
    width: 120px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.pitch-hero__icon {
    font-size: clamp(4rem, 10vw, 6rem);
    display: block;
    margin-bottom: .5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
}

.pitch-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    margin-bottom: .3rem;
    letter-spacing: -.5px;
}

.pitch-hero__tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    opacity: .9;
    font-weight: 400;
    margin-bottom: .3rem;
}

.pitch-hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: .9;
    max-width: 600px;
    font-weight: 400;
}

.pitch-hero__badge {
    margin-top: 2rem;
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    padding: .4rem 1.2rem;
    border-radius: 50px;
    font-size: .85rem;
    backdrop-filter: blur(4px);
}

.pitch-hero__scroll {
    margin-top: 3rem;
    animation: bounceDown 2s infinite;
    opacity: .7;
    font-size: 1.5rem;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---- Sections ---- */
.pitch-section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pitch-section--alt {
    background: var(--pi-bg-alt);
    max-width: 100%;
    padding: 4rem 0;
}

.pitch-section--alt > .pitch-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pitch-section--colored {
    background: var(--pi-bg-light);
    max-width: 100%;
    padding: 4rem 0;
}

.pitch-section--colored > .pitch-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pitch-section__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pi-primary-dark);
    margin-bottom: .5rem;
}

.pitch-section__subtitle {
    font-size: 1rem;
    color: var(--pi-accent);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* ---- Problem → Solution (2-col) ---- */
.pitch-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.pitch-compare__col {
    padding: 2rem;
    border-radius: var(--pi-radius);
}

.pitch-compare__col--problem {
    background: #fff0f0;
    border: 1px solid #fcc;
}

.pitch-compare__col--solution {
    background: #f0f8f0;
    border: 1px solid #bde0bd;
}

.pitch-compare__col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

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

.pitch-compare__col li {
    padding: .5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: .95rem;
}

.pitch-compare__col--problem li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: #d44;
    font-weight: 700;
}

.pitch-compare__col--solution li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #2a2;
    font-weight: 700;
}

/* ---- Feature Cards ---- */
.pitch-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pitch-feature-card {
    background: #fff;
    border-radius: var(--pi-radius);
    padding: 1.8rem 1.5rem;
    box-shadow: var(--pi-card-shadow);
    transition: transform .25s, box-shadow .25s;
    border: 1px solid rgba(7, 56, 116, .06);
}

.pitch-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(7, 56, 116, .15);
}

.pitch-feature-card__icon {
    font-size: 2rem;
    color: var(--pi-secondary);
    margin-bottom: .8rem;
    display: block;
}

.pitch-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pi-primary-dark);
    margin-bottom: .4rem;
}

.pitch-feature-card p {
    font-size: .88rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.pitch-feature-card__vision {
    margin-top: .5rem !important;
    font-size: .8rem !important;
    color: var(--pi-secondary) !important;
    font-style: italic;
    opacity: .85;
}

/* ---- Value Cards ---- */
.pitch-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pitch-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--pi-radius);
    box-shadow: var(--pi-card-shadow);
}

.pitch-value-card__icon {
    font-size: 2.5rem;
    color: var(--pi-secondary);
    margin-bottom: .8rem;
    display: block;
}

.pitch-value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pi-primary-dark);
    margin-bottom: .4rem;
}

.pitch-value-card p {
    font-size: .88rem;
    color: #555;
    margin: 0;
}

/* ---- Badge Row (Security) ---- */
.pitch-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.pitch-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid var(--pi-bg-light);
    padding: .6rem 1.2rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--pi-primary-dark);
    box-shadow: 0 2px 8px rgba(7,56,116,.06);
}

.pitch-badge i {
    font-size: 1.1rem;
    color: var(--pi-secondary);
}

/* ---- Timeline (Roadmap) ---- */
.pitch-timeline {
    position: relative;
    padding-left: 2.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.pitch-timeline::before {
    content: '';
    position: absolute;
    left: .75rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pi-primary-dark), var(--pi-secondary), var(--pi-accent));
    border-radius: 2px;
}

.pitch-timeline__item {
    position: relative;
    margin-bottom: 2.5rem;
}

.pitch-timeline__item:last-child {
    margin-bottom: 0;
}

.pitch-timeline__dot {
    position: absolute;
    left: -2.5rem;
    top: .25rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--pi-secondary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--pi-secondary);
}

.pitch-timeline__item--done .pitch-timeline__dot {
    background: var(--pi-primary-dark);
    box-shadow: 0 0 0 3px var(--pi-primary-dark);
}

.pitch-timeline__item--future .pitch-timeline__dot {
    background: var(--pi-accent);
    box-shadow: 0 0 0 3px var(--pi-accent);
}

.pitch-timeline__label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--pi-secondary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .25rem;
}

.pitch-timeline__item--done .pitch-timeline__label {
    color: var(--pi-primary-dark);
}

.pitch-timeline__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pi-primary-dark);
    margin-bottom: .3rem;
}

.pitch-timeline__desc {
    font-size: .88rem;
    color: #555;
}

.pitch-timeline__desc ul {
    margin: .3rem 0 0;
    padding-left: 1.2rem;
}

.pitch-timeline__desc li {
    margin-bottom: .15rem;
}

/* ---- KI Section ---- */
.pitch-ki-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pitch-ki-card {
    background: linear-gradient(135deg, #f8faff, #eef3fb);
    border: 1px solid var(--pi-bg-light);
    border-radius: var(--pi-radius);
    padding: 1.5rem;
}

.pitch-ki-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--pi-primary-dark);
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.pitch-ki-card p {
    font-size: .85rem;
    color: #555;
    margin: 0;
}

/* ---- Developer ---- */
.pitch-dev {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border-radius: var(--pi-radius);
    padding: 2rem;
    box-shadow: var(--pi-card-shadow);
}

.pitch-dev__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--pi-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.pitch-dev h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pi-primary-dark);
    margin-bottom: .25rem;
}

.pitch-dev p {
    font-size: .9rem;
    color: #555;
    margin: 0;
}

/* ---- CTA ---- */
.pitch-cta {
    text-align: center;
    padding: 5rem 1.5rem;
    background: linear-gradient(160deg, var(--pi-primary-dark), var(--pi-secondary));
    color: #fff;
}

.pitch-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pitch-cta p {
    font-size: 1.1rem;
    opacity: .9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pitch-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-pitch {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.btn-pitch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.btn-pitch--primary {
    background: #fff;
    color: var(--pi-primary-dark);
}

.btn-pitch--secondary {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
}

/* ---- Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Footer ---- */
.pitch-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: .8rem;
    color: #888;
    background: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .pitch-feature-grid,
    .pitch-value-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .pitch-ki-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pitch-compare {
        grid-template-columns: 1fr;
    }

    /* Nav: hide text links, keep Login button */
    .pitch-nav__links a:not(.btn-outline-light) {
        display: none;
    }

    .pitch-nav {
        padding: .5rem 1rem;
    }

    /* Hero compact */
    .pitch-hero {
        min-height: 80vh;
        padding: 5rem 1.2rem 3rem;
    }

    .pitch-hero__subtitle {
        font-size: 1rem;
    }

    /* Section inner padding */
    .pitch-section__inner {
        padding: 0 1rem !important;
    }

    .pitch-section {
        padding: 3.5rem 1.2rem;
    }

    /* Badge wrapping */
    .pitch-badge-row {
        gap: .6rem;
    }

    .pitch-badge {
        font-size: .78rem;
        padding: .5rem .9rem;
    }

    /* CTA */
    .pitch-cta {
        padding: 3.5rem 1.2rem;
    }

    .pitch-cta h2 {
        font-size: 1.5rem;
    }

    .btn-pitch {
        padding: .65rem 1.5rem;
        font-size: .88rem;
    }

    /* Timeline compact */
    .pitch-timeline {
        padding-left: 2rem;
    }

    .pitch-timeline__dot {
        left: -2rem;
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (max-width: 576px) {
    .pitch-feature-grid,
    .pitch-value-grid,
    .pitch-ki-grid {
        grid-template-columns: 1fr !important;
    }

    .pitch-hero {
        min-height: 70vh;
        padding: 4.5rem 1rem 2.5rem;
    }

    .pitch-hero h1 {
        font-size: 1.7rem;
    }

    .pitch-hero__subtitle {
        font-size: .92rem;
    }

    .pitch-hero__badge {
        font-size: .78rem;
        padding: .35rem 1rem;
    }

    .pitch-section {
        padding: 2.5rem .8rem;
    }

    .pitch-section__inner {
        padding: 0 .8rem !important;
    }

    .pitch-section__title {
        font-size: 1.4rem;
    }

    .pitch-section__subtitle {
        font-size: .9rem;
        margin-bottom: 1.5rem;
    }

    /* Cards: reduce padding */
    .pitch-feature-card {
        padding: 1.3rem 1.2rem;
    }

    .pitch-value-card {
        padding: 1.5rem 1rem;
    }

    .pitch-ki-card {
        padding: 1.2rem;
    }

    /* Compare boxes */
    .pitch-compare__col {
        padding: 1.2rem;
    }

    /* Developer */
    .pitch-dev {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .pitch-dev__avatar {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    /* Footer */
    .pitch-footer {
        padding: 1rem;
    }

    /* Touch: active states */
    .pitch-feature-card:active,
    .pitch-value-card:active,
    .pitch-ki-card:active {
        transform: scale(.98);
    }

    .btn-pitch:active {
        transform: scale(.96);
    }
}
