/* ============================================================
   Plenzdorf IT — Freelancer-Website
   Software Test & Qualitätssicherung
   ============================================================ */

:root {
  --bg: #0a1628;
  --bg-soft: #0e1d33;
  --bg-card: #11223c;
  --line: rgba(148, 184, 226, 0.12);
  --text: #e8f0fa;
  --text-dim: #9fb2c9;
  --accent: #34d9c3;
  --accent-soft: rgba(52, 217, 195, 0.12);
  --accent-2: #4ea3ff;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #06121f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #1fb8a6);
  color: #06121f;
  box-shadow: 0 12px 32px -12px rgba(52, 217, 195, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(52, 217, 195, 0.7); }

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--small { padding: 10px 22px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(10, 22, 40, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-mark {
  width: 80px; height: 80px;
  object-fit: contain;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__logo-text em { font-style: normal; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 184, 226, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 184, 226, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero__glow--1 { width: 560px; height: 560px; background: #0e7c6f; top: -180px; right: -120px; }
.hero__glow--2 { width: 480px; height: 480px; background: #14498a; bottom: -220px; left: -140px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(52, 217, 195, 0.25);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 217, 195, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(52, 217, 195, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 38px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__badges {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  list-style: none;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Terminal card */
.hero__card { position: relative; }

.terminal {
  background: #0b1424;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.2deg);
  transition: transform 0.4s ease;
}
.hero__card:hover .terminal { transform: rotate(0deg); }

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.terminal__bar span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #3a4a63;
}
.terminal__bar span:nth-child(1) { background: #ff5f57; }
.terminal__bar span:nth-child(2) { background: #febc2e; }
.terminal__bar span:nth-child(3) { background: #28c840; }
.terminal__bar p {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.terminal__body {
  padding: 22px 24px 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2.05;
}
.t-prompt { color: var(--accent-2); }
.t-ok { color: var(--accent); }
.t-dim { color: #5f7492; }
.t-result {
  color: var(--accent);
  font-weight: 500;
  border-top: 1px dashed var(--line);
  margin-top: 6px;
  padding-top: 8px;
}
.t-cursor {
  display: inline-block;
  width: 9px; height: 17px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__chip {
  position: absolute;
  background: rgba(17, 34, 60, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: float 5s ease-in-out infinite;
}
.hero__chip strong { font-family: var(--font-display); color: var(--accent); font-size: 0.95rem; }
.hero__chip span { font-size: 0.75rem; color: var(--text-dim); }
.hero__chip--1 { top: -26px; right: 8px; animation-delay: 0s; }
.hero__chip--2 { bottom: -24px; left: -14px; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 56px 28px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat__label { color: var(--text-dim); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head { max-width: 640px; margin-bottom: 64px; }
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__sub { color: var(--text-dim); margin-top: 18px; font-size: 1.05rem; }

/* ---------- Cards (Leistungen) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 217, 195, 0.35);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 24px;
}
.card__icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 22px;
}
.card__tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Expertise ---------- */
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.expertise__col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.expertise__col h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chips li:hover {
  color: var(--accent);
  border-color: rgba(52, 217, 195, 0.4);
  background: var(--accent-soft);
}
.chips--small li { font-size: 0.75rem; padding: 4px 12px; }

/* ---------- Timeline (Projekte) ---------- */
.timeline { display: flex; flex-direction: column; }

.timeline__item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.timeline__item:last-of-type { border-bottom: 0; }

.timeline__meta { display: flex; flex-direction: column; gap: 8px; }
.timeline__period {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}
.timeline__role {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.timeline__body h3 { font-size: 1.25rem; margin-bottom: 12px; }
.timeline__body p { color: var(--text-dim); font-size: 0.97rem; max-width: 720px; }
.timeline__body .chips { margin-top: 18px; }

.branchen {
  margin-top: 56px;
  padding: 28px 34px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.branchen__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.branchen ul { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; }
.branchen li {
  font-size: 0.85rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
}

/* ---------- Zertifikate ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.cert {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cert:hover { transform: translateY(-5px); border-color: rgba(52, 217, 195, 0.35); }
.cert__year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.cert h3 { font-size: 1.02rem; margin-bottom: 8px; }
.cert p { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Über mich ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about__portrait {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(52, 217, 195, 0.25), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(78, 163, 255, 0.22), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.about__portrait span {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.about__quote {
  margin-top: -46px;
  margin-left: 34px;
  margin-right: -20px;
  position: relative;
  background: rgba(17, 34, 60, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.about__quote p {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-dim);
}

.about__content h2 { margin-bottom: 24px; }
.about__content > p { color: var(--text-dim); margin-bottom: 18px; }

.about__points {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__points li {
  padding-left: 32px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.about__points li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}
.about__points strong { color: var(--text); }

/* ---------- Kontakt ---------- */
.section--contact { padding-bottom: 130px; }

.contact__box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact__info {
  padding: 56px 50px;
  background:
    radial-gradient(circle at 15% 15%, rgba(52, 217, 195, 0.12), transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(78, 163, 255, 0.1), transparent 50%),
    var(--bg-soft);
  display: flex;
  flex-direction: column;
}
.contact__info h2 { margin-bottom: 18px; }
.contact__info > p { color: var(--text-dim); margin-bottom: 36px; }

.contact__details { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: auto; }
.contact__details li { display: flex; align-items: center; gap: 14px; color: var(--text-dim); font-size: 0.95rem; }
.contact__details svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact__details a:hover { color: var(--accent); }

.contact__form { padding: 56px 50px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 20px; }
.form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #5f7492; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 217, 195, 0.15);
}

.form__field select option { background: var(--bg-card); }
.form__field select option:checked ,
.form__field select option:hover {
  background: var(--accent);
}
.form__field select option:focus {
  color: var(--accent);
  background: var(--accent-soft);
}

.form__note { font-size: 0.75rem; color: #5f7492; margin-top: 16px; }
.form__success {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(52, 217, 195, 0.4);
  color: var(--accent);
  font-size: 0.9rem;
}
.form__error {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 95, 87, 0.1);
  border: 1px solid rgba(255, 95, 87, 0.4);
  color: #ff8f88;
  font-size: 0.9rem;
}
.btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 0.95rem; margin-bottom: 8px; }
.footer__col a { color: var(--text-dim); font-size: 0.88rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 24px;
}
.footer__bottom p { font-size: 0.8rem; color: #5f7492; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal { padding-top: 170px; }
.legal__content { max-width: 720px; }
.legal__content h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 10px 0 32px;
}
.legal__content h2 {
  font-size: 1.25rem;
  margin: 40px 0 14px;
  color: var(--text);
}
.legal__content p,
.legal__content li { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 8px; }
.legal__content ul { padding-left: 22px; margin-bottom: 16px; }
.legal__content a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(52, 217, 195, 0.4); }
.legal__content a:hover { text-decoration-color: var(--accent); }
.legal__content code {
  font-family: var(--font-mono);
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.legal__notice {
  background: var(--bg-card);
  border: 1px solid rgba(52, 217, 195, 0.3);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.legal__notice strong { color: var(--accent); }
.legal__back { margin-top: 44px; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(52, 217, 195, 0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(78, 163, 255, 0.12), transparent 45%),
    var(--bg);
}
.error-page__inner { max-width: 560px; }
.error-page__code {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}
.error-page h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.error-page p { color: var(--text-dim); margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 80px; }
  .hero__card { max-width: 560px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 60px; }
  .about__visual { max-width: 420px; }
  .contact__box { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 78px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    width: 100%;
    padding: 24px 28px 32px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: 12px 0; font-size: 1.05rem; }
  .nav__links .btn { margin-top: 14px; }
  .nav__burger { display: flex; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 150px 0 90px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .expertise__grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .section { padding: 80px 0; }
  .form__row { grid-template-columns: 1fr; }
  .contact__info, .contact__form { padding: 40px 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__chip--1 { top: -20px; right: 0; }
  .hero__chip--2 { bottom: -18px; left: 0; }
}
