/* ============================================================
   Neting Informatika — modern redesign
   ============================================================ */
:root {
  --brand: #f4a531;
  --brand-dark: #d98a14;
  --brand-soft: #fdf3e3;
  --green: #5fae64;
  --ink: #1d232a;
  --ink-soft: #4e595f;
  --muted: #7a8590;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --card: #ffffff;
  --line: #e8ebef;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(20, 30, 40, .06);
  --shadow-md: 0 14px 40px rgba(20, 30, 40, .12);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }

/* ---------- typography ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(244, 165, 49, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244, 165, 49, .45); }
.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); transform: translateY(-2px); }

/* ---------- navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo img { height: 40px; width: auto; }
.nav .logo { padding: 6px 0; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(244, 165, 49, .18); color: var(--brand-dark); }
.nav-links a.lang {
  border: 1.5px solid var(--line);
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px; position: relative;
  transition: all .25s ease;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }

/* ---------- about / skillgo split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.split .visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.split .visual:hover img { transform: scale(1.04); }
.split .copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; line-height: 1.25; }
.split + .split { margin-top: 80px; }
.split .visual-logo { background: var(--brand-soft); display: flex; align-items: center; }
.split .visual-logo img { object-fit: contain; padding: 40px; }
.split .copy p { color: var(--ink-soft); margin-bottom: 16px; }
.split .copy .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 22px;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -.01em; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  background: #fff;
}
.work img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.work:hover img { transform: scale(1.06); }
.work .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,22,30,.85) 0%, rgba(15,22,30,.1) 55%, transparent 100%);
  display: flex; align-items: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity .3s ease;
}
.work:hover .overlay { opacity: 1; }
.work .overlay h4 { color: #fff; font-size: 1.05rem; font-weight: 700; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 14, 18, .92);
  display: none;
  align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox figcaption { color: rgba(255,255,255,.85); text-align: center; margin-top: 16px; font-weight: 600; }
.lightbox .close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ---------- marquee (partners & awards) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll 90s linear infinite;
  padding: 10px 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 64px; width: auto; max-width: 170px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s ease, opacity .3s ease;
}
.marquee-track img:hover { filter: none; opacity: 1; }
.marquee.awards .marquee-track img { height: 92px; filter: none; opacity: .95; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute; top: 6px; left: 22px;
  font-size: 4.6rem; line-height: 1;
  color: var(--brand);
  opacity: .35;
  font-family: Georgia, serif;
}
.quote p { color: var(--ink-soft); font-size: .96rem; margin-top: 22px; font-style: italic; }
.quote footer { margin-top: 18px; font-weight: 700; color: var(--brand-dark); font-size: .9rem; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 28px; }
.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.post .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--brand-dark); }
.post p { color: var(--muted); font-size: .93rem; flex: 1; }
.post .more { margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--brand-dark); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 8px; }
.contact-list li {
  display: flex; align-items: center; gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.contact-list .ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list span { color: var(--ink-soft); font-weight: 600; }
.contact-list a { color: var(--ink-soft); font-weight: 600; }
.contact-list a:hover { color: var(--brand-dark); }

.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(244, 165, 49, .15);
}
.form textarea { resize: vertical; min-height: 150px; }

/* ---------- certifications ---------- */
.cert-card {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px 48px;
}
.cert-live { flex: 0 0 auto; display: block; }
.cert-live img {
  width: 190px;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert-live img:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-logo { margin-bottom: 14px; }
.cert-logo img { height: 24px; width: auto; }
.cert-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: #a97b00;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.cert-body p { color: var(--ink-soft); }

@media (max-width: 960px) {
  .cert-card { flex-direction: column; text-align: center; gap: 28px; padding: 32px 24px; }
  .cert-logo img { margin-inline: auto; }
}

/* ---------- reference categories (partners) ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.ref-cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
}
.ref-cat h4 { font-size: .95rem; font-weight: 800; margin-bottom: 10px; }
.ref-cat p { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; }
.ref-wide { grid-column: 1 / -1; }
.ref-logos { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; margin-top: 14px; }
.ref-logos img { height: 32px; width: auto; max-width: 150px; object-fit: contain; }
.ref-logos img.tall { height: 48px; }
.ref-chip {
  font-size: .82rem; font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}
.ref-note { text-align: center; color: var(--muted); font-style: italic; margin-top: 28px; }
@media (max-width: 960px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .ref-grid { grid-template-columns: 1fr; } }

/* ---------- news ---------- */
.post .date { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.thumb-contain img { object-fit: contain !important; padding: 24px; background: #fff; }
.all-news { text-align: center; margin-top: 44px; }

.news-article { max-width: 760px; margin: 0 auto; }
.news-article h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 10px 0 24px; }
.news-article .date { font-size: .88rem; color: var(--muted); font-weight: 600; }
.news-article .hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.news-article .hero-img img { width: 100%; max-height: 380px; object-fit: cover; }
.news-article .hero-img.img-contain img { object-fit: contain; padding: 32px; background: #fff; max-height: 240px; }
.news-article .article-body p { color: var(--ink-soft); margin-bottom: 18px; }
.news-article .article-body h3 { font-size: 1.25rem; font-weight: 800; margin: 30px 0 12px; }
.news-article .article-body ul { color: var(--ink-soft); margin: 0 0 18px 22px; }
.news-article .article-body li { margin-bottom: 8px; }
.news-article .back { display: inline-block; font-weight: 700; margin: 8px 0 18px; }

/* ---------- check list (subpages) ---------- */
.check-list { list-style: none; margin: 20px 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-dark); font-weight: 800; }

.partner-form { max-width: 640px; margin: 0 auto; }

/* ---------- form status ---------- */
.form-status { min-height: 24px; margin-top: 12px; font-weight: 600; color: var(--muted); }
.form-status.ok { color: var(--green); }

/* ---------- legal / impresszum ---------- */
.legal-card {
  max-width: 720px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 40px 44px;
}
.legal-card dl { display: grid; grid-template-columns: 220px 1fr; row-gap: 14px; column-gap: 20px; }
.legal-card dt { font-weight: 700; color: var(--ink); }
.legal-card dd { color: var(--ink-soft); }
@media (max-width: 680px) {
  .legal-card { padding: 28px 22px; }
  .legal-card dl { grid-template-columns: 1fr; row-gap: 4px; }
  .legal-card dd { margin-bottom: 12px; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer .social { display: flex; gap: 12px; }
.footer .social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer .social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer .social svg { width: 18px; height: 18px; }
.footer p { font-size: .88rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .cards, .quotes, .posts, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .cards, .quotes, .posts, .portfolio-grid { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 4%; right: 4%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--ink-soft) !important; text-align: center; padding: 12px; }
  .nav-links a.lang { margin-left: 0; border-color: var(--line); }
}
