:root {
    --bg: #f5f7fb;
    --bg-2: #eef3fb;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text: #1f2937;
    --muted: #5b6472;
    --primary: #2563eb;
    --primary-dark: #174ea6;
    --primary-soft: #e8f0ff;
    --accent: #e2e8f0;
    --border: #d9e2ef;
    --border-strong: #bfd0e5;
    --shadow: 0 18px 48px rgba(31, 41, 55, 0.10);
    --shadow-soft: 0 8px 24px rgba(31, 41, 55, 0.07);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 7% 0%, rgba(37, 99, 235, 0.11), transparent 30%),
        radial-gradient(circle at 95% 12%, rgba(20, 184, 166, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 70%);
    z-index: -1;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 78px 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(217, 226, 239, 0.92);
}
.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    position: relative;
    font-size: 1.12rem;
    font-weight: 750;
    letter-spacing: -0.035em;
    padding-left: 18px;
}
.logo::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 28px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), #22a6f2);
}
.nav-links {
    display: flex;
    gap: 6px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}
.nav-links a {
    padding: 9px 13px;
    border-radius: 999px;
}
.nav-links a:hover {
    color: var(--primary-soft);
    background: var(--primary-dark);
}

.hero {
    padding-top: 104px;
    padding-bottom: 88px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 50px;
    align-items: stretch;
}
.hero-panel {
    position: relative;
    padding: 40px;
    border: 1px solid rgba(217, 226, 239, 0.82);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-panel::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 150px;
    height: 150px;
    border-radius: 34px;
    transform: rotate(10deg);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(34, 166, 242, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.12);
}
.eyebrow,
.section-label {
    color: var(--primary-dark);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    margin-bottom: 14px;
}
h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.35rem, 5.6vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
    max-width: 860px;
}
.name-line {
    position: relative;
    z-index: 1;
    color: var(--primary-dark);
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}
h2 {
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}
h3 {
    font-size: 1.08rem;
    margin-bottom: 9px;
    letter-spacing: -0.015em;
}
.hero-text {
    position: relative;
    z-index: 1;
    max-width: 770px;
    color: var(--muted);
    font-size: 1.12rem;
    margin-bottom: 28px;
}
.hero-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--primary-dark);
    font-weight: 700;
}
.focus-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.focus-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #22a6f2, #14b8a6);
}

.info-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    margin: 0 0 22px;
    border-radius: 999px;
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 750;
}

.focus-card p,
.focus-card li,
.section-heading p,
.card p,
.split-box p,
.step p,
.contact-section p {
    color: var(--muted);
}
.focus-card ul,
.list-box ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.focus-card li,
.list-box li {
    position: relative;
    padding-left: 26px;
}
.focus-card li::before,
.list-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.activities-section,
.contact-section {
    background: rgba(255, 255, 255, 0.72);
}
.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.compact-grid .card:last-child { grid-column: span 2; }
.card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 23px;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.055);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 4px;
    height: 42px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--primary), #22a6f2);
    opacity: 0.78;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-strong);
}
.card h3 {
    color: var(--text);
    padding-left: 2px;
}

.context-section {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(238, 243, 251, 0.72));
}
.split-box {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 42px;
    align-items: start;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}
.list-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.work-section { background: rgba(245, 247, 251, 0.86); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.045);
}
.step span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: 44px;
    align-items: start;
}
.small-note {
    padding: 16px;
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: var(--radius-sm);
}
code {
    background: #fff;
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 8px;
    color: var(--primary-dark);
}
.contact-form {
    display: grid;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.contact-form label {
    font-weight: 750;
    font-size: 0.92rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    background: var(--surface-soft);
    color: var(--text);
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: var(--surface);
}
.contact-form textarea { resize: vertical; }
.checkbox-line {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    font-weight: 400 !important;
    color: var(--muted) !important;
}
.checkbox-line input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--primary);
}
.btn {
    border: 0;
    border-radius: 8px;
    min-height: 48px;
    padding: 0 22px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}
.btn:hover { background: var(--primary); }

.site-footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.78);
    padding: 26px 0;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.footer-content p { margin: 0; }
.footer-links {
    display: flex;
    gap: 18px;
}
.footer-links a:hover { color: #fff; }

@media (max-width: 920px) {
    .hero-grid,
    .split-box,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid,
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    .compact-grid .card:last-child { grid-column: span 1; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 28px, 1120px); }
    .section { padding: 58px 0; }
    .nav {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }
    .hero {
        padding-top: 60px;
        padding-bottom: 62px;
    }
    .hero-panel,
    .split-box,
    .focus-card,
    .contact-form {
        padding: 22px;
        border-radius: 22px;
    }
    .cards-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Kontaktformular: verstecktes Feld als einfacher Spam-Schutz */
.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.form-message.success {
    border-color: rgba(20, 184, 166, 0.32);
}

.form-message.error {
    border-color: rgba(220, 38, 38, 0.28);
}

.form-message ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
}


/* Ruhige Überschrift oberhalb der zwei Hero-Container */
.hero-title {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0 0 6px;
    text-align: left;
    color: var(--text);
    font-size: clamp(1.18rem, 1.9vw, 1.55rem);
    line-height: 1.34;
    letter-spacing: -0.025em;
    font-weight: 600;
}

@media (max-width: 680px) {
    .hero-title {
        margin: 0 0 2px;
        text-align: left;
        font-size: 1.22rem;
        line-height: 1.36;
    }
}
