/* ═══════════════════════════════════════════════════════
   style.css – David Baranek Portfolio  v2
   Kontrast-Fix · Micro-Animations · Weniger Text
═══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Base surfaces (Light) */
  --bg: #f5f2ec;
  /* warmes Creme */
  --bg2: #edeae2;
  --bg3: #ffffff;
  --surface: #faf8f4;

  /* Typography */
  --text: #1e1a14;
  --text-2: #5a5040;
  --muted: #9a8e7a;
  --white: #ffffff;

  /* Lines & radius */
  --line: rgba(60, 50, 30, 0.1);
  --line-hi: rgba(60, 50, 30, 0.18);
  --radius: 18px;

  /* Accents */
  --accent: #e05c2a;
  /* Terrakotta */
  --accent-hi: #f07a4a;
  --spark: #1a7fc4;
  /* Stahlblau */
  --glow: rgba(224, 92, 42, 0.2);

  /* Status */
  --error: #e03a3a;
  --success: #2da55e;

  /* Motion */
  --ease-spring: cubic-bezier(0.22, 0.68, 0, 1.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --nav-h: 64px;

  /* Nav (Glass) – keeps the “dark glass” look but makes it configurable */
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.88);
  --nav-border: var(--line);
  --nav-border-scrolled: var(--line-hi);
}

/* ═══ FONTS: Local WOFF (GC EPICPRO) ═══ */
@font-face {
  font-family: "GC Epic Pro";
  src:
    url("../fonts/GC-EPICPRO.woff") format("woff"),
    url("../fonts/GC%20EPICPRO.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GC Epic Pro";
  src:
    url("../fonts/GC-EPICPRO.woff") format("woff"),
    url("../fonts/GC%20EPICPRO.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Outfit",
    "GC Epic Pro",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: clamp(1.06rem, 0.35vw + 1rem, 1.28rem);
  line-height: 1.75;
  overflow-x: hidden;
}

.img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ═══ SCROLL PROGRESS ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--spark));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  will-change: transform;
}

/* ═══ A11Y ═══ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--spark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Noise ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 99px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--nav-border);
  transition:
    background 0.3s,
    border-color 0.3s;
}

nav.scrolled {
  background: var(--nav-bg-scrolled);
  border-color: var(--nav-border-scrolled);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
  display: inline-block;
  transition: transform 0.35s var(--ease-spring);
}

.nav-logo:hover span {
  transform: translateY(-2px) scale(1.1);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--spark));
  transition:
    width 0.35s var(--ease-spring),
    left 0.35s var(--ease-spring);
  border-radius: 99px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.46rem 1.3rem;
  border-radius: 99px;
  font-weight: 600 !important;
  font-size: 0.86rem !important;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.16) 0%,
      transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-cta:hover::before {
  opacity: 1;
}

.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 32px var(--glow) !important;
}

/* ═══ HAMBURGER ═══ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease-spring),
    opacity 0.2s,
    width 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ═══ MOBILE MENU ═══ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 5, 14, 0.97);
  backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-link {
  display: block;
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 1.5rem;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.3s var(--ease-spring),
    transform 0.3s var(--ease-spring),
    color 0.2s;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open li:nth-child(1) .mobile-link {
  transition-delay: 0.07s;
}

.mobile-menu.open li:nth-child(2) .mobile-link {
  transition-delay: 0.12s;
}

.mobile-menu.open li:nth-child(3) .mobile-link {
  transition-delay: 0.17s;
}

.mobile-menu.open li:nth-child(4) .mobile-link {
  transition-delay: 0.22s;
}

.mobile-link:hover {
  color: var(--white);
}

.mobile-link-cta {
  margin-top: 0.5rem;
  background: var(--accent) !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  padding: 0.7rem 2.5rem !important;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 2.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: blob 9s ease-in-out infinite alternate;
  will-change: transform;
}

.blob1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
      rgba(139, 111, 255, 0.38),
      rgba(41, 219, 184, 0.1) 70%);
  top: -220px;
  right: -200px;
}

.blob2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.2),
      rgba(139, 111, 255, 0.28));
  bottom: -100px;
  left: -120px;
  animation-delay: -4s;
}

@keyframes blob {
  0% {
    transform: scale(1) translate(0, 0) rotate(0deg);
  }

  100% {
    transform: scale(1.12) translate(28px, -18px) rotate(8deg);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%,
      #000 20%,
      transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  padding-top: var(--nav-h);
}

/* Badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) 0.15s forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(139, 111, 255, 0.1);
  border: 1px solid rgba(139, 111, 255, 0.22);
  color: var(--accent-hi);
  padding: 0.33rem 0.95rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge--tech {
  background: rgba(41, 219, 184, 0.07);
  border-color: rgba(41, 219, 184, 0.22);
  color: var(--spark);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0);
  }
}

/* H1 */
.hero h1 {
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.3s forwards;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--spark) 0%, var(--accent-hi) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-2);
  max-width: 400px;
  line-height: 1.72;
  margin-top: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.65s forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px var(--glow);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-hi);
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.25s var(--ease-spring);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  transform: translateY(-3px);
}

/* Ripple */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.8s forwards;
}

.stat-num {
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 0.1rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: var(--line-hi);
  align-self: stretch;
}

/* ═══ HERO VISUAL ═══ */
.hero-visual {
  opacity: 0;
  animation: fadeIn 0.9s var(--ease-out) 0.4s forwards;
  position: relative;
}

.browser-frame {
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.68rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 0.38rem;
}

.bdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bdot-r {
  background: #ff5f57;
}

.bdot-y {
  background: #ffbd2e;
}

.bdot-g {
  background: #28ca41;
}

.browser-url-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.25rem 0.8rem;
  font-size: 0.71rem;
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.url-scheme {
  opacity: 0.4;
}

.url-host {
  color: var(--text);
  font-weight: 500;
}

.browser-actions {
  display: flex;
  gap: 0.28rem;
}

.browser-action-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.browser-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow-x: auto;
  scrollbar-width: none;
}

.browser-tabs::-webkit-scrollbar {
  display: none;
}

.btab {
  padding: 0.46rem 1.1rem;
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.25s,
    background 0.2s;
}

.btab:hover {
  color: var(--text);
}

.btab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  background: rgba(139, 111, 255, 0.06);
}

.browser-content {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.bslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  padding: 0.95rem;
  pointer-events: none;
}

.bslide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.bslide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 0.6rem;
}

.bsn-logo {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
}

.bsn-logo-mark {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--slide-accent, var(--accent));
  opacity: 0.85;
}

.bsn-links {
  display: flex;
  gap: 0.6rem;
  font-size: 0.65rem;
  color: var(--muted);
}

.bsn-cta {
  background: var(--slide-accent, var(--accent));
  color: #fff !important;
  padding: 0.14rem 0.5rem;
  border-radius: 99px;
  font-weight: 600;
}

.bslide-hero {
  padding: 0.65rem 0.72rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 0.6rem;
}

.bsh-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6rem;
  padding: 0.1rem 0.42rem;
  border-radius: 99px;
  margin-bottom: 0.42rem;
}

.bsh-title {
  height: 8px;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  width: 62%;
  margin-bottom: 0.28rem;
}

.bsh-sub {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  width: 45%;
  margin-bottom: 0.42rem;
}

.bsh-btn {
  height: 19px;
  width: 68px;
  background: var(--slide-accent, var(--accent));
  opacity: 0.7;
  border-radius: 99px;
}

.bslide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.42rem;
}

.bsc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.48rem;
}

.bsc-img {
  height: 30px;
  border-radius: 4px;
  background: color-mix(in srgb,
      var(--slide-accent, var(--accent)) 16%,
      transparent);
  margin-bottom: 0.32rem;
}

.bsc-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 0.26rem;
}

.bslide-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
}

.bss {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem;
}

.bss-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: color-mix(in srgb,
      var(--slide-accent, var(--accent)) 20%,
      transparent);
  margin-bottom: 0.32rem;
}

.bss-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 0.26rem;
}

.bslide-admin {
  display: flex;
  min-height: 192px;
  gap: 0.5rem;
}

.ba-sidebar {
  width: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.5rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ba-sb-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--spark));
  margin: 0 auto 0.32rem;
}

.ba-sb-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.28rem;
  border-radius: 4px;
}

.ba-sb-item.active {
  background: rgba(139, 111, 255, 0.15);
}

.ba-sb-icon {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.ba-sb-label {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.ba-main {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.56rem 0.62rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.ba-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ba-tb-title {
  height: 6px;
  width: 36%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.ba-tb-btn {
  height: 16px;
  width: 50px;
  background: var(--accent);
  opacity: 0.6;
  border-radius: 99px;
}

.ba-stats {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.ba-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ba-stat-num {
  height: 5px;
  width: 17px;
  background: var(--stat-color, var(--accent));
  border-radius: 2px;
  opacity: 0.85;
}

.ba-stat-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.ba-stat-bar::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--bar-w, 80%);
  background: var(--stat-color, var(--accent));
  opacity: 0.45;
  border-radius: 2px;
}

.ba-table {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
}

.ba-tr {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.2rem 0.16rem;
  border-bottom: 1px solid var(--line);
}

.ba-tr:last-child {
  border-bottom: none;
}

.ba-th .ba-td {
  background: rgba(255, 255, 255, 0.07) !important;
  height: 5px;
}

.ba-td {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
}

.w15 {
  width: 15%;
}

.w20 {
  width: 20%;
}

.w25 {
  width: 25%;
}

.w40 {
  width: 40%;
}

.w45 {
  width: 45%;
}

.w50 {
  width: 50%;
}

.w55 {
  width: 55%;
}

.w60 {
  width: 60%;
}

.w65 {
  width: 65%;
}

.w70 {
  width: 70%;
}

.w75 {
  width: 75%;
}

.w80 {
  width: 80%;
}

.w85 {
  width: 85%;
}

.w90 {
  width: 90%;
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  background: var(--surface);
  border: 1px solid var(--line-hi);
  border-radius: 99px;
  padding: 0.3rem 0.78rem;
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  animation: floatAnim 4s ease-in-out infinite;
  will-change: transform;
}

.float-badge-1 {
  bottom: -8px;
  left: -12px;
  animation-delay: 0s;
}

.float-badge-2 {
  top: 20px;
  right: -16px;
  animation-delay: -1.4s;
}

.float-badge-3 {
  bottom: 42px;
  right: -8px;
  animation-delay: -2.8s;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.fb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.fb-dot--green {
  background: var(--success);
}

.fb-dot--blue {
  background: #60a5fa;
}

.fb-dot--purple {
  background: var(--accent-hi);
}

/* ─── Job banner ─── */
.job-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg,
      rgba(139, 111, 255, 0.08),
      rgba(41, 219, 184, 0.05));
  border: 1px solid rgba(139, 111, 255, 0.2);
  border-radius: 14px;
  padding: 0.88rem 1.1rem;
  margin-top: 1.8rem;
  position: relative;
  overflow: hidden;
}

.job-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(139, 111, 255, 0.4),
      rgba(41, 219, 184, 0.25),
      transparent);
}

.job-banner-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.job-banner-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.08rem;
}

.job-banner-desc {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

.job-banner-cta {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.38rem 1rem;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s var(--ease-spring);
}

.job-banner-cta:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
}

/* ═══ SECTIONS ═══ */
section {
  position: relative;
  z-index: 1;
}

section[id] {
  scroll-margin-top: var(--nav-h);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-pad {
  padding: 6.5rem 0;
}

/* Section label – write-on via clip-path */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--spark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--spark));
  border-radius: 99px;
}

.section-label.reveal {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transform: none;
}

.section-label.reveal.visible {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 0.65s var(--ease-out);
}

.section-title {
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: clamp(2.05rem, 3.8vw, 3.15rem);
  font-weight: 800;
  color: black;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--spark), var(--accent-hi));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.about-text {
  color: var(--text-2);
  font-size: 1.06rem;
  line-height: 1.82;
  margin-top: 1.4rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* ── Tilt card ── */
.tilt-card {
  transform-style: preserve-3d;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}

.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.055) 0%,
      transparent 62%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.tilt-card:hover .tilt-shine {
  opacity: 1;
}

.pillar {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.pillar:hover {
  border-color: rgba(139, 111, 255, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.pillar-icon {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
  display: block;
}

.pillar-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.18rem;
}

.pillar-desc {
  font-size: 0.77rem;
  color: var(--text-2);
  line-height: 1.55;
}

.skill-group {
  margin-bottom: 1.4rem;
}

.skill-group-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.82rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-2);
  padding: 0.32rem 0.86rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease-spring);
}

/* Shimmer sweep */
.skill-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  bottom: 0;
  width: 80%;
  background: linear-gradient(90deg,
      transparent,
      rgba(139, 111, 255, 0.22),
      transparent);
  transform: skewX(-15deg);
  transition: left 0s;
}

.skill-tag:hover {
  border-color: rgba(139, 111, 255, 0.38);
  color: var(--white);
  transform: translateY(-2px);
}

.skill-tag:hover::before {
  left: 140%;
  transition: left 0.48s var(--ease-io);
}

/* About – Level label chips (Daily/Regular/Familiar) */
.skill-tags[aria-label="Level"] .skill-tag:first-child {
  background: rgba(139, 111, 255, 0.08);
  border-color: rgba(139, 111, 255, 0.22);
  color: var(--spark);
  font-weight: 700;
}

/* Zertifikate – tidy layout and link styles */
.cert-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.18rem;
}

.cert-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.cert-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-hi) 70%, var(--spark));
  text-underline-offset: 3px;
}

.cert-meta {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Slightly tighter lists in About */
#about .service-list {
  gap: 0.22rem;
}

#about .service-list li {
  line-height: 1.45;
}

.process-steps {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  width: 31px;
  height: 31px;
  min-width: 31px;
  background: rgba(139, 111, 255, 0.1);
  border: 1px solid rgba(139, 111, 255, 0.22);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-hi);
  transition:
    background 0.2s,
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s;
}

.step:hover .step-num {
  background: rgba(139, 111, 255, 0.22);
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(139, 111, 255, 0.22);
}

.step-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 0.1rem;
}

/* ═══ SERVICES ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 3.2rem;
}

.service-card {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(139, 111, 255, 0.3);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
}

.service-icon {
  width: 46px;
  height: 46px;
  background: rgba(139, 111, 255, 0.1);
  border: 1px solid rgba(139, 111, 255, 0.18);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.15rem;
}

/* Bounce on hover */
.service-card:hover .service-icon {
  animation: iconBounce 0.5s var(--ease-spring);
}

@keyframes iconBounce {
  0% {
    transform: translateY(0) scale(1);
  }

  30% {
    transform: translateY(-7px) scale(1.12);
  }

  60% {
    transform: translateY(-2px) scale(1.04);
  }

  80% {
    transform: translateY(-4px) scale(1.08);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.service-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.service-list li {
  font-size: 0.84rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.service-list li::before {
  content: "→";
  color: var(--spark);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ═══ PROJECTS ═══ */
.projects-bg {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 3.2rem;
}

.project-card {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.project-card:hover {
  border-color: rgba(139, 111, 255, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.project-preview {
  height: 200px;
  background: linear-gradient(135deg, var(--bg2) 0%, #12102a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-out);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-img--wbo {
  background-image: url(/assets/bilder/wbo_start.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0b0a1a;
}

.project-img--mende {
  background-image: url(/assets/bilder/mende_start.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.project-preview-inner {
  width: 72%;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.92rem;
  transform: perspective(600px) rotateX(5deg);
  transition: transform 0.4s var(--ease-spring);
}

.project-card:hover .project-preview-inner {
  transform: perspective(600px) rotateX(0) scale(1.03);
}

.pp-header {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.62rem;
}

.pp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pp-dot:nth-child(1) {
  background: #ff5f57;
}

.pp-dot:nth-child(2) {
  background: #ffbd2e;
}

.pp-dot:nth-child(3) {
  background: #28ca41;
}

.pp-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  margin: 0.28rem 0;
}

.pp-accent {
  height: 17px;
  background: rgba(139, 111, 255, 0.18);
  border-radius: 5px;
  width: 38%;
  margin-top: 0.38rem;
}

.pp-editorial {
  display: flex;
  gap: 0.42rem;
  margin-top: 0.36rem;
}

.pp-ed-col {
  flex: 1;
}

.pp-ed-big {
  flex: 1.3;
}

.pp-ed-img {
  height: 44px;
  background: rgba(139, 111, 255, 0.1);
  border-radius: 5px;
  margin-bottom: 0.36rem;
}

.pp-admin {
  display: flex;
  gap: 0.42rem;
  margin-top: 0.36rem;
  height: 66px;
}

.pp-admin-sidebar {
  width: 19px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 0.26rem 0.18rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pp-as-item {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.pp-as-item.active {
  background: var(--accent);
  opacity: 0.6;
}

.pp-admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.project-badge {
  position: absolute;
  top: 0.88rem;
  right: 0.88rem;
  background: rgba(6, 5, 14, 0.85);
  border: 1px solid var(--line-hi);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.24rem 0.62rem;
  border-radius: 99px;
  backdrop-filter: blur(12px);
}

.project-body {
  padding: 1.35rem;
}

.project-num {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--spark);
  letter-spacing: 0.08em;
  margin-bottom: 0.28rem;
}

.project-title {
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.38rem;
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.62;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.85rem;
}

.project-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.15rem 0.6rem;
  border-radius: 5px;
  font-size: 0.7rem;
}

.project-links {
  display: flex;
  gap: 0.88rem;
  flex-wrap: wrap;
  margin-top: 1.05rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent-hi);
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition:
    gap 0.25s var(--ease-spring),
    color 0.2s;
}

.project-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-spring);
}

.project-link:hover {
  gap: 0.54rem;
  color: var(--white);
}

.project-link:hover::after {
  transform: scaleX(1);
}

.project-card.featured {
  grid-column: 1 / -1;
}

.project-card.featured .project-preview {
  height: 250px;
}

/* ═══ CONTACT ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.92rem;
  padding: 0.92rem 1.05rem;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.25s var(--ease-spring),
    box-shadow 0.2s;
}

.contact-item:hover {
  border-color: rgba(139, 111, 255, 0.3);
  transform: translateX(5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 35px;
  height: 35px;
  background: rgba(139, 111, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.contact-icon--text {
  font-weight: 700;
  font-size: 0.83rem;
}

.contact-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-value {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* ═══ FORM ═══ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
}

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.88rem;
}

.field-wrap {
  display: flex;
  flex-direction: column;
}

label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
}

input,
textarea,
select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 1.1rem;
  color: var(--text);
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 0.91rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(139, 111, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(139, 111, 255, 0.1);
  background: var(--surface);
}

input.has-error,
textarea.has-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

textarea {
  resize: vertical;
  min-height: 124px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(122, 120, 153, 0.45);
}

select option {
  background: var(--bg3);
}

.field-error {
  display: block;
  font-size: 0.73rem;
  color: var(--error);
  margin-top: 0.26rem;
  min-height: 0.92rem;
  font-weight: 500;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form-note {
  font-size: 0.74rem;
  color: var(--muted);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #fff;
  padding: 0.86rem 2.2rem;
  border: none;
  border-radius: 99px;
  font-family:
    "GC Epic Pro",
    "Outfit",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 0.91rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 200px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition:
    background 0.2s,
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s;
}

.submit-btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 80%, var(--spark));
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--glow);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.submit-btn.success {
  background: var(--success) !important;
}

.submit-btn.error-state {
  background: var(--error) !important;
}

.btn-icon {
  transition: transform 0.25s var(--ease-spring);
}

.submit-btn:hover:not(:disabled) .btn-icon {
  transform: translateX(5px);
}

.char-counter {
  display: block;
  text-align: right;
  font-size: 0.71rem;
  color: var(--muted);
  margin-top: 0.26rem;
  font-variant-numeric: tabular-nums;
}

.char-counter.warn {
  color: #fb923c;
}

.char-counter.danger {
  color: var(--error);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ═══ FOOTER ═══ */
footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-left a {
  color: var(--accent-hi);
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ─── Misc ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-hi), transparent);
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(139, 111, 255, 0.06) 0%,
      transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  top: 0;
  left: 0;
  will-change: transform;
}

/* Tooltips */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(26, 25, 47, 0.97);
  border: 1px solid var(--line-hi);
  color: var(--text-2);
  font-size: 0.7rem;
  padding: 0.28rem 0.68rem;
  border-radius: 7px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  transition:
    opacity 0.2s,
    transform 0.2s var(--ease-spring);
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-16px);
}

.reveal--right {
  transform: translateX(16px);
}

.reveal--left.visible,
.reveal--right.visible {
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* Section labels override */
.section-label.reveal {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .section-label.reveal {
    clip-path: none !important;
  }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0 1.2rem;
  }

  .container {
    padding: 0 1.2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .field-group {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }

  .submit-btn {
    width: 100%;
  }

  .job-banner {
    flex-wrap: wrap;
  }

  .job-banner-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .section-label.reveal {
    clip-path: none;
  }

  .float-badge {
    animation: none;
  }

  .hero-blob {
    animation: none;
  }
}