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

:root {
    --bg: #080c18;
    --bg-surface: #0d1225;
    --bg-card: #111827;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(99,102,241,0.5);
    --text: #e2e8f0;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --accent: #6366f1;
    --accent-2: #06b6d4;
    --accent-glow: rgba(99,102,241,0.25);
    --gradient: linear-gradient(135deg, #6366f1, #06b6d4);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max: 1020px;
    --radius: 12px;
    --radius-lg: 20px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Gradient text utility ── */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(8,12,24,0.75);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted-light); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

/* Background orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, transparent 70%);
    bottom: 0px;
    left: -80px;
    animation-delay: -3s;
}
.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -5s;
    animation-duration: 10s;
}

/* Grid lines decoration */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    background: rgba(99,102,241,0.08);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted-light);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 0 30px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 45px var(--accent-glow);
    text-decoration: none;
    color: #ffffff;
}

.btn-ghost {
    background: transparent;
    color: var(--muted-light);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Divider line ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
}


/* ── Sections ── */
.section {
    padding: 6rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--muted-light);
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-hover);
}

.service-card:hover::after { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    margin-bottom: 1.25rem;
    color: var(--accent-2);
    transition: background 0.3s, box-shadow 0.3s;
}

.service-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-icon-wrap {
    background: rgba(99,102,241,0.18);
    box-shadow: 0 0 20px rgba(99,102,241,0.2);
    color: #fff;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--muted-light);
    line-height: 1.7;
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: spin-slow linear infinite;
}
.about-ring-1 {
    width: 280px; height: 280px;
    animation-duration: 25s;
    border-color: rgba(99,102,241,0.2);
}
.about-ring-2 {
    width: 200px; height: 200px;
    animation-duration: 18s;
    animation-direction: reverse;
    border-color: rgba(6,182,212,0.2);
}
.about-ring-3 {
    width: 120px; height: 120px;
    animation-duration: 12s;
    border-color: rgba(99,102,241,0.3);
}

.about-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 20px var(--accent-glow);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Orbit dots */

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-ring-dot-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin-slow linear infinite;
}
.about-ring-1 .about-ring-dot-wrap { animation-duration: 25s; }
.about-ring-2 .about-ring-dot-wrap { animation-duration: 18s; animation-direction: reverse; }

.about-ring-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-glow);
}

.about-text p {
    color: var(--muted-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}
.about-text .section-label { color: var(--accent); }
.about-text p:last-child { margin-bottom: 0; }

.about-highlight {
    display: inline-block;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    background: rgba(99,102,241,0.06);
    margin-bottom: 1.5rem;
}

.about-highlight p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    font-style: italic;
}

/* ── Contact ── */
.contact-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-hover);
}

.contact-card:hover::after { opacity: 1; }

.contact-card > * { position: relative; z-index: 1; }

.contact-card:hover .contact-icon {
    background: rgba(99,102,241,0.18);
    box-shadow: 0 0 20px rgba(99,102,241,0.2);
    color: #fff;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.1);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--accent-2);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.contact-value a {
    color: var(--text);
}
.contact-value a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    font-size: 0.875rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 160px;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.copyright { color: var(--muted); }

/* ── Legal pages ── */
.legal-nav {
    background: rgba(8,12,24,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-logo {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
}
.legal-logo:hover { text-decoration: none; }
.legal-logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-link { font-size: 0.875rem; color: var(--muted-light); transition: color 0.2s; }
.back-link:hover { color: var(--text); text-decoration: none; }

.legal-main {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 5rem;
    min-height: 70vh;
    content-visibility: auto;
    contain-intrinsic-size: 1px 1400px;
}

.legal-article { max-width: 720px; }

.legal-article h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.legal-article .stand {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.legal-article h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.legal-article h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--muted-light);
}

.legal-article p {
    font-size: 0.925rem;
    color: var(--muted-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-article ul { margin-left: 1.5rem; margin-bottom: 0.75rem; }
.legal-article li { font-size: 0.925rem; color: var(--muted-light); margin-bottom: 0.5rem; line-height: 1.7; }
.legal-article strong { color: var(--text); }
.legal-article a { color: var(--accent); }

/* ── Particle canvas ── */
#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

/* ── Process / Ablauf ── */
.process-section {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: flex;
    gap: 0;
    position: relative;
    margin-top: 3rem;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    left: 5rem;
    right: 5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0.3;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 1.25rem;
    position: relative;
}

.step-number {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-2);
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--muted-light);
    line-height: 1.7;
    max-width: 200px;
    margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid { gap: 3rem; }
    .process-steps::before { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero {
        min-height: auto;
        padding: 6rem 0 3.5rem;
    }

    .hero h1 { font-size: 2.4rem; }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }

    .section { padding: 3.5rem 0; }
    .section-subtitle { margin-bottom: 2rem; }

    .about-grid { grid-template-columns: 1fr; gap: 0; }
    .about-visual { height: 200px; }
    .about-ring-1 { width: 180px; height: 180px; }
    .about-ring-2 { width: 120px; height: 120px; }
    .about-ring-3 { width: 70px; height: 70px; }

    .contact-wrapper { flex-direction: column; }
    .contact-card { width: 100%; }

    .site-footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .process-steps { flex-direction: column; gap: 1.5rem; }
    .process-steps::before { display: none; }
    .step-number { width: 60px; height: 60px; font-size: 1.2rem; }
    .process-step { padding: 0; }
    .process-step p { max-width: none; }
}
