/* ============================================================
   Neovation IT — Design-System
   Markenfarben aus dem Logo: Blau → Grün
   Keine externen Ressourcen (Fonts/CDN) — DSGVO-freundlich.
   ============================================================ */

:root {
    --blue:        #0b63e0;
    --blue-dark:   #084db3;
    --green:       #1ca558;
    --grad:        linear-gradient(120deg, #0b63e0 20%, #1ca558 100%);

    --text:        #0f1b2d;
    --muted:       #4d5d72;
    --bg:          #ffffff;
    --surface:     #f5f8fc;
    --border:      #e2e9f2;

    --footer-bg:   #0e1726;
    --footer-text: #b8c4d4;

    --radius-lg:   22px;
    --radius-md:   12px;
    --shadow:      0 12px 40px rgba(15, 27, 45, 0.08);
    --shadow-soft: 0 4px 18px rgba(15, 27, 45, 0.05);

    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

/* ── Barrierefreiheit ──────────────────────────────────────── */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--blue);
    color: #fff;
    padding: 0.8rem 1.4rem;
    border-radius: 0 0 var(--radius-md) 0;
    z-index: 2000;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

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

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Typografie ────────────────────────────────────────────── */

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 750; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; font-weight: 650; margin-bottom: 0.6rem; }
p  { color: var(--muted); }

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.8rem;
}

.accent-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead { font-size: 1.18rem; max-width: 60ch; }

.text-link {
    color: var(--blue);
    font-weight: 650;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ── Layout-Bausteine ──────────────────────────────────────── */

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow { max-width: 860px; }

.section { padding: 5.5rem 0; }
.section-surface { background: var(--surface); border-block: 1px solid var(--border); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.section-note { text-align: center; margin-top: 3rem; font-size: 0.95rem; }

.page-intro {
    padding: 5rem 0 1rem;
}
.page-intro--center { text-align: center; padding-bottom: 5rem; }

/* ── Navigation ────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}
.brand-logo { height: 46px; width: auto; }
.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text);
}
.brand-name span { color: var(--blue); }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-item {
    text-decoration: none;
    color: var(--muted);
    font-weight: 620;
    font-size: 1rem;
    transition: color 0.2s ease;
}
.nav-item:hover, .nav-item.active { color: var(--blue); }

.btn-cta-nav {
    background: var(--text);
    color: #fff !important;
    padding: 0.65rem 1.4rem;
    border-radius: 100px;
    transition: background 0.2s ease;
}
.btn-cta-nav:hover { background: var(--blue); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
}
.menu-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background: var(--grad);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(11, 99, 224, 0.35);
}
.btn-outline {
    border-color: var(--border);
    background: transparent;
    color: var(--text);
}
.btn-outline:hover { border-color: var(--text); background: var(--surface); }
.btn-light {
    background: #fff;
    color: var(--blue-dark);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.btn-block { width: 100%; }

/* ── Hero (Startseite) ─────────────────────────────────────── */

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 5.5rem;
}
.hero-text .btn { margin-right: 0; }
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}
.hero-actions--center { justify-content: center; }
.hero-badges {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 2.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
}
.hero-visual { position: relative; }
.hero-visual::before {
    content: '';
    position: absolute;
    inset: -8%;
    background: var(--grad);
    opacity: 0.12;
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
    z-index: -1;
}
.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}

/* ── Feature-Karten ────────────────────────────────────────── */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.feature-card .text-link { display: inline-block; margin-top: 0.9rem; }

/* ── Kunden / Referenzen ───────────────────────────────────── */

.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.customer-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.6rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.customer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}
.customer-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.8rem;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.customer-card:hover .customer-logo { filter: grayscale(0); opacity: 1; }
.customer-quote {
    font-style: italic;
    margin-bottom: 1.4rem;
}
.customer-link {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.customer-card--placeholder { border-style: dashed; }
.customer-placeholder-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 1.8rem;
}

/* ── Split-Layouts & Listen ────────────────────────────────── */

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}
.split-row--reverse > .img-box { order: -1; }
.split-row .btn { margin-top: 1.8rem; }

.img-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}
.img-box img { display: block; width: 100%; }
.img-box--portrait { max-width: 420px; justify-self: center; }

.service-list, .check-list {
    list-style: none;
    margin-top: 1.6rem;
}
.service-list li {
    margin-bottom: 1.2rem;
    padding-left: 1.3rem;
    border-left: 3px solid;
    border-image: var(--grad) 1;
    color: var(--muted);
}
.check-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--muted);
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}
.service-list strong, .check-list strong { color: var(--text); }

/* ── Preise ────────────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    align-items: stretch;
}
.pricing-grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    margin-inline: auto;
}
.price-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.8rem 2.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--grad) border-box;
    box-shadow: var(--shadow);
}
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.price-sub { font-size: 0.95rem; }
.price-val {
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--text);
    margin: 1.2rem 0;
    letter-spacing: -0.03em;
}
.price-val span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-features {
    list-style: none;
    margin-bottom: 2.4rem;
    flex: 1;
}
.price-features li {
    margin-bottom: 0.85rem;
    padding-left: 1.7rem;
    position: relative;
    font-size: 0.98rem;
    color: var(--muted);
}
.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}
.price-features strong { color: var(--text); }

/* ── CTA-Banner ────────────────────────────────────────────── */

.cta-banner {
    background: var(--grad);
    padding: 5rem 0;
}
.cta-inner { text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 55ch;
    margin: 0 auto 2.2rem;
    font-size: 1.1rem;
}

/* ── Kontaktformular ───────────────────────────────────────── */

.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-top: 1rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
    display: block;
    font-weight: 650;
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
}
.form-control {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 99, 224, 0.12);
}
textarea.form-control { min-height: 170px; resize: vertical; }

.form-consent label {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-weight: 450;
    font-size: 0.92rem;
    color: var(--muted);
    cursor: pointer;
}
.form-consent input {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    flex-shrink: 0;
}
.form-hint {
    font-size: 0.85rem;
    margin-top: 1.1rem;
    text-align: center;
}

/* Honeypot: für Menschen unsichtbar, aber nicht display:none
   (manche Bots erkennen das) */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.resp-message {
    max-width: 640px;
    margin: 0 auto 1.6rem;
    padding: 1.1rem 1.6rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}
.resp-message.success {
    background: #eafaf1;
    color: #14683c;
    border: 1px solid #bfe8d1;
}
.resp-message.error {
    background: #fdf0f0;
    color: #8f1d1d;
    border: 1px solid #f2caca;
}
.resp-message p { color: inherit; }

.contact-alt {
    text-align: center;
    margin-top: 2.4rem;
}

/* ── Rechtstexte ───────────────────────────────────────────── */

.legal-text h2 {
    font-size: 1.35rem;
    margin: 2.4rem 0 0.7rem;
}
.legal-text p, .legal-text li { font-size: 1rem; }
.legal-text ul { margin: 0.6rem 0 1rem 1.4rem; color: var(--muted); }
.legal-text a { color: var(--blue); }

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4.5rem 1.5rem 2rem;
}
.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 3rem;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline { color: var(--footer-text); font-size: 0.95rem; }
.footer-heading {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.footer-col a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-copyright {
    max-width: 1180px;
    margin: 3rem auto 0;
    padding-top: 1.6rem;
    border-top: 1px solid #24314a;
    text-align: center;
}
.footer-copyright p { color: #7b8aa1; font-size: 0.85rem; }

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; padding-block: 3rem; text-align: center; }
    .hero-actions, .hero-badges { justify-content: center; }
    .hero-visual { order: -1; max-width: 560px; margin: 0 auto; }
    .split-row { grid-template-columns: 1fr; gap: 2.5rem; }
    .split-row--reverse > .img-box { order: 0; }
    .pricing-grid, .pricing-grid--two { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.6rem;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(15, 27, 45, 0.1);
        display: none;
    }
    .nav-links.open { display: flex; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-card { padding: 1.8rem; }
    .brand-name { font-size: 1.1rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
