@charset "UTF-8";

:root {
    --color-bg: #f6f4ef;
    --color-surface: #ffffff;
    --color-text: #1c2430;
    --color-muted: #5a6572;
    --color-accent: #0b5f8a;
    --color-accent-dark: #084766;
    --color-gold: #c9a227;
    --color-min: #d4e8f5;
    --color-fill: #0b5f8a;
    --radius: 12px;
    --shadow: 0 12px 40px rgba(16, 36, 56, 0.12);
    --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --max: 1080px;
}

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

html {
    scroll-behavior: smooth;
}

#warum-title,
#so-gehts,
#kontakt-title,
#was-bewirkt {
    scroll-margin-top: 5rem;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

a {
    color: var(--color-accent);
}

a:hover {
    color: var(--color-accent-dark);
}

.wrap {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.site-header__brand {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-width: 0;
    flex: 1 1 auto;
}

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

.site-header__brand a:hover {
    color: var(--color-accent);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
}

.site-header__legal {
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 1;
    min-width: 0;
}

.site-header__legal:hover {
    text-decoration: underline;
}

.site-header__legal--current {
    color: var(--color-muted);
    pointer-events: none;
    text-decoration: none;
}

@media (max-width: 720px) {
    .site-header__inner {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0.65rem 0;
    }

    .site-header__brand {
        flex: 1 1 100%;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .site-header__actions {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .site-header__actions .site-header__pdf-btn,
    .site-header__legal {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
        justify-content: center;
    }

    .site-header__pdf-btn {
        display: inline-flex;
        min-height: 2.75rem;
        line-height: 1.3;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

@media (max-width: 900px) and (min-width: 721px) {
    .site-header__inner {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .site-header__actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 100%;
    }

    .site-header__legal {
        white-space: normal;
        max-width: 14rem;
    }
}

.legal h1 {
    margin-top: 0;
}

.legal h2 {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal h2:first-of-type {
    border-top: none;
    margin-top: 1.25rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    margin: 1rem 0;
}

.legal-table th,
.legal-table td {
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.55rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: rgba(255, 255, 255, 0.7);
}

.legal-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.button--ghost {
    background: transparent;
    color: var(--color-accent) !important;
    border-color: rgba(11, 95, 138, 0.35);
}

.button--ghost:hover {
    background: rgba(11, 95, 138, 0.08);
}

.button--small {
    padding: 0.45rem 0.85rem;
    font-size: 0.92rem;
}

.hero__visual {
    position: relative;
    background: #1c2430;
}

.hero__visual > img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    filter: saturate(0.95);
}

.hero__content {
    padding: 2rem 0 1.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--color-muted);
    margin: 0 0 0.5rem;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    line-height: 1.15;
}

.lead {
    font-size: 1.12rem;
    color: var(--color-muted);
    max-width: 42rem;
    margin: 0 0 1.25rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section {
    padding: 3rem 0;
}

.section--muted {
    background: rgba(255, 255, 255, 0.55);
}

.section--stats {
    padding-top: 2rem;
}

.section--clarify {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.clarify-box {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: 0 6px 24px rgba(16, 36, 56, 0.08);
    border-left: 4px solid var(--color-accent);
}

.clarify-box h2 {
    margin-top: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.clarify-emphasis {
    margin-bottom: 0.75rem;
}

.process-timeline-label {
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
}

.process-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
    counter-reset: process;
}

.process-timeline li {
    position: relative;
    margin: 0;
    padding: 0.65rem 0.65rem 0.65rem 2.75rem;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--color-text);
    background: rgba(11, 95, 138, 0.06);
    border-radius: 8px;
    counter-increment: process;
}

.process-timeline li::before {
    content: counter(process);
    position: absolute;
    left: 0.65rem;
    top: 0.65rem;
    width: 1.65rem;
    height: 1.65rem;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-accent);
    border-radius: 50%;
}

@media (min-width: 900px) {
    .process-timeline {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .process-timeline li {
        padding: 2.35rem 0.5rem 0.65rem;
        text-align: center;
        min-height: 100%;
    }

    .process-timeline li::before {
        left: 50%;
        top: 0.5rem;
        transform: translateX(-50%);
    }
}

.section-intro {
    margin: -0.25rem 0 1rem;
    color: var(--color-muted);
    font-size: 0.98rem;
}

.args-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .args-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .args-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.args-grid + .args-note,
.section > .wrap > h2 + .section-intro {
    max-width: none;
}

.args-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1rem 1.05rem;
    box-shadow: 0 4px 16px rgba(16, 36, 56, 0.06);
}

.args-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    line-height: 1.3;
}

.args-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.45;
}

.args-note {
    margin-top: 1rem;
}

.read-more-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.read-more-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.45;
}

.read-more-list li:last-child {
    border-bottom: none;
}

.read-more-list__hint {
    color: var(--color-muted);
    font-size: 0.92rem;
}

.faq-subheading {
    margin: 2rem 0 0.75rem;
    font-size: 1.1rem;
    color: var(--color-text);
}

.section--context {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.context-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .context-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.context-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(16, 36, 56, 0.08);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.context-card__visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
}

.context-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.context-card:hover {
    border-color: rgba(11, 95, 138, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(16, 36, 56, 0.14);
    color: inherit;
}

.context-card:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.context-card__title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.3;
    color: var(--color-text);
}

.context-card__note {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--color-muted);
}

.context-card__link-hint {
    margin-top: 0.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
}

.context-pie {
    position: relative;
    width: 5.5rem;
    aspect-ratio: 1;
    margin: 0;
}

.context-pie__svg {
    width: 100%;
    height: 100%;
    display: block;
}

.context-pie__bg {
    stroke: #e7edf2;
}

.context-pie__slice {
    stroke: var(--color-fill);
    stroke-linecap: round;
}

.context-pie__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    margin: 0;
    font-weight: 700;
    color: var(--color-accent-dark);
    line-height: 1;
}

.context-pie__number {
    font-size: 1.2rem;
    font-variant-numeric: tabular-nums;
}

.context-pie__suffix {
    font-size: 0.72rem;
    color: var(--color-muted);
    font-weight: 600;
    white-space: nowrap;
}

.context-counter {
    margin: 0;
    line-height: 1;
    width: 100%;
    text-align: center;
}

.context-counter__value {
    font-size: clamp(2.35rem, 7vw, 2.85rem);
    font-weight: 700;
    color: var(--color-accent-dark);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.prose h2,
.section > .wrap > h2 {
    margin-top: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: minmax(0, 1fr) minmax(12.5rem, 14.5rem);
    }

    .stats-grid--page {
        grid-template-columns: 1fr 1fr;
        max-width: 40rem;
    }
}

.stats-login input[type="password"] {
    width: min(100%, 20rem);
    padding: 0.5rem 0.65rem;
    font: inherit;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
}

.stat-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}

.stat-card--wide {
    padding: 1.35rem 1.5rem;
}

.stat-card--wide .stat-card__number {
    font-size: clamp(2.15rem, 5.5vw, 3rem);
}

.stat-card--visits {
    padding: 1.1rem 1rem;
}

@media (min-width: 768px) {
    .stat-card--visits .stat-card__label {
        white-space: nowrap;
    }

    .stat-card--visits .stat-card__hint-lines li:first-child {
        white-space: nowrap;
    }

    .stat-card--visits .stat-card__number {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }
}

.stat-card__label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.stat-card__value {
    margin: 0.35rem 0;
    font-size: 1.05rem;
}

.stat-card__number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-accent-dark);
    font-variant-numeric: tabular-nums;
}

.stat-card__hint {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.stat-card__hint-lines {
    list-style: none;
    padding: 0;
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--color-muted);
}

.stat-card__hint-lines li + li {
    margin-top: 0.2rem;
}

.progress {
    margin-top: 1rem;
}

.progress__track {
    position: relative;
    height: 1.25rem;
    border-radius: 999px;
    background: #e7edf2;
    overflow: hidden;
}

.progress__minimum {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--color-min);
    border-right: 2px dashed rgba(11, 95, 138, 0.45);
}

.progress__fill {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--color-fill), #148cb8);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--progress-duration, 3.2s) cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.progress__fill--run {
    transform: scaleX(var(--progress-scale, 0));
}

@media (prefers-reduced-motion: reduce) {
    .progress__fill {
        transition: none;
    }
}

.progress__legend {
    list-style: none;
    padding: 0.65rem 0 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.swatch {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 3px;
    vertical-align: -0.1rem;
    margin-right: 0.25rem;
}

.swatch--min {
    background: var(--color-min);
    border: 1px solid rgba(11, 95, 138, 0.35);
}

.swatch--goal {
    background: var(--color-fill);
}

.fine-print {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.highlight-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .highlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 20px rgba(16, 36, 56, 0.06);
}

.highlight h3 {
    margin-top: 0;
    font-size: 1.05rem;
}

.checklist {
    padding-left: 1.2rem;
}

.checklist li {
    margin-bottom: 0.35rem;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.steps li {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow);
    counter-increment: step;
}

.steps h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.steps h3::before {
    content: counter(step) ". ";
    color: var(--color-gold);
    font-weight: 800;
}

.steps {
    counter-reset: step;
}

.cta-row {
    margin-top: 1.5rem;
}

.contact {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contact {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.contact__photo {
    margin: 0;
    text-align: center;
}

.contact__photo img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-inline: auto;
    max-width: 320px;
}

.contact__photo figcaption {
    margin-top: 0.5rem;
    color: var(--color-muted);
}

details {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-muted);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0.35rem 0;
}

.site-footer__meta {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

code {
    font-size: 0.85em;
}
