/* ============================================
   CABATECH — Elektro-Engineering, Zürich-Altstetten
   Dark Navy + Steel + Electric Blue · Blueprint-Ästhetik
   ============================================ */

:root {
    --bg:           #F2F4F7;
    --bg-alt:       #FFFFFF;
    --bg-dark:      #0C1622;
    --bg-deep:      #070D16;
    --surface:      #E2E8EE;
    --ink:          #101B28;
    --ink-soft:     #2C3947;
    --ink-muted:    #66727F;
    --ink-light:    #8C97A3;
    --line:         #CDD5DD;
    --line-soft:    #DDE3E9;
    --accent:       #2D7DD2;
    --accent-deep:  #1A5697;
    --accent-light: #6FAAE3;
    --steel:        #8C97A3;

    --font-display: 'Manrope', sans-serif;
    --font-body:    'Inter', sans-serif;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }

em { font-family: var(--font-body); font-style: italic; font-weight: 500; color: var(--accent); }
h1 em, h2 em, h3 em, h4 em { display: inline-block; padding-right: 0.08em; }

body { background: var(--bg); }
section { padding: 7rem 0; }

.label-eyebrow {
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.4rem;
    display: flex; align-items: center; gap: 0.85rem;
}
.label-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }

/* === NAV === */
.nav { background: transparent; padding: 1.6rem 0; }
.nav.scrolled {
    background: rgba(12, 22, 34, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.9rem 0;
}
.nav-logo { font-weight: 800; letter-spacing: -0.02em; font-size: 1.3rem; }
.nav-logo .accent { color: var(--accent); }
.nav.scrolled .nav-logo, .nav.scrolled .nav-logo small { color: #fff; }
.nav.scrolled .nav-logo small { color: rgba(255,255,255,0.55); }
.nav.scrolled .nav-links > li > a { color: rgba(255,255,255,0.85); }
.nav.scrolled .nav-links > li > a:hover { color: var(--accent-light); }
.nav.scrolled .nav-cta { border-color: rgba(255,255,255,0.4) !important; color: #fff !important; }
.nav.scrolled .nav-cta:hover { background: #fff !important; color: var(--ink) !important; }
.nav.scrolled .nav-toggle span { background: #fff; }
.nav-links a { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.nav-cta { border-radius: 0 !important; }
@media (max-width: 980px) {
    .nav.scrolled .nav-links.open { background: var(--bg-dark); border-bottom-color: rgba(255,255,255,0.12); }
    .nav-links.open { background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-links.open > li > a { color: rgba(255,255,255,0.9) !important; }
}

/* === HERO — dunkles Blueprint-Feld, typografisch, EXAKT fit-to-screen === */
.hero {
    height: 100vh; max-height: 100vh; min-height: 0;
    background:
        linear-gradient(rgba(45, 125, 210, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 125, 210, 0.05) 1px, transparent 1px),
        radial-gradient(ellipse 70% 55% at 78% 18%, rgba(45, 125, 210, 0.16) 0%, transparent 60%),
        var(--bg-dark);
    background-size: 56px 56px, 56px 56px, auto, auto;
    color: #fff;
    display: flex; align-items: stretch;
    padding: 6.5rem 0 0;
    overflow: hidden;
}
.hero-inner {
    width: 100%; max-width: var(--max-width);
    margin: 0 auto; padding: 1.25rem 2.5rem 0;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; z-index: 2;
}
.hero-main { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--accent-light);
    margin-bottom: 1.75rem;
    opacity: 0; animation: fadeInLeft 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.2s both;
}
.hero-eyebrow::before {
    content: ''; width: 34px; height: 1px; background: var(--accent);
    transform-origin: left center;
    animation: drawX 1.1s cubic-bezier(0.22,0.61,0.36,1) 0.3s both;
}
.hero-eyebrow .sep { color: var(--steel); }

.hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 5.5vw, 5.2rem);
    letter-spacing: -0.045em; line-height: 0.96;
    max-width: 12ch; margin-bottom: 1.5rem;
}
.hero h1 .brand-line { display: block; opacity: 0; animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) both; }
.hero h1 .brand-line:nth-child(1) { animation-delay: 0.3s; }
.hero h1 .brand-line:nth-child(2) { animation-delay: 0.45s; color: var(--accent); }
.hero h1 .brand-line:nth-child(3) { animation-delay: 0.6s; color: var(--steel); }
.hero h1 .brand-underline {
    display: block; height: 3px; background: var(--accent);
    margin-top: 1.25rem;
    animation: underlineDraw 1.2s cubic-bezier(0.22,0.61,0.36,1) 0.85s both;
}
.hero .lead {
    color: rgba(255,255,255,0.78); max-width: 54ch;
    font-size: 1.04rem; margin-bottom: 1.75rem;
    opacity: 0; animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.1s both;
}
.hero-actions {
    display: flex; align-items: center; gap: 0;
    opacity: 0; animation: fadeInUp 1s cubic-bezier(0.22,0.61,0.36,1) 1.35s both;
}
.hero-actions .btn {
    background: var(--accent); color: #fff;
    border-radius: 0; padding: 1.05rem 2.4rem;
    font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
    transition: background 250ms;
}
.hero-actions .btn:hover { background: var(--accent-deep); transform: none; }
.hero-actions .secondary {
    margin-left: 2rem;
    font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid var(--steel); padding-bottom: 0.35rem;
}
.hero-actions .secondary:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* technische Spec-Spalte rechts */
.hero-specs {
    display: flex; flex-direction: column; gap: 0;
    border-left: 1px solid rgba(255,255,255,0.14);
    min-width: 240px;
    opacity: 0; animation: fadeInRight 1.1s cubic-bezier(0.22,0.61,0.36,1) 0.7s both;
}
.hero-specs .spec {
    padding: 1.4rem 0 1.4rem 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
.hero-specs .spec::before {
    content: ''; position: absolute; left: -3.5px; top: 50%;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); transform: translateY(-50%);
    animation: nodePulse 6s ease-in-out infinite;
}
.hero-specs .spec:nth-child(2)::before { animation-delay: 2s; }
.hero-specs .spec:nth-child(3)::before { animation-delay: 4s; }
.hero-specs .spec:last-child { border-bottom: none; }
.hero-specs .k {
    font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--steel); font-weight: 600; margin-bottom: 0.35rem;
}
.hero-specs .v { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; }

/* Stat-Zeile unten im Hero — Bestandteil des 100vh-Layouts (statt Marquee) */
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-top: 1.5rem;
    opacity: 0; animation: fadeIn 0.8s ease-out 1.5s both;
}
.hero-stats::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(255,255,255,0.2) 45%, rgba(255,255,255,0.12) 100%);
    transform-origin: left center;
    animation: drawX 2.2s cubic-bezier(0.22,0.61,0.36,1) 1.7s both;
}
.hero-stats .stat { padding: 1.5rem 2rem 1.75rem 0; position: relative; }
.hero-stats .stat + .stat { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2rem; }
.hero-stats .stat::before {
    content: ''; position: absolute; top: -3px; left: 0;
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light);
    opacity: 0;
    animation: nodeIn 0.5s ease-out forwards, nodePulse 5.5s ease-in-out infinite;
}
.hero-stats .stat:nth-child(1)::before { animation-delay: 2.3s, 2.8s; }
.hero-stats .stat:nth-child(2)::before { animation-delay: 2.6s, 3.4s; left: 2rem; }
.hero-stats .stat:nth-child(3)::before { animation-delay: 2.9s, 4s; left: 2rem; }
.hero-stats .num {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -0.04em;
    color: var(--accent-light); line-height: 1;
}
.hero-stats .lbl {
    font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--steel); font-weight: 600; margin-top: 0.5rem;
}

/* kurze Notebooks (1280×800): Hero-Inhalt kompakter, bleibt in 100vh */
@media (min-width: 981px) and (max-height: 840px) {
    .hero { padding-top: 5.5rem; }
    .hero-inner { padding-top: 0.75rem; }
    .hero-eyebrow { margin-bottom: 1.1rem; }
    .hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 1rem; }
    .hero h1 .brand-underline { margin-top: 0.9rem; }
    .hero .lead { font-size: 0.96rem; margin-bottom: 1.3rem; max-width: 58ch; }
    .hero-specs .spec { padding: 1rem 0 1rem 1.6rem; }
    .hero-stats .stat { padding: 1.1rem 1.5rem 1.25rem 0; }
    .hero-stats .num { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
    .hero-stats .lbl { font-size: 0.68rem; }
}

/* === SCHALTKREIS-SIGNATURE — stille Linien mit Punkt-Knoten an Section-Rändern === */
.circuit-edge { width: 220px; height: 1px; background: var(--line); margin: 0 auto 4.25rem; position: relative; }
.circuit-edge::before, .circuit-edge::after {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%);
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.circuit-edge::before { left: -3px; }
.circuit-edge::after { right: -3px; animation: nodePulse 6s ease-in-out 1.5s infinite; }

/* === INTRO / PROFIL === */
.intro-section { background: var(--bg); padding: 7.5rem 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
.intro-grid h2 { color: var(--ink); }
.intro-grid h2 em { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent); }
.intro-copy p { margin-bottom: 1.25rem; font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); }
.intro-copy p:last-of-type { margin-bottom: 0; }
.intro-points { margin-top: 2rem; border-top: 1px solid var(--line); }
.intro-points li {
    padding: 0.85rem 0 0.85rem 1.9rem; border-bottom: 1px solid var(--line);
    font-size: 0.95rem; color: var(--ink-soft); position: relative;
}
.intro-points li::before {
    content: ''; position: absolute; left: 0; top: 1.35rem;
    width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg);
}

/* === LEISTUNGEN — 6 Karten mit Bild === */
.services-section { background: var(--bg-alt); padding: 7.5rem 0; }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.services-head h2 { color: var(--ink); }
.services-head h2 em { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent); }
.services-head p { color: var(--ink-muted); font-size: 1.02rem; max-width: 46ch; }
.services-grid-c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card {
    background: var(--bg); border: 1px solid var(--line-soft);
    display: flex; flex-direction: column;
    transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.svc-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,27,40,0.08); }
.svc-img { aspect-ratio: 3/2; overflow: hidden; background: var(--surface); position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-img .svc-num {
    position: absolute; bottom: 0; right: 0;
    background: var(--bg-dark); color: var(--accent-light);
    font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
    padding: 0.45rem 1rem; letter-spacing: 0.08em;
}
.svc-body { padding: 1.75rem 1.75rem 2rem; flex: 1; }
.svc-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.svc-body p { font-size: 0.92rem; line-height: 1.6; color: var(--ink-muted); }

/* === ZAHLEN-BAND (dark) === */
.numbers-band {
    background:
        linear-gradient(rgba(45,125,210,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,125,210,0.05) 1px, transparent 1px),
        var(--bg-dark);
    background-size: 56px 56px, 56px 56px, auto;
    color: #fff; padding: 6rem 0;
}
.numbers-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.numbers-grid .cell { padding: 2.75rem 2.5rem 0 0; }
.numbers-grid .cell + .cell { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2.5rem; }
.numbers-grid .big {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(3rem, 6.5vw, 5.5rem); letter-spacing: -0.05em;
    line-height: 0.95; color: var(--accent-light);
}
.numbers-grid h3 { color: #fff; font-size: 1.15rem; margin: 1rem 0 0.6rem; font-weight: 700; }
.numbers-grid p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.numbers-head { margin-bottom: 3.5rem; max-width: 640px; }
.numbers-head .label-eyebrow { color: var(--accent-light); }
.numbers-head .label-eyebrow::before { background: var(--accent-light); }
.numbers-head h2 { color: #fff; }
.numbers-head h2 em { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent-light); }

/* === REFERENZEN === */
.ref-section { background: var(--bg); padding: 7.5rem 0; }
.ref-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.ref-head h2 { color: var(--ink); }
.ref-head h2 em { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent); }
.ref-head p { color: var(--ink-muted); max-width: 44ch; }
.ref-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.ref-group {
    background: var(--bg-alt); border: 1px solid var(--line-soft);
    border-top: 3px solid var(--accent);
    padding: 2.25rem 2rem;
}
.ref-group .g-num {
    font-family: var(--font-display); font-size: 0.78rem; font-weight: 800;
    letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.6rem;
}
.ref-group h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 1.4rem; letter-spacing: -0.02em; }
.ref-group ul { border-top: 1px solid var(--line-soft); }
.ref-group li {
    padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft);
    font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft);
}
.ref-group li strong { color: var(--ink); font-weight: 600; }
.ref-group li .loc { color: var(--ink-muted); font-size: 0.82rem; display: block; }
.ref-more {
    margin-top: 2.5rem; text-align: center;
    font-size: 0.92rem; color: var(--ink-muted);
}
.ref-more strong { color: var(--ink); }

/* === MANIFESTO === */
.manifesto { background: var(--surface); padding: 8rem 0; position: relative; }
.manifesto::before {
    content: '//'; position: absolute; top: 2.5rem; left: 50%; transform: translateX(-50%);
    font-family: var(--font-display); font-size: 11rem; font-weight: 800;
    color: var(--accent); opacity: 0.12; line-height: 1; pointer-events: none;
    letter-spacing: -0.08em;
}
.manifesto blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.8vw, 2.9rem); font-weight: 700;
    line-height: 1.22; text-align: center; max-width: 30ch;
    margin: 0 auto; color: var(--ink); letter-spacing: -0.03em;
    position: relative; z-index: 1;
}
.manifesto blockquote em { font-family: var(--font-body); font-style: italic; font-weight: 500; color: var(--accent-deep); }
.manifesto cite {
    display: block; margin-top: 2.5rem; text-align: center;
    font-style: normal; font-size: 0.72rem; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--accent-deep); font-weight: 600;
}

/* === TEAM === */
.team-section { background: var(--bg-alt); padding: 7.5rem 0; }
.team-head { max-width: 720px; margin-bottom: 3.5rem; }
.team-head h2 { color: var(--ink); }
.team-head h2 em { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent); }
.team-head p { color: var(--ink-muted); margin-top: 1rem; max-width: 52ch; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { background: var(--bg); border: 1px solid var(--line-soft); }
.team-card .img-wrap { aspect-ratio: 3/2; overflow: hidden; background: var(--surface); }
.team-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: filter 400ms ease; }
.team-card:hover .img-wrap img { filter: grayscale(0); }
.team-card .t-body { padding: 1.4rem 1.5rem 1.6rem; }
.team-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.team-card .role { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.45; margin-bottom: 0.7rem; min-height: 2.4em; }
.team-card .tel { font-size: 0.8rem; font-weight: 600; color: var(--accent-deep); letter-spacing: 0.02em; }
.team-card .tel a:hover { color: var(--accent); }

/* === KONTAKT === */
.contact-section { background: var(--bg); padding: 7.5rem 0; }
.contact-grid-c { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: stretch; }
.contact-info-block h2 { color: var(--ink); margin-bottom: 1.5rem; }
.contact-info-block h2 em { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent); }
.contact-info-block > p { font-size: 1.02rem; color: var(--ink-soft); max-width: 42ch; }
.contact-rows { margin-top: 2.25rem; border-top: 1px solid var(--ink); }
.contact-row {
    display: grid; grid-template-columns: 130px 1fr; gap: 2rem;
    padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.contact-row .label {
    font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-muted); font-weight: 600;
}
.contact-row .value { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
.contact-row a:hover { color: var(--accent); }
.contact-map-c { min-height: 460px; overflow: hidden; background: var(--surface); }
.contact-map-c iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.08) brightness(1.03); }

/* === FINAL CTA === */
.final-cta { background: var(--accent); color: #fff; padding: 7rem 0; position: relative; overflow: hidden; }
.final-cta::before {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .label-eyebrow { color: rgba(255,255,255,0.75); }
.final-cta .label-eyebrow::before { background: rgba(255,255,255,0.75); }
.final-cta h2 { color: #fff; max-width: 19ch; margin-bottom: 1.5rem; padding-right: 0.3em; }
.final-cta h2 em {
    color: #fff; font-family: var(--font-body); font-style: italic; font-weight: 500;
    display: inline-block; padding-right: 0.2em;
}
.final-cta .lead { color: rgba(255,255,255,0.82); max-width: 50ch; margin-bottom: 2.5rem; font-size: 1.05rem; }
.final-cta .btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.final-cta .btn-primary {
    background: var(--bg-dark); color: #fff !important;
    padding: 1.15rem 2.5rem; border-radius: 0;
    font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
    transition: background 250ms;
}
.final-cta .btn-primary:hover { background: var(--bg-deep); transform: none; }
.final-cta .btn-secondary {
    color: #fff; margin-left: 2.5rem;
    font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.7); padding-bottom: 0.4rem;
}
.final-cta .btn-secondary:hover { opacity: 0.75; }

/* === FOOTER === */
.footer { background: var(--bg-deep); color: var(--ink-light); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.footer h4 .accent { color: var(--accent-light); }
.footer h5 { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-bottom: 1.1rem; }
.footer p { color: rgba(255,255,255,0.5); font-size: 0.92rem; }
.footer ul li { padding: 0.3rem 0; font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer ul a { color: rgba(255,255,255,0.65); }
.footer ul a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.75rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* === PLACEHOLDER === */
.placeholder-banner { background: rgba(45,125,210,0.07); border-left: 3px solid var(--accent); border-radius: 0; }

/* === ANIMATION KEYFRAMES === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes underlineDraw { from { width: 0; } to { width: 72px; } }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes nodePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(0.22,0.61,0.36,1), transform 900ms cubic-bezier(0.22,0.61,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1180px) {
    .hero-specs { min-width: 200px; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .ref-groups { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 980px) {
    section, .intro-section, .services-section, .ref-section, .team-section, .contact-section { padding: 5rem 0; }
    .hero { height: auto; max-height: none; min-height: 0; padding-top: 6.5rem; padding-bottom: 0; }
    .hero-main { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-specs { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); flex-direction: row; flex-wrap: wrap; }
    .hero-specs .spec { padding: 1.1rem 2rem 1.1rem 0; border-bottom: none; flex: 1 1 160px; }
    .hero-specs .spec::before { display: none; }
    .hero-stats { margin-top: 2.5rem; }
    .hero-stats .stat { padding: 1.25rem 1rem 1.5rem 0; }
    .hero-stats .stat + .stat { padding-left: 1.25rem; }
    .hero-stats .stat:nth-child(2)::before, .hero-stats .stat:nth-child(3)::before { left: 1.25rem; }
    .intro-grid, .services-head, .ref-head, .contact-grid-c { grid-template-columns: 1fr; gap: 2.5rem; }
    .services-grid-c { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid { grid-template-columns: 1fr; }
    .numbers-grid .cell { padding: 2rem 0 !important; border-left: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .circuit-edge { margin-bottom: 3rem; }
    .contact-map-c { min-height: 340px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .hero { padding-top: 5.5rem; }
    .hero-inner { padding: 1rem 1.25rem 0; }
    .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .hero-actions .secondary { margin-left: 0; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stats .stat { border-left: none !important; padding: 1.1rem 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hero-stats .stat::before { display: none; }
    .services-grid-c { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .circuit-edge { width: 160px; }
    .contact-row { grid-template-columns: 1fr; gap: 0.4rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .final-cta .btn-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .final-cta .btn-secondary { margin-left: 0; }
}
