:root {
    color-scheme: light;
    color: #0e2a3f;
    background: #f2f8fb;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --navy: #0e3a5e;
    --teal: #1fa2bd;
    --teal-d: #178da6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #e9f2f6 100%);
    color: #0e2a3f;
}

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

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    background: var(--navy);
    color: white;
    padding: 1.75rem 0;
}

.brand {
    display: grid;
    gap: 0.75rem;
}

.logo {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tagline {
    max-width: 720px;
    line-height: 1.75;
    color: #cbd5e1;
    margin: 0;
}

.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero h1 {
    margin: 0 auto 1rem;
    max-width: 820px;
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero p {
    margin: 0 auto 2rem;
    max-width: 760px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(31, 162, 189, 0.25);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    margin: 0.25rem 0.5rem;
}

.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(31, 162, 189, 0.32);
}

.btn.secondary {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    box-shadow: none;
}

.btn.secondary:hover {
    background: #e6f2f6;
    filter: none;
}

.overview,
.features,
.compliance,
.download {
    padding: 3rem 0;
}

.overview .split,
.features .grid,
.compliance .grid {
    display: grid;
    gap: 1.75rem;
}

.overview .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview h2,
.features h2,
.compliance h2,
.download h2 {
    margin-top: 0;
    font-size: clamp(2rem, 2.2vw, 2.5rem);
}

.overview p,
.features article p,
.compliance article p,
.download p {
    color: #475569;
    line-height: 1.8;
}

.features .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.features article,
.compliance article {
    padding: 1.75rem;
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.04);
}

.features article h3,
.compliance article h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.download .links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer {
    background: var(--navy);
    color: #a7c6d3;
    padding: 1.5rem 0;
    text-align: center;
}

@media (max-width: 860px) {
    .overview .split,
    .features .grid,
    .compliance .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ---- Test-Betrieb Startseite ---- */
.testbar{background:#fef3c7;color:#78350f;text-align:center;padding:.6rem 1rem;
  font-size:.9rem;border-bottom:1px solid #fcd34d}
.testbar strong{font-weight:800}
.badge-test{display:inline-block;background:#f59e0b;color:#111827;font-weight:800;
  font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;padding:.3rem .7rem;
  border-radius:999px;margin-bottom:1rem}
.notice{max-width:820px;margin:1.5rem auto 0;background:#fff;border:1px solid #fca5a5;
  border-left:5px solid #dc2626;border-radius:14px;padding:1.25rem 1.5rem;text-align:left}
.notice h3{margin:0 0 .5rem;color:#991b1b;font-size:1.05rem}
.notice ul{margin:.4rem 0 0;padding-left:1.2rem;color:#334155;line-height:1.7}
.steps{counter-reset:step;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);
  margin-top:1.5rem}
.steps li{list-style:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;
  padding:1.4rem 1.2rem 1.2rem;position:relative;box-shadow:0 12px 30px rgba(15,23,42,.05)}
.steps li::before{counter-increment:step;content:counter(step);position:absolute;top:-14px;left:1.2rem;
  width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--navy),var(--teal));color:#fff;font-weight:800;
  display:flex;align-items:center;justify-content:center}
.steps h4{margin:.3rem 0 .4rem;font-size:1rem}
.steps p{margin:0;color:#475569;font-size:.9rem;line-height:1.6}
.btn.big{font-size:1.05rem;padding:1.05rem 2.2rem}
.cred{font-family:ui-monospace,Menlo,monospace;background:#0e3a5e;color:#e2e8f0;
  padding:.15rem .5rem;border-radius:6px}
@media(max-width:860px){.steps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.steps{grid-template-columns:1fr}}

/* ---- Reine Login-Startseite ---- */
.login-page{background:linear-gradient(160deg,#0e3a5e 0%,#13506e 55%,#1fa2bd 140%);min-height:100vh}
.login-box{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:2rem;gap:1.5rem}
.login-card{background:#fff;border-radius:22px;padding:2.6rem 2.4rem;max-width:440px;width:100%;
  text-align:center;box-shadow:0 30px 70px rgba(0,0,0,.35)}
.login-card .logo{display:block;margin:0 auto}
.login-card .logo img{display:block;width:min(300px,80%);height:auto;margin:0 auto}
.login-sub{color:#475569;line-height:1.6;margin:.7rem 0 1.6rem}
.login-btn{width:100%;font-size:1.1rem;padding:1rem 1.5rem}
.login-note{color:#94a3b8;font-size:.82rem;line-height:1.6;margin:1.3rem 0 0}
.login-foot{color:#cbd5e1;font-size:.78rem;opacity:.8;text-align:center}
