/* =============================================================================
   netQ10 GmbH — Website
   Cyan/Navy-Design (netQ10-Hausfarben). Portabel aus TalentQ tq-modern.
   Struktur: Tokens · Base · Layout · Topbar · Hero · Cards · Sektionen · Footer
   ============================================================================= */

/* ===== Design-Tokens ===== */
:root {
    --navy:        #0F172A;
    --navy-2:      #1E293B;
    --navy-3:      #334155;
    --cyan:        #06B6D4;
    --cyan-dark:   #0891B2;
    --cyan-light:  #67E8F9;
    --cyan-bg:     #ECFEFF;
    --cyan-bg-soft:#F0F9FF;

    --text:        #0F172A;
    --text-body:   #334155;
    --text-muted:  #64748B;
    --text-soft:   #94A3B8;

    --surface:     #FFFFFF;
    --surface-alt: #F8FAFC;
    --border:      #E2E8F0;
    --border-soft: #F1F5F9;

    --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
    --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.04);
    --shadow-lg: 0 10px 15px -3px rgba(15,23,42,.10), 0 4px 6px -4px rgba(15,23,42,.08);
    --shadow-pop:0 12px 24px -6px rgba(6,182,212,.18), 0 4px 8px -2px rgba(15,23,42,.12);

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 18px;

    --wrap: 1180px;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-body);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--text); line-height: 1.2; margin: 0; }
p  { margin: 0; }
a  { color: var(--cyan-dark); text-decoration: none; }
img, svg { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p  { color: var(--text-muted); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: .95rem; cursor: pointer;
    border: 1px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-1px); box-shadow: var(--shadow-pop); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-dark); background: var(--cyan-bg-soft); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }

/* ===== Topbar ===== */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15,23,42,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
/* Original-Logo (eigene Farben) als abgerundete Kachel auf dunklem Grund */
.brand-logo {
    height: 46px; width: auto; display: block;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    transition: transform .15s, box-shadow .15s;
}
.brand:hover .brand-logo { transform: translateY(-1px); box-shadow: var(--shadow-pop); }
.brand-logo-lg { height: 54px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav-item {
    color: #CBD5E1; font-weight: 500; font-size: .95rem;
    padding: 8px 14px; border-radius: var(--radius-sm); transition: color .15s, background .15s;
}
.nav a.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav .btn { margin-left: 8px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger svg { width: 26px; height: 26px; color: #fff; }

/* ===== Hero ===== */
.hero {
    position: relative; overflow: hidden;
    background-color: var(--navy);
    /* Abdunkeln links (Textbereich) über der Technik-Grafik rechts */
    background-image:
        linear-gradient(90deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.62) 42%, rgba(15,23,42,.12) 100%),
        url('../assets/hero-bg.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: center, center right;
    background-size: cover, cover;
    color: #E2E8F0;
    padding: 96px 0 104px;
}
.hero .wrap { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--cyan-light); }
.hero .lead { font-size: 1.2rem; color: #CBD5E1; max-width: 640px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Weisses transparentes Logo im Hero — ohne Kasten, sauber lesbar auf dunklem Grund */
.hero-logo { width: min(600px, 92%); height: auto; margin-bottom: 32px; }

/* ===== Card-Grid (generisch) ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CBD5E1; }
.card-icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: grid; place-items: center; margin-bottom: 18px;
    background: var(--cyan-bg); color: var(--cyan-dark);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p  { color: var(--text-muted); font-size: .95rem; }

/* ===== Software-Suite (Modul-Kacheln im App-Stil) ===== */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
    gap: 18px;
}
.module-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 22px;
    box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #CBD5E1; }
.module-icon {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.module-icon svg { width: 24px; height: 24px; }
.mi-cyan   { background: linear-gradient(140deg, #22D3EE, #0891B2); }
.mi-orange { background: linear-gradient(140deg, #FB923C, #EA580C); }
.mi-green  { background: linear-gradient(140deg, #34D399, #059669); }
.mi-purple { background: linear-gradient(140deg, #A78BFA, #7C3AED); }
.mi-rose   { background: linear-gradient(140deg, #FB7185, #E11D48); }
/* externe Produkt-Kachel (verlinkt) */
a.module-card { text-decoration: none; color: inherit; }
a.module-card .module-head h3::after { content: " ↗"; color: var(--cyan-dark); font-weight: 600; }
.module-body { min-width: 0; }
.module-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.module-head h3 { font-size: 1.08rem; }
.module-card p { color: var(--text-muted); font-size: .88rem; }
.module-more { text-align: center; margin-top: 22px; }
.module-more a { font-weight: 600; color: var(--cyan-dark); font-size: .95rem; }
.module-more a:hover { color: var(--cyan); }

/* Hinweis: alles kundenspezifisch */
.custom-banner {
    display: flex; align-items: center; gap: 16px;
    max-width: 880px; margin: 32px auto 0;
    background: linear-gradient(135deg, var(--cyan-bg) 0%, var(--cyan-bg-soft) 100%);
    border: 1px solid #BAE6FD; border-left: 4px solid var(--cyan);
    border-radius: var(--radius); padding: 18px 24px;
}
.custom-banner svg { width: 30px; height: 30px; color: var(--cyan-dark); flex-shrink: 0; }
.custom-banner p { color: var(--text-body); font-size: .96rem; }
.custom-banner strong { color: var(--cyan-dark); }

/* ===== Support / Fernwartung ===== */
.support {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #E2E8F0;
}
.support .section-head h2 { color: #fff; }
.support .section-head p { color: #94A3B8; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.support-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg); padding: 30px; text-align: center;
    transition: border-color .2s, transform .2s;
}
.support-card:hover { border-color: rgba(103,232,249,.4); transform: translateY(-4px); }
.support-card .tool-icon {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
    display: grid; place-items: center; background: rgba(6,182,212,.15); color: var(--cyan-light);
}
.support-card .tool-icon svg { width: 28px; height: 28px; }
.support-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.support-card p { color: #94A3B8; font-size: .92rem; margin-bottom: 20px; min-height: 44px; }
.support-note {
    margin-top: 34px; text-align: center; color: #94A3B8; font-size: .95rem;
    display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.support-note strong { color: var(--cyan-light); }

/* ===== Über uns ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-grid ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-grid li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-body); }
.about-grid li svg { width: 22px; height: 22px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--cyan-dark); letter-spacing: -.02em; }
.stat .lbl { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }

/* ===== Kontakt ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info .ci-row { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.contact-info .ci-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--cyan-bg); color: var(--cyan-dark);
}
.contact-info .ci-icon svg { width: 20px; height: 20px; }
.contact-info .ci-label { font-size: .82rem; color: var(--text-muted); }
.contact-info .ci-value { font-weight: 600; color: var(--text); font-size: 1.02rem; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-body); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font: inherit; color: var(--text); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
/* Honeypot: für Menschen komplett unsichtbar, nur Bots füllen es aus */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-captcha { max-width: 260px; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: #94A3B8; padding: 56px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer p { font-size: .92rem; max-width: 320px; }
.footer h4 { color: #E2E8F0; font-size: .95rem; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #94A3B8; font-size: .92rem; }
.footer a:hover { color: var(--cyan-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem;
}

/* ===== Aktuelles / News (Teaser auf Startseite) ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.news-card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px;
    box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CBD5E1; }
.news-date { font-size: .8rem; font-weight: 600; color: var(--cyan-dark); margin-bottom: 8px; }
.news-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.news-card p { color: var(--text-muted); font-size: .94rem; }
.news-more { text-align: center; margin-top: 30px; }
.news-more a { font-weight: 600; color: var(--cyan-dark); }
.news-more a:hover { color: var(--cyan); }

/* ===== Slim-Header (Unterseiten) ===== */
.subheader .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* ===== Rechts-/Inhalts-Seiten (Prosa) ===== */
.page { padding: 56px 0 80px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.page h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.page .lead-sub { color: var(--text-muted); margin-bottom: 40px; }
.page h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.page p { margin-bottom: 14px; }
.page ul { margin: 0 0 14px; padding-left: 20px; }
.page li { margin-bottom: 7px; }
.page a { color: var(--cyan-dark); text-decoration: underline; }
.page a:hover { color: var(--cyan); }
.data-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 6px 0 20px; }
.data-list dt { color: var(--text-muted); font-size: .92rem; }
.data-list dd { margin: 0; font-weight: 600; color: var(--text); font-size: .95rem; }
.note-box {
    background: var(--surface-alt); border: 1px solid var(--border); border-left: 4px solid var(--cyan);
    border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0; font-size: .9rem; color: var(--text-muted);
}
.article { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.article:last-child { border-bottom: 0; }

/* ===== Formular-Status ===== */
.form-status { font-size: .92rem; padding: 12px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.ok  { display: block; background: #DCFCE7; color: #15803D; border: 1px solid #86EFAC; }
.form-status.err { display: block; background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* ===== Scroll-Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .nav { display: none; }
    .burger { display: block; }
    .nav.open {
        display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
        align-items: stretch; gap: 4px; padding: 14px 20px 20px;
        background: var(--navy-2); border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .nav.open a.nav-item { padding: 12px 14px; }
    .nav.open .btn { margin: 8px 0 0; justify-content: center; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer .cols { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 64px 0; }
}
@media (max-width: 520px) {
    .brand-logo { height: 36px; }
    .custom-banner { flex-direction: column; text-align: center; gap: 10px; }
    .form .row { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .product { grid-template-columns: 1fr; }
    .hero { padding: 72px 0 80px; }
}
