/* ═══════════════════════════════════════════
   JCI GmbH — just code it
   One-Pager Stylesheet — FANCY Edition
   ═══════════════════════════════════════════ */

:root {
  --light-teal: #75b5be;
  --primary-teal: #2d7987;
  --dark-navy: #0b343a;
  --black: #000000;
  --white: #ffffff;
  --glow-teal: rgba(117, 181, 190, 0.6);

  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-display: 'Strike Fighter Laser Italic', 'Source Sans 3', sans-serif;
  --font-script: 'Lobster', cursive;

  --section-pad: clamp(5rem, 12vh, 10rem) clamp(1.5rem, 5vw, 4rem);
  --max-width: 1200px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-teal);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-teal);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-teal) var(--black);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10000;
  transition: top 0.2s;
}

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

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid var(--light-teal);
  outline-offset: 3px;
}

/* Remove outline for mouse clicks */
:focus:not(:focus-visible) {
  outline: none;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.7;
  color: var(--white);
  background: var(--black);
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.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; }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════
   GLOBAL SCANLINE OVERLAY
   ═══════════════════════════════════════════ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(11, 52, 58, 0.97);
  box-shadow: 0 1px 0 rgba(117, 181, 190, 0.1),
              0 20px 60px rgba(0, 0, 0, 0.4);
}

.nav__logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(117, 181, 190, 0.3));
  transition: filter 0.3s;
}

.nav__logo:hover img {
  filter: drop-shadow(0 0 16px rgba(117, 181, 190, 0.6));
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
  padding: 0.75rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--light-teal), transparent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__links a:hover::after {
  width: 100%;
  left: 0;
}

.nav__links a:hover {
  color: var(--white);
  text-shadow: 0 0 20px var(--glow-teal);
}

.nav__links a:active {
  color: var(--light-teal);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s;
}

/* Burger → X morph when menu is open */
.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav active link indicator */
.nav__links a.active {
  color: var(--white);
}

.nav__links a.active::after {
  width: 100%;
  left: 0;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   SECTION 1 — HERO
   ═══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--section-pad);
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

/* Animated Strahlen-Effekt */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 25%, rgba(45, 121, 135, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 30% 40%, rgba(117, 181, 190, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 70% 40%, rgba(117, 181, 190, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: strahlenPulse 6s ease-in-out infinite alternate;
}

@keyframes strahlenPulse {
  0% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* Animated Circuit-Board grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--light-teal) 1px, transparent 1px),
    linear-gradient(90deg, var(--light-teal) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Diagonal light sweep */
.hero-sweep {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-sweep::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 80px;
  height: 300%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(117, 181, 190, 0.06),
    rgba(117, 181, 190, 0.12),
    rgba(117, 181, 190, 0.06),
    transparent
  );
  transform: rotate(25deg);
  animation: lightSweep 8s ease-in-out infinite;
}

@keyframes lightSweep {
  0% { left: -100%; }
  40% { left: 200%; }
  100% { left: 200%; }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--light-teal);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% { opacity: 0.6; transform: scale(1); }
  90% { opacity: 0.3; }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(0.5);
  }
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; width: 2.5px; height: 2.5px; }
.particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(7) { left: 15%; animation-duration: 16s; animation-delay: 7s; }
.particle:nth-child(8) { left: 60%; animation-duration: 9s; animation-delay: 6s; width: 2.5px; height: 2.5px; }
.particle:nth-child(9) { left: 90%; animation-duration: 11s; animation-delay: 8s; }
.particle:nth-child(10) { left: 35%; animation-duration: 14s; animation-delay: 3.5s; }
.particle:nth-child(11) { left: 78%; animation-duration: 12s; animation-delay: 9s; width: 3px; height: 3px; }
.particle:nth-child(12) { left: 5%; animation-duration: 17s; animation-delay: 1.5s; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: center;
}

.hero__text {
  text-align: left;
}

/* ── JAX in Hero ── */
.hero__jax {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__jax-img {
  width: clamp(280px, 30vw, 460px);
  height: auto;
  will-change: transform, filter;
  animation: jaxHover 5s ease-in-out infinite alternate;
}

@keyframes jaxHover {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 30px rgba(117, 181, 190, 0.3)) drop-shadow(0 0 60px rgba(45, 121, 135, 0.15));
  }
  100% {
    transform: translateY(-12px);
    filter: drop-shadow(0 0 50px rgba(117, 181, 190, 0.5)) drop-shadow(0 0 100px rgba(45, 121, 135, 0.25));
  }
}

/* ── Hero entrance choreography ── */
.hero__headline,
.hero__subheadline,
.hero__description,
.hero .btn,
.hero__jax {
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__headline    { animation-delay: 0.1s; }
.hero__subheadline { animation-delay: 0.35s; }
.hero__description { animation-delay: 0.55s; }
.hero .btn         { animation-delay: 0.7s; }
.hero__jax         { animation-delay: 0.2s; }

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glitch-style headline */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow:
    0 0 40px rgba(117, 181, 190, 0.3),
    0 0 80px rgba(45, 121, 135, 0.15);
  position: relative;
}

.hero__headline span {
  color: var(--light-teal);
  text-shadow:
    0 0 30px rgba(117, 181, 190, 0.5),
    0 0 60px rgba(117, 181, 190, 0.2);
}

/* Typed-cursor effect — blinks, then fades out */
.hero__headline::after {
  content: '|';
  color: var(--light-teal);
  font-weight: 100;
  margin-left: 4px;
  animation: blink 1s step-end 4, cursorFade 0.5s 4s forwards;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes cursorFade {
  to { opacity: 0; }
}

.hero__subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 0 1.25rem;
}

.hero__description {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  color: var(--light-teal);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(117, 181, 190, 0.3);
}

/* ── Glowing CTA Button ── */
.btn {
  display: inline-block;
  padding: 1.1rem 3rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--light-teal);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(117, 181, 190, 0.1),
              inset 0 0 20px rgba(117, 181, 190, 0.05);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-teal), rgba(117, 181, 190, 0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--light-teal), var(--primary-teal), var(--light-teal));
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(8px);
}

.btn:hover {
  border-color: transparent;
  box-shadow: 0 0 40px rgba(117, 181, 190, 0.3),
              0 0 80px rgba(117, 181, 190, 0.1);
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 0 15px rgba(117, 181, 190, 0.2);
}

/* Pulsing CTA variant */
.btn--pulse {
  animation: btnPulse 3s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(117, 181, 190, 0.1); }
  50% { box-shadow: 0 0 40px rgba(117, 181, 190, 0.25), 0 0 80px rgba(117, 181, 190, 0.08); }
}

.btn--pulse:hover {
  animation: none;
}

/* ── Scroll indicator ── */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--light-teal), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════
   SECTION DIVIDER — Animated gradient
   ═══════════════════════════════════════════ */

.divider {
  height: 1px;
  position: relative;
  overflow: hidden;
}

.divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-teal) 20%,
    var(--light-teal) 50%,
    var(--primary-teal) 80%,
    transparent 100%
  );
  opacity: 0.5;
}

.divider::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 60px;
  background: var(--light-teal);
  filter: blur(2px);
  will-change: transform, opacity;
  animation: dividerGlow 4s ease-in-out infinite;
}

@keyframes dividerGlow {
  0% { transform: translateX(-60px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(calc(100vw + 60px)); opacity: 0; }
}

/* ═══════════════════════════════════════════
   SECTION 2 — CORE
   ═══════════════════════════════════════════ */

.core {
  padding: var(--section-pad);
  text-align: center;
  background: var(--dark-navy);
  position: relative;
  overflow: hidden;
}

.core__overline {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--light-teal);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 30px rgba(117, 181, 190, 0.4);
}

.core__overline-logo {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.core__headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  max-width: 750px;
  margin: 0 auto 1.5rem;
}

.core__text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   SECTION 3 — POSITIONIERUNG
   ═══════════════════════════════════════════ */

.positioning {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.positioning::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(var(--light-teal) 1px, transparent 1px),
    linear-gradient(90deg, var(--light-teal) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.positioning .container { position: relative; z-index: 1; }

.positioning__headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 1rem;
}

.positioning__intro {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.positioning__list {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.positioning__list li {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 600;
  color: var(--light-teal);
  padding: 0.75rem 1.25rem 0.75rem 2.25rem;
  position: relative;
  background: linear-gradient(90deg, rgba(45, 121, 135, 0.08), transparent);
  border-left: 2px solid var(--primary-teal);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.positioning__list li:hover {
  background: linear-gradient(90deg, rgba(45, 121, 135, 0.15), transparent);
  border-left-color: var(--light-teal);
  transform: translateX(8px);
}

.positioning__list li::before {
  content: '\2192';
  position: absolute;
  left: 0.75rem;
  color: var(--primary-teal);
}

.positioning__closing {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--light-teal);
  background: linear-gradient(135deg, rgba(45, 121, 135, 0.12), rgba(45, 121, 135, 0.03));
  max-width: 650px;
  box-shadow: 0 0 40px rgba(45, 121, 135, 0.05);
  text-shadow: 0 0 40px rgba(117, 181, 190, 0.15);
}

/* ═══════════════════════════════════════════
   SECTION 4 — ABOUT JCI
   ═══════════════════════════════════════════ */

.about {
  padding: var(--section-pad);
  background: var(--dark-navy);
  position: relative;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 140%;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--light-teal) 1px, transparent 1px),
    linear-gradient(90deg, var(--light-teal) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: rotate(15deg);
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.about__subheadline {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--light-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.about__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about__tag {
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 121, 135, 0.5);
  color: var(--light-teal);
  background: rgba(45, 121, 135, 0.08);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.about__tag:hover {
  background: rgba(45, 121, 135, 0.2);
  border-color: var(--light-teal);
  box-shadow: 0 0 20px rgba(117, 181, 190, 0.15);
  transform: translateY(-2px);
}

.about__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__visual-inner {
  width: 100%;
  aspect-ratio: 1;
  max-width: 350px;
  border: 1px solid rgba(117, 181, 190, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(45, 121, 135, 0.1) 0%, transparent 70%);
  animation: visualPulse 4s ease-in-out infinite alternate;
}

@keyframes visualPulse {
  0% { box-shadow: 0 0 30px rgba(117, 181, 190, 0.05); }
  100% { box-shadow: 0 0 60px rgba(117, 181, 190, 0.12); }
}

.about__visual-inner::before {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(117, 181, 190, 0.06);
}

.about__visual-inner::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--light-teal), transparent 30%, transparent 70%, var(--primary-teal));
  z-index: -1;
  opacity: 0.3;
}

.about__visual-logo {
  width: 55%;
  opacity: 0.12;
  filter: drop-shadow(0 0 30px rgba(117, 181, 190, 0.3));
  animation: logoBreathe 6s ease-in-out infinite alternate;
}

@keyframes logoBreathe {
  0% { opacity: 0.08; filter: drop-shadow(0 0 20px rgba(117, 181, 190, 0.2)); }
  100% { opacity: 0.18; filter: drop-shadow(0 0 40px rgba(117, 181, 190, 0.4)); }
}

/* ═══════════════════════════════════════════
   SECTION 5 — FOUNDER
   ═══════════════════════════════════════════ */

.founder {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
}

.founder .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.founder__portrait {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(117, 181, 190, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(45, 121, 135, 0.03);
}

.founder__portrait::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--light-teal), transparent 40%, transparent 60%, var(--primary-teal));
  z-index: -1;
  opacity: 0.4;
  filter: blur(1px);
}

.founder__portrait::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(117, 181, 190, 0.08);
}

/* Animated corner accents on portrait */
.founder__portrait {
  overflow: hidden;
}

.founder__portrait .corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--light-teal);
  border-style: solid;
  border-width: 0;
  opacity: 0.4;
  transition: opacity 0.5s, width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.corner--tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

.founder__portrait:hover .corner {
  width: 30px;
  height: 30px;
  opacity: 0.8;
}

.founder__initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--primary-teal);
  opacity: 0.5;
  text-shadow: 0 0 30px rgba(45, 121, 135, 0.3);
  transition: opacity 0.4s, text-shadow 0.4s;
}

.founder__portrait:hover .founder__initials {
  opacity: 0.7;
  text-shadow: 0 0 50px rgba(45, 121, 135, 0.5);
}

.founder__name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-teal);
  margin-bottom: 0.25rem;
}

.founder__title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.founder__headline {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.founder__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 550px;
}

.founder__experience {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.founder__experience li {
  font-weight: 600;
  color: var(--light-teal);
  padding: 0.5rem 1rem 0.5rem 2rem;
  position: relative;
  background: linear-gradient(90deg, rgba(45, 121, 135, 0.06), transparent);
  border-left: 2px solid var(--primary-teal);
  transition: transform 0.3s, border-color 0.3s;
}

.founder__experience li:hover {
  transform: translateX(6px);
  border-left-color: var(--light-teal);
}

.founder__experience li::before {
  content: '\2192';
  position: absolute;
  left: 0.6rem;
  color: var(--primary-teal);
}

.founder__closing {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: var(--white);
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--light-teal);
  background: linear-gradient(135deg, rgba(45, 121, 135, 0.1), rgba(45, 121, 135, 0.02));
  max-width: 550px;
  text-shadow: 0 0 30px rgba(117, 181, 190, 0.1);
}

/* ═══════════════════════════════════════════
   SECTION 6 — USP
   ═══════════════════════════════════════════ */

.usp {
  padding: var(--section-pad);
  background: var(--dark-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.usp::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(45, 121, 135, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: strahlenPulse 8s ease-in-out infinite alternate;
}

.usp .container { position: relative; z-index: 1; }

.usp__headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.usp__headline span {
  color: var(--light-teal);
  text-shadow: 0 0 40px rgba(117, 181, 190, 0.3);
}

.usp__intro {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
}

.usp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.usp__col {
  text-align: left;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s;
}

.usp__col:hover {
  transform: translateY(-4px);
}

.usp__col--problems {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.usp__col--solutions {
  background: rgba(45, 121, 135, 0.08);
  border: 1px solid rgba(45, 121, 135, 0.2);
  box-shadow: 0 0 40px rgba(45, 121, 135, 0.05);
}

.usp__col--solutions:hover {
  box-shadow: 0 0 60px rgba(45, 121, 135, 0.1);
}

.usp__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.usp__col--solutions .usp__col-title {
  color: var(--light-teal);
}

.usp__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.usp__col--problems li {
  color: rgba(255, 255, 255, 0.7);
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}

.usp__col--problems li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-size: 0.75rem;
  top: 3px;
}

.usp__col--solutions li {
  color: var(--white);
  font-weight: 600;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}

.usp__col--solutions li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--light-teal);
  font-size: 0.85rem;
  top: 2px;
  text-shadow: 0 0 10px rgba(117, 181, 190, 0.5);
}

.usp__banner {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--light-teal);
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(117, 181, 190, 0.15);
  border-bottom: 1px solid rgba(117, 181, 190, 0.15);
  max-width: 750px;
  margin: 0 auto;
  text-shadow: 0 0 40px rgba(117, 181, 190, 0.25);
  position: relative;
}

.usp__banner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light-teal), transparent);
  box-shadow: 0 0 15px var(--glow-teal);
}

/* ═══════════════════════════════════════════
   SECTION 7 — LEISTUNGEN (Services)
   ═══════════════════════════════════════════ */

.services {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
}

.services__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  text-align: center;
  text-shadow: 0 0 40px rgba(117, 181, 190, 0.2);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(117, 181, 190, 0.08);
  background: linear-gradient(135deg, rgba(11, 52, 58, 0.4), rgba(11, 52, 58, 0.15));
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light-teal), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: rgba(117, 181, 190, 0.2);
  background: linear-gradient(135deg, rgba(11, 52, 58, 0.6), rgba(11, 52, 58, 0.3));
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(117, 181, 190, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(45, 121, 135, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-teal);
  font-size: 1.2rem;
  font-family: var(--font-body);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(45, 121, 135, 0.05);
}

.service-card:hover .service-card__icon {
  border-color: var(--light-teal);
  box-shadow: 0 0 20px rgba(117, 181, 190, 0.2);
  background: rgba(45, 121, 135, 0.12);
  transform: rotateY(180deg);
}

.service-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SECTION 8 — SELECTED WORK
   ═══════════════════════════════════════════ */

.work {
  padding: var(--section-pad);
  background: var(--dark-navy);
  position: relative;
}

.work__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  text-align: center;
  text-shadow: 0 0 40px rgba(117, 181, 190, 0.2);
}

.work__cases {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.case-study {
  border: 1px solid rgba(117, 181, 190, 0.08);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.15));
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  transition: border-color 0.4s, box-shadow 0.4s;
  position: relative;
}

.case-study::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--light-teal), var(--primary-teal), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-study:hover {
  border-color: rgba(117, 181, 190, 0.15);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

.case-study:hover::before {
  transform: scaleY(1);
}

.case-study__header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(117, 181, 190, 0.08);
}

.case-study__client {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.case-study__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-align: right;
  line-height: 1.8;
}

.case-study__meta a {
  color: var(--light-teal);
  transition: text-shadow 0.3s;
}

.case-study__meta a::after {
  content: ' \2197';
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-study__meta a:hover {
  text-shadow: 0 0 15px rgba(117, 181, 190, 0.5);
}

.case-study__meta a:hover::after {
  transform: translate(2px, -2px);
}

.case-study__description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.case-study__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-teal);
  margin-bottom: 0.75rem;
}

.case-study__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.case-study__list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.case-study__list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-size: 0.85rem;
}

.case-study__result {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(117, 181, 190, 0.08);
  font-weight: 600;
  color: var(--light-teal);
  font-size: 0.95rem;
  text-shadow: 0 0 20px rgba(117, 181, 190, 0.15);
}

/* ═══════════════════════════════════════════
   SECTION 9 — WHY JCI
   ═══════════════════════════════════════════ */

.why {
  padding: clamp(6rem, 15vh, 12rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300%;
  height: 300%;
  background: radial-gradient(ellipse 25% 25% at 50% 50%, rgba(45, 121, 135, 0.15) 0%, transparent 60%);
  pointer-events: none;
  animation: strahlenPulse 6s ease-in-out infinite alternate;
}

.why .container { position: relative; z-index: 1; }

.why__headline {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.why__text {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--light-teal);
  font-weight: 600;
  text-shadow: 0 0 40px rgba(117, 181, 190, 0.3);
}

/* ═══════════════════════════════════════════
   SECTION 10 — CTA / KONTAKT
   ═══════════════════════════════════════════ */

.cta {
  padding: var(--section-pad);
  background: var(--dark-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 130%;
  background:
    radial-gradient(ellipse 45% 45% at 50% 75%, rgba(45, 121, 135, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 25% 25% at 30% 85%, rgba(117, 181, 190, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 25% 25% at 70% 85%, rgba(117, 181, 190, 0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: strahlenPulse 8s ease-in-out infinite alternate;
}

.cta .container { position: relative; z-index: 1; }

.cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-shadow:
    0 0 40px rgba(117, 181, 190, 0.3),
    0 0 80px rgba(117, 181, 190, 0.1);
}

.cta__text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ── JAX in CTA ── */
.cta__jax {
  margin-bottom: 2rem;
}

.cta__jax-img {
  width: 100px;
  height: auto;
  margin: 0 auto;
  opacity: 0.5;
  filter: drop-shadow(0 0 20px rgba(117, 181, 190, 0.3));
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta__jax-img:hover {
  opacity: 0.85;
  transform: scale(1.08);
  filter: drop-shadow(0 0 40px rgba(117, 181, 190, 0.5));
}

.cta .btn {
  margin-bottom: 4rem;
}

.cta__contact {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2.2;
}

.cta__contact strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.cta__contact a {
  color: var(--light-teal);
  transition: text-shadow 0.3s;
}

.cta__contact a:hover {
  text-shadow: 0 0 20px rgba(117, 181, 190, 0.5);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  background: var(--black);
  border-top: 1px solid rgba(117, 181, 190, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, text-shadow 0.3s;
}

.footer a:hover {
  color: var(--light-teal);
  text-shadow: 0 0 10px rgba(117, 181, 190, 0.3);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__link-btn {
  background: none;
  border: none;
  font: inherit;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s, text-shadow 0.3s;
}

.footer__link-btn:hover {
  color: var(--light-teal);
  text-shadow: 0 0 10px rgba(117, 181, 190, 0.3);
}

/* ═══════════════════════════════════════════
   MODALS (Impressum / Datenschutz)
   ═══════════════════════════════════════════ */

.modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: min(680px, 92vw);
  max-height: 85vh;
  width: 100%;
  color: var(--white);
  overflow: visible;
  margin: auto;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal[open] {
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal[open]::backdrop {
  animation: backdropIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal__inner {
  background: var(--dark-navy);
  border: 1px solid rgba(117, 181, 190, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(45, 121, 135, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(117, 181, 190, 0.1);
  flex-shrink: 0;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(117, 181, 190, 0.2);
}

.modal__close {
  background: none;
  border: 1px solid rgba(117, 181, 190, 0.2);
  color: var(--white);
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.modal__close:hover {
  border-color: var(--light-teal);
  background: rgba(45, 121, 135, 0.15);
  box-shadow: 0 0 15px rgba(117, 181, 190, 0.15);
}

.modal__body {
  padding: 2rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-teal) transparent;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.modal__body h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.modal__body h3:first-child {
  margin-top: 0;
}

.modal__body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--light-teal);
  margin: 1.25rem 0 0.4rem;
}

.modal__body p {
  margin-bottom: 0.75rem;
}

.modal__body a {
  color: var(--light-teal);
  transition: text-shadow 0.3s;
}

.modal__body a:hover {
  text-shadow: 0 0 15px rgba(117, 181, 190, 0.5);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual { order: -1; }

  .about__visual-inner {
    max-width: 220px;
  }

  .founder .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder__portrait {
    width: 140px;
    height: 140px;
  }

  .case-study {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .case-study__header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .case-study__meta { text-align: left; }

  .usp__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }

  /* Hero stacks on tablet already */
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    text-align: center;
    order: 2;
  }

  .hero__jax {
    order: 1;
    justify-content: center;
  }

  .hero__jax-img {
    width: clamp(220px, 35vw, 340px);
  }

  .hero__subheadline {
    margin: 0 auto 1.25rem;
  }
}

@media (max-width: 640px) {
  /* Burger nav */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 100%);
    height: calc(100dvh - 100%);
    background: rgba(11, 52, 58, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav.menu-open {
    transition: none;
  }

  .nav__links.open { display: flex; }

  .nav__links a {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    padding: 1rem 0;
  }

  .nav__burger {
    display: flex;
    z-index: 1001;
  }

  /* Hero mobile */
  .hero__jax-img {
    width: 60vw;
    max-width: 280px;
  }

  .hero__headline {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero__subheadline br,
  .hero__description br {
    display: none;
  }

  .hero__scroll { display: none; }

  /* Tighter section padding */
  :root {
    --section-pad: clamp(3rem, 8vh, 5rem) clamp(1rem, 4vw, 1.5rem);
  }

  /* Positioning closing box */
  .positioning__closing {
    padding: 1.25rem 1.5rem;
  }

  /* Founder closing box */
  .founder__closing {
    padding: 1.25rem 1.5rem;
  }

  /* Case studies tighter */
  .case-study {
    padding: 1.5rem;
  }

  /* USP banner tighter */
  .usp__banner {
    padding: 1.5rem 1.25rem;
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  /* CTA headline */
  .cta__headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Why section tighter */
  .why {
    padding: clamp(4rem, 10vh, 6rem) clamp(1rem, 4vw, 1.5rem);
  }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero__headline,
  .hero__subheadline,
  .hero__description,
  .hero .btn,
  .hero__jax {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
