/* CSS für Webseite meiner Dienstleistungen */
/* Autor: Raik Schumacher */
/* Datum: 20.02.2026 */
:root {
    /* Farben */
    --bg: #0B1220;
    --surface: #111B2E;
    --surface-2: #0F1930;
    --border: rgba(255,255,255,0.08);
    --border-soft: rgba(255,255,255,0.06);

    --text: #EAF0FF;
    --text-muted: rgba(234,240,255,0.70);
    --text-faint: rgba(234,240,255,0.55);

    --accent: #4AA3FF;
    --accent-hover: #2F8CFF;

    /* Typographie */
    --font-sans: ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI",
    Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;


    --text-base: 16px;
    --lh: 1.65;

    --h1: clamp(34px, 4vw, 54px);
    --h2: clamp(24px, 2.4vw, 34px);
    --h3: 18px;

    /* Layout */
    --container: 1200px;
    --gutter: 20px;

    --section-y: 84px;
    --section-y-md: 64px;
    --section-y-sm: 44px;

    /* Radius */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;

    /* Focus */
    --focus: 0 0 0 3px rgba(74,163,255,0.35);

    --ease: cubic-bezier(.2,.8,.2,1);
    --dur: 180ms;
}

/* Standard */
* { box-sizing: border-box; }
html, body { height: 100%; }

body{
    margin:0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--lh);
    color: var(--text);
    background: var(--bg);
    position: relative;
    overflow-x: hidden;
}

/* Die "Canvas" liegt über die ganze Seite und bleibt auch da */
body::before{
    content:"";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    /* 1) weiche Lichtfelder, aber nicht pro Section */
    background:
    radial-gradient(900px 700px at 15% 10%, rgba(74,163,255,0.14), transparent 60%),
    radial-gradient(800px 600px at 85% 20%, rgba(91,227,181,0.08), transparent 60%),

    /* 2) klare Struktur: Grid-Linien (sehr subtil) */
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px),

    /* 3) Basis */
    var(--bg);

    background-size:
    auto,
    auto,
    80px 80px,   /* Grid spacing */
    80px 80px,
    auto;

    opacity: 1;
}

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

.container {
    width: min(var(--container), calc(100% - 2*var(--gutter)));
    margin: 0 auto;
}
.section { padding: var(--section-y) 0; }
@media (max-width: 900px) { .section { padding: var(--section-y-md) 0; } }
@media (max-width: 520px) { .section { padding: var(--section-y-sm) 0; } }

.kicker {
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
}

h1 { font-size: var(--h1); line-height: 1.1; margin: 0 0 14px; }
h2 { font-size: var(--h2); line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: var(--h3); line-height: 1.35; margin: 0 0 10px; }

p { margin: 0 0 14px; color: var(--text-muted); }

.surface,
.surface-highlight{
    background: transparent;
}

/* Navigation (oben) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11,18,32,0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 18px;
}
.brand {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--text);
    white-space: nowrap;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}
.nav-links a { color: var(--text-muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--accent); color: #071021; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:hover a:hover { color: white; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-1px); }

/* Grid */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Kärtchen */
.card {
    background: rgba(17,27,46,0.78);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px;
    backdrop-filter: blur(6px);
}
.card:hover { border-color: rgba(255,255,255,0.14); }
.card-title { margin: 0 0 8px; color: var(--text); font-weight: 800; }
.card ul { margin: 0; padding-left: 18px; color: var(--text-muted); }
.card li { margin: 6px 0; }

/* Hero-Section */
.hero {
    padding: calc(var(--section-y) - 14px) 0 var(--section-y);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
    align-items: center;
    min-height: 72vh;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; min-height: auto; }
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.badge {
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: rgba(17,27,46,0.55);
    padding: 6px 10px;
    border-radius: 999px;
}
.hero-visual {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background:
    radial-gradient(500px 260px at 70% 30%, rgba(74,163,255,0.16), transparent 60%),
    rgba(17,27,46,0.65);
    padding: 18px;
    min-height: 320px;
    overflow: hidden;
    position: relative;
}
.hero-visual svg { width: 100%; height: 100%; display: block; opacity: 0.9; }

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;

}

@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }
.step {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: rgba(17,27,46,0.65);
}

.step .num {
    display: inline-flex;
    width: 28px; height: 28px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(74,163,255,0.14);
    border: 1px solid rgba(74,163,255,0.25);
    color: var(--text);
    font-weight: 900;
    margin-bottom: 10px;
}

.step p { margin: 0; }

/* Kontaktbereich */
.contact {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(17,27,46,0.70);
}
.contact .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-muted);
    font-weight: 700;
}
.contact a { font-weight: 900; }

/* Footer */
footer {
    padding: 26px 0;
    color: var(--text-faint);
    font-weight: 600;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

/* Helferlein */
.muted { color: var(--text-muted); }
.max-600 { max-width: 600px; }
