/* ============================================================
   C72 HOSTING — code72.de
   Zwilling zu c72security.de (exakte Tokens uebernommen).
   Fonts: IBM Plex Mono + Source Sans 3.
   HINWEIS DSGVO: aktuell via Google-Fonts-CDN (wie das Original).
   Empfehlung Schritt 2: beide Fonts self-hosten (siehe index.html).
   ============================================================ */

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

:root{
  --bg-primary:#0d0d0d;
  --bg-secondary:#141414;
  --bg-card:#1a1a1a;
  --bg-card-hover:#222;
  --red:#e63946;
  --green:#00cc66;
  --green-glow:rgba(0,204,102,.12);
  --green-border:rgba(0,204,102,.3);
  --text-primary:#eaeaea;
  --text-secondary:#999;
  --text-muted:#5a5a5a;
  --border:#2a2a2a;
  --font-body:'Source Sans 3',sans-serif;
  --font-mono:'IBM Plex Mono',monospace;
}

html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  background:var(--bg-primary);
  color:var(--text-primary);
  line-height:1.7; font-size:17px;
  -webkit-font-smoothing:antialiased;
}
/* CRT-Scanline-Overlay */
body::before{
  content:''; position:fixed; inset:0;
  background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,204,102,.008) 2px,rgba(0,204,102,.008) 4px);
  pointer-events:none; z-index:0;
}

.logo-c72{ color:var(--green); }
.logo-host{ color:var(--red); }

/* ---------- Navigation ---------- */
nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(13,13,13,.9); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border); padding:0 2rem;
}
.nav-inner{ max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; height:70px; }
.nav-logo{ display:flex; align-items:center; text-decoration:none; }
.nav-logo svg{ height:28px; width:auto; }
.nav-links{ display:flex; gap:2rem; list-style:none; }
.nav-links a{ color:var(--text-secondary); text-decoration:none; font-size:.9rem; letter-spacing:.3px; transition:color .3s; }
.nav-links a:hover{ color:var(--green); }
.nav-contact{
  font-family:var(--font-mono); font-size:.82rem; color:var(--green);
  border:1px solid var(--green-border); padding:.5rem 1.2rem;
  text-decoration:none; transition:all .3s;
}
.nav-contact:hover{ background:var(--green-glow); border-color:var(--green); }
.nav-menu{ display:flex; align-items:center; gap:2rem; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:34px; height:34px; padding:6px; background:none; border:none; cursor:pointer;
}
.nav-toggle span{ display:block; width:100%; height:2px; border-radius:2px; background:var(--text-primary); transition:transform .3s, opacity .3s; }
nav.open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2){ opacity:0; }
nav.open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

section{ position:relative; z-index:1; }
.container{ max-width:1100px; margin:0 auto; padding:0 2rem; }

/* ---------- Hero ---------- */
.hero{ min-height:100vh; display:flex; align-items:center; padding-top:70px; position:relative; }
.hero::before{ content:''; position:absolute; left:0; top:15%; bottom:15%; width:3px; background:linear-gradient(180deg,transparent,var(--green),transparent); }
.hero-content{ max-width:760px; }
.hero-tag{ font-family:var(--font-mono); font-size:.82rem; color:var(--green); letter-spacing:2px; text-transform:uppercase; margin-bottom:1.5rem; opacity:0; animation:fadeUp .8s .2s forwards; }
.hero h1{ font-size:clamp(2.2rem,5vw,3.4rem); font-weight:700; line-height:1.15; margin-bottom:1.5rem; opacity:0; animation:fadeUp .8s .4s forwards; }
.hero h1 em{ font-style:normal; color:var(--green); }
.hero-text{ font-size:1.15rem; color:var(--text-secondary); max-width:620px; margin-bottom:2.5rem; font-weight:300; opacity:0; animation:fadeUp .8s .6s forwards; }
.hero-certs{ display:flex; gap:1rem; flex-wrap:wrap; opacity:0; animation:fadeUp .8s .8s forwards; }
.cert-badge{ display:flex; align-items:center; gap:.6rem; font-family:var(--font-mono); font-size:.78rem; color:var(--text-secondary); background:var(--bg-card); border:1px solid var(--border); padding:.55rem 1rem; letter-spacing:.3px; }
.cert-dot{ width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); }
.cert-dot.red{ background:var(--red); box-shadow:0 0 8px var(--red); }

/* ---------- Buttons ---------- */
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:2.5rem; opacity:0; animation:fadeUp .8s 1s forwards; }
.hero-actions.center{ justify-content:center; }
.btn{ font-family:var(--font-mono); font-size:.82rem; letter-spacing:1.5px; text-transform:uppercase; padding:.9rem 1.8rem; text-decoration:none; border:1px solid var(--green); transition:all .3s; display:inline-block; }
.btn-solid{ background:var(--green); color:var(--bg-primary); }
.btn-solid:hover{ background:#00e673; }
.btn-outline{ background:transparent; color:var(--green); }
.btn-outline:hover{ background:var(--green-glow); }

/* ---------- Section-Headings ---------- */
.section-label{ font-family:var(--font-mono); font-size:.78rem; color:var(--green); letter-spacing:2px; text-transform:uppercase; margin-bottom:1rem; }
.section-title{ font-size:clamp(1.8rem,3.5vw,2.4rem); font-weight:700; margin-bottom:1rem; line-height:1.2; }
.section-subtitle{ color:var(--text-secondary); font-size:1.05rem; font-weight:300; max-width:600px; margin-bottom:4rem; }

/* ---------- Services ---------- */
.services{ padding:8rem 0; }
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.5rem; }
.service-card{ background:var(--bg-card); border:1px solid var(--border); padding:2.5rem 2rem; transition:all .4s; border-left:3px solid transparent; }
.service-card:hover{ border-color:var(--border); border-left-color:var(--green); background:var(--bg-card-hover); transform:translateY(-3px); }
.service-icon{ font-family:var(--font-mono); font-size:.72rem; font-weight:600; color:var(--green); background:var(--green-glow); padding:.45rem .8rem; display:inline-block; margin-bottom:1.5rem; letter-spacing:1.5px; border:1px solid var(--green-border); }
.service-card h3{ font-size:1.2rem; font-weight:600; margin-bottom:.8rem; }
.service-card p{ color:var(--text-secondary); font-size:.95rem; font-weight:300; line-height:1.7; }

/* ---------- About / Profil ---------- */
.about{ padding:6rem 0 8rem; }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.about-text p{ color:var(--text-secondary); font-weight:300; margin-bottom:1.2rem; }
.about-text strong{ color:var(--text-primary); font-weight:600; }
.stats-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.stat-card{ background:var(--bg-card); border:1px solid var(--border); padding:1.8rem 1.5rem; text-align:center; transition:border-color .3s; }
.stat-card:hover{ border-color:var(--green-border); }
.stat-number{ font-family:var(--font-mono); font-size:2rem; font-weight:700; color:var(--green); margin-bottom:.3rem; }
.stat-number.red{ color:var(--red); }
.stat-label{ font-size:.82rem; color:var(--text-muted); letter-spacing:.5px; text-transform:uppercase; }

/* ---------- Infrastruktur-Liste ---------- */
.certifications{ padding:6rem 0 8rem; }
.cert-list{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1rem; }
.cert-item{ display:flex; align-items:center; gap:1rem; padding:1.2rem 1.5rem; background:var(--bg-card); border:1px solid var(--border); transition:border-color .3s; }
.cert-item:hover{ border-color:var(--green-border); }
.cert-item-icon{ width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.cert-item-icon.green{ background:var(--green); box-shadow:0 0 8px var(--green); }
.cert-item-icon.red{ background:var(--red); box-shadow:0 0 8px rgba(230,57,70,.5); }
.cert-item-icon.amber{ background:#f59e0b; box-shadow:0 0 8px rgba(245,158,11,.4); }
.cert-item-text{ font-size:.9rem; font-weight:400; }
.cert-item-issuer{ font-size:.78rem; color:var(--text-muted); font-family:var(--font-mono); }

/* ---------- Kontakt ---------- */
.contact{ padding:8rem 0; border-top:1px solid var(--border); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.contact-info p{ color:var(--text-secondary); font-weight:300; margin-bottom:2rem; }
.contact-row{ display:flex; align-items:center; margin-bottom:.8rem; font-size:.95rem; }
.contact-icon{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; background:var(--green); color:var(--bg-primary); font-family:var(--font-mono); font-size:.65rem; font-weight:700; margin-right:.6rem; flex-shrink:0; }
.contact-row a{ color:var(--text-primary); text-decoration:none; transition:color .3s; }
.contact-row a:hover{ color:var(--green); }

/* ---------- Footer ---------- */
footer{ border-top:1px solid var(--border); padding:2.5rem 0; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-text{ font-size:.82rem; color:var(--text-muted); }
.footer-links{ display:flex; gap:2rem; list-style:none; }
.footer-links a{ font-size:.82rem; color:var(--text-muted); text-decoration:none; transition:color .3s; }
.footer-links a:hover{ color:var(--green); }

/* ---------- Animationen ---------- */
@keyframes fadeUp{ from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fade-in{ opacity:0; transform:translateY(25px); transition:opacity .7s,transform .7s; }
.fade-in.visible{ opacity:1; transform:translateY(0); }

/* ---------- Responsive ---------- */
@media(max-width:768px){
  .nav-toggle{ display:flex; }
  .nav-menu{
    position:absolute; top:70px; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:1.2rem;
    background:rgba(13,13,13,.98); backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border);
    padding:1.5rem 2rem; display:none;
  }
  nav.open .nav-menu{ display:flex; }
  .nav-links{ flex-direction:column; gap:1.2rem; width:100%; }
  .nav-links a{ font-size:1rem; }
  .nav-contact{ width:100%; text-align:center; }
  .about-grid,.contact-grid{ grid-template-columns:1fr; gap:2.5rem; }
  .services-grid{ grid-template-columns:1fr; }
  .hero{ min-height:auto; padding:8rem 0 4rem; }
  .hero::before{ display:none; }
  .hero-certs{ flex-direction:column; align-items:flex-start; }
}
@media(max-width:480px){
  body{ font-size:16px; }
  .container{ padding:0 1.2rem; }
  .stats-grid{ grid-template-columns:1fr; }
}
