:root {
    --ink: #13202c;
    --ink-soft: #3a4a58;
    --paper: #f2f5f8;
    --paper-2: #e6edf3;
    --steel: #1f6f9f;
    --steel-deep: #155a82;
    --teal: #0d8f8a;
    --cream-line: rgba(255, 255, 255, 0.22);
    --shadow: 0 18px 40px rgba(19, 32, 44, 0.14);
    --radius: 14px;
    --font-display: "Outfit", "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --pad: clamp(1.1rem, 4.5vw, 1.75rem);
    --max: 42rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.kampagne {
    min-height: 100dvh;
}

.kampagne-top {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--pad);
    padding-top: max(0.75rem, env(safe-area-inset-top));
    background: linear-gradient(180deg, rgba(19, 32, 44, 0.72), rgba(19, 32, 44, 0));
    color: #fff;
    pointer-events: none;
}

.kampagne-brand,
.kampagne-top-cta {
    pointer-events: auto;
}

.kampagne-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.kampagne-top-cta {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--cream-line);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.08);
}

/* —— Hero —— */
.hero {
    position: relative;
    min-height: 100dvh;
    min-height: 100svh;
    display: grid;
    align-items: end;
    color: #fff;
    overflow: clip;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 45%;
    transform: scale(1.04);
    animation: hero- ken 18s ease-out forwards;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 22, 32, 0.35) 0%, rgba(12, 22, 32, 0.15) 28%, rgba(12, 22, 32, 0.78) 72%, rgba(12, 22, 32, 0.94) 100%),
        linear-gradient(90deg, rgba(12, 22, 32, 0.45), transparent 55%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 0 var(--pad) clamp(1.75rem, 7vh, 3rem);
    max-width: var(--max);
    animation: rise 0.9s ease-out both;
}

.hero-brand {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 8.2vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-lead {
    margin: 0 0 1.35rem;
    max-width: 28rem;
    font-size: clamp(1.02rem, 3.6vw, 1.18rem);
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.15rem;
    border-radius: 0.55rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--teal);
    color: #fff;
}

.btn-primary:hover {
    background: #0a7a76;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--cream-line);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--steel);
    color: var(--steel-deep);
}

.btn-secondary:hover {
    background: rgba(31, 111, 159, 0.08);
}

.btn-wide {
    width: 100%;
    max-width: 22rem;
}

.closing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

/* —— Sections —— */
.section {
    padding: clamp(2.4rem, 8vw, 4rem) var(--pad);
}

.bite {
    max-width: var(--max);
    margin: 0 auto;
}

.section-alt {
    background: linear-gradient(180deg, var(--paper-2), var(--paper));
}

.eyebrow {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
}

.section h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.55rem, 5.8vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.section-lead {
    margin: 0 0 1.5rem;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(19, 32, 44, 0.12);
}

.service-list li {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 0 1rem 0.95rem;
    border-bottom: 1px solid rgba(19, 32, 44, 0.12);
    border-left: 3px solid var(--teal);
}

.service-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.08rem;
}

.service-text {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.benefit-strip {
    display: grid;
    gap: 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(19, 32, 44, 0.12);
}

.benefit {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(19, 32, 44, 0.12);
}

.benefit h3 {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.benefit p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.96rem;
}

.flow {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0.85rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
}

.flow li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.flow span {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: var(--teal);
    font-family: var(--font-display);
    font-size: 0.82rem;
}

.demo-link {
    margin: 0;
    text-align: center;
}

.demo-link a {
    color: var(--steel-deep);
    font-weight: 600;
}

.closing {
    text-align: center;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(13, 143, 138, 0.14), transparent 55%),
        var(--paper);
}

.closing-text {
    margin: 0 auto 1.5rem;
    max-width: 28rem;
    color: var(--ink-soft);
    font-size: 1.12rem;
}

.closing .btn {
    margin-inline: auto;
}

@media (min-width: 520px) {
    .closing-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .closing-actions .btn-wide {
        width: auto;
        min-width: 15rem;
        max-width: none;
        flex: 1 1 15rem;
    }
}

.closing-note {
    margin: 0.9rem 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.kampagne-footer {
    padding: 1.5rem var(--pad) calc(1.5rem + env(safe-area-inset-bottom));
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.88rem;
    border-top: 1px solid rgba(19, 32, 44, 0.08);
}

.kampagne-footer p {
    margin: 0.2rem 0;
}

.kampagne-footer a {
    color: var(--steel-deep);
    font-weight: 600;
}

/* —— Motion —— */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.benefit-strip .reveal:nth-child(2) { transition-delay: 0.06s; }
.benefit-strip .reveal:nth-child(3) { transition-delay: 0.12s; }
.benefit-strip .reveal:nth-child(4) { transition-delay: 0.18s; }
.service-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.service-list .reveal:nth-child(3) { transition-delay: 0.16s; }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hero-ken {
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media img,
    .hero-copy,
    .reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* —— Wider screens —— */
@media (min-width: 720px) {
    .hero-copy {
        padding-bottom: 3.5rem;
        max-width: 36rem;
    }

    .benefit-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0 2rem;
        border-top: none;
    }

    .benefit {
        border-top: 1px solid rgba(19, 32, 44, 0.12);
    }

    .flow {
        grid-template-columns: repeat(4, 1fr);
        text-align: left;
    }

    .btn-wide {
        width: auto;
        min-width: 16rem;
    }
}

@media (min-width: 980px) {
    .hero-media img {
        object-position: center 42%;
    }

    .bite {
        max-width: 52rem;
    }

    .service-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0 1.75rem;
        border-top: none;
    }

    .service-list li {
        border-top: 1px solid rgba(19, 32, 44, 0.12);
        min-height: 100%;
    }
}
