:root {
  --primary: #0b1f3a;
  --accent: #d4af37;
  --bg: #ffffff;
  --text: #111111;
  --muted: #5f6470;
  --line: rgba(11, 31, 58, 0.14);
  --maxw: 1220px;
  --radius: 20px;
  --ease: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--maxw));
  margin: 0 auto;
}

.section {
  padding: clamp(5rem, 9vw, 8.2rem) 0;
}

h1,
h2,
h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1.07;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.08);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--primary);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: flex-end;
  background: url("../images/hero.jpg") center center / cover no-repeat;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 31, 58, 0.95) 0%,
    rgba(11, 31, 58, 0.45) 35%,
    rgba(11, 31, 58, 0.1) 85%,
    rgba(11, 31, 58, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: clamp(4.3rem, 8vw, 7.5rem);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffda6a;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  color: #ffffff;
  max-width: 11ch;
  margin-bottom: 1.35rem;
}

.hero-subheadline {
  max-width: 58ch;
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.92);
  color: #ffffff;
  background: rgba(11, 31, 58, 0.45);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease),
    color var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.92);
  color: var(--primary);
  box-shadow: 0 18px 36px rgba(11, 31, 58, 0.15);
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
}

.about-image img {
  border-radius: var(--radius);
  min-height: 580px;
  object-fit: cover;
  box-shadow: 0 24px 54px rgba(11, 31, 58, 0.15);
}

.about-copy h2 {
  margin-bottom: 2rem;
  max-width: 15ch;
}

.about-copy p {
  max-width: 62ch;
  color: #252525;
  font-size: 1.03rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-close {
  font-weight: 500;
  color: var(--primary);
}

.section-head {
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 22px 40px rgba(11, 31, 58, 0.09);
}

.service-card img {
  height: 230px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.service-card h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.85rem;
  font-size: 1.5rem;
}

.service-card p {
  color: #2f3138;
  padding-bottom: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 0;
}

.product-card h3 {
  margin-top: 0;
}

.product-card p {
  line-height: 1.8;
}

.why {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.why-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.why-list li {
  position: relative;
  padding: 1.15rem 1rem 1.15rem 2.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #232323;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  font-weight: 500;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    z-index 0s;
  z-index: 1;
}

.why-list li:hover {
  transform: scale(1.15);
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
  z-index: 10;
  background: #ffffff;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.6rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.cta {
  background: var(--primary);
  color: #fff;
}

.cta-inner {
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1.65rem;
}

/* Contact Form */
.contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
  opacity: 0.9;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition:
    border-color var(--ease),
    background-color var(--ease),
    box-shadow var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.contact-form button.btn {
  margin-top: 0.5rem;
  width: 100%;
  cursor: pointer;
  background: rgba(212, 175, 55, 0.95);
  color: var(--primary);
  border-color: rgba(212, 175, 55, 0.95);
}

.contact-form button.btn:hover,
.contact-form button.btn:focus-visible {
  background: transparent;
  color: #fff;
}

.cta .btn {
  background: rgba(212, 175, 55, 0.95);
  color: var(--primary);
  border-color: rgba(212, 175, 55, 0.95);
}

.cta .btn:hover,
.cta .btn:focus-visible {
  background: transparent;
  color: #fff;
}

.site-footer {
  padding: 2.6rem 0 3rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  text-align: center;
}

.footer-inner p:first-child {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

.footer-inner p:last-child {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

@media (max-width: 1040px) {
  .about-grid,
  .why-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    min-height: 340px;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--ease),
      transform var(--ease),
      visibility var(--ease);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 4%;
  }

  .hero {
    align-items: center;
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .hero-subheadline {
    font-size: 1rem;
  }
}

/* --- Process Timeline --- */
.process {
  background: #fafbfc;
}

.timeline {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition:
    box-shadow var(--ease),
    border-color var(--ease),
    transform var(--ease);
}

.timeline-step:hover {
  box-shadow: 0 16px 32px rgba(11, 31, 58, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.timeline-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  font-family: inherit;
  transition: background-color var(--ease);
}

.timeline-step:hover .timeline-trigger {
  background: rgba(250, 251, 252, 0.5);
}

.step-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.9;
}

.timeline-trigger h3 {
  margin: 0;
  font-size: 1.35rem;
  flex: 1;
}

.icon-toggle {
  width: 28px;
  height: 28px;
  position: relative;
  transition: transform var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-toggle::before,
.icon-toggle::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: transform var(--ease);
  border-radius: 2px;
}

.icon-toggle::before {
  width: 14px;
  height: 2px;
}

.icon-toggle::after {
  width: 2px;
  height: 14px;
}

.timeline-step.active .icon-toggle {
  transform: rotate(180deg);
}

.timeline-step.active .icon-toggle::after {
  transform: scaleY(0);
}

.timeline-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 500ms ease,
    padding 500ms ease,
    opacity 500ms ease;
  opacity: 0;
  padding: 0 2rem;
}

.timeline-content p {
  color: #2f3138;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.timeline-step.active .timeline-content {
  max-height: 400px;
  opacity: 1;
}

/* Zeigarnik Pulse Teaser */
@keyframes softPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(212, 175, 55, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.pulse-trigger .icon-toggle {
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  animation: softPulse 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-step.active .pulse-trigger .icon-toggle,
.timeline-step:hover .pulse-trigger .icon-toggle {
  animation: none;
}
