:root {
  --gn-ivory: #efe4d6;
  --gn-bronze: #c4ad9e;
  --gn-gold: #dcc2a4;
  --gn-umber: #1a120d;
  --gn-onyx: #0f0a07;
  --gn-shadow: rgba(5, 4, 3, 0.55);
}

.gn-prozess-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(73, 54, 39, 0.45), transparent 45%),
    radial-gradient(circle at 80% 12%, rgba(92, 70, 52, 0.3), transparent 40%),
    linear-gradient(160deg, #0d0907 0%, #1a120d 55%, #130e0b 100%);
  color: var(--gn-ivory);
  font-family: "Source Sans 3", sans-serif;
}

.gn-prozess-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gn-prozess-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}

.gn-prozess-hero-bg {
  position: absolute;
  inset: -20% 0 0;
  background:
    radial-gradient(circle at 40% 20%, rgba(196, 173, 158, 0.25), transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(140, 110, 85, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(15, 10, 7, 0.2) 0%, rgba(15, 10, 7, 0.7) 100%);
  opacity: 0.9;
  animation: gnGlow 10s ease-in-out infinite alternate;
}

.gn-prozess-hero-content {
  position: relative;
  z-index: 1;
}

.gn-prozess-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: rgba(220, 194, 164, 0.7);
  margin-top: 1.5cm;
  margin-bottom: 24px;
  animation: gnReveal 0.9s ease both;
}

.gn-prozess-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 5vw, 76px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: gnReveal 1.1s ease both;
}

.gn-prozess-stitch {
  position: relative;
  height: 16px;
  margin-bottom: 28px;
  --stitch-progress: 0;
}

.gn-prozess-thread {
  position: absolute;
  left: -40px;
  right: 0;
  top: 50%;
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(220, 194, 164, 0.7),
      rgba(220, 194, 164, 0.7) 1px,
      transparent 1px,
      transparent 10px
    );
  transform: translateY(-50%) scaleX(var(--stitch-progress));
  transform-origin: left;
  transition: transform 0.15s ease;
}

.gn-prozess-needle {
  position: absolute;
  top: 50%;
  left: calc(var(--stitch-progress) * 100%);
  width: 28px;
  height: 10px;
  border-top: 1px solid rgba(239, 228, 214, 0.9);
  border-bottom: 1px solid rgba(239, 228, 214, 0.5);
  transform: translate(-50%, -50%);
  opacity: calc(0.2 + var(--stitch-progress) * 0.8);
  transition: opacity 0.15s ease;
}

.gn-prozess-hero-sub {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(239, 228, 214, 0.78);
  animation: gnReveal 1.4s ease both;
}

.gn-prozess-gallery {
  padding: 20px 0 120px;
}

.gn-prozess-intro {
  max-width: 620px;
  margin-bottom: 40px;
}

.gn-prozess-intro h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  margin-bottom: 12px;
}

.gn-prozess-intro p {
  color: rgba(239, 228, 214, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.gn-prozess-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gn-prozess-exhibit {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(196, 173, 158, 0.22);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20, 16, 14, 0.95), rgba(14, 11, 10, 0.98));
  box-shadow: 0 26px 70px rgba(5, 4, 3, 0.55);
  animation: gnLift 1.4s ease both;
  overflow: hidden;
}

.gn-prozess-exhibit:nth-child(2) {
  animation-delay: 0.2s;
}

.gn-prozess-exhibit:nth-child(3) {
  animation-delay: 0.35s;
}

.gn-prozess-exhibit h3 {
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gn-prozess-media {
  position: relative;
  height: 180px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(196, 173, 158, 0.2);
  background: linear-gradient(135deg, rgba(25, 20, 18, 0.9), rgba(12, 10, 9, 0.98));
  overflow: hidden;
}

.gn-prozess-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.35) contrast(1.05) saturate(0.85);
}

.gn-prozess-image-placeholder {
  height: 100%;
  width: 100%;
  position: relative;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 228, 214, 0.6);
  background:
    radial-gradient(circle at 20% 20%, rgba(220, 194, 164, 0.12), transparent 45%),
    linear-gradient(160deg, rgba(18, 14, 12, 0.7), rgba(12, 10, 9, 0.95));
}

.gn-prozess-image-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gn-prozess-card-sub {
  color: rgba(239, 228, 214, 0.68);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
}

.gn-prozess-atelier {
  padding: 80px 0;
  border-top: 1px solid rgba(196, 173, 158, 0.2);
  border-bottom: 1px solid rgba(196, 173, 158, 0.2);
}

.gn-prozess-atelier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.gn-prozess-atelier-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  margin-bottom: 6px;
}

.gn-prozess-atelier-text p {
  color: rgba(239, 228, 214, 0.72);
  line-height: 1.6;
  margin: 0 !important;
}

.gn-prozess-atelier-cta {
  margin-top: 16px;
}

.gn-prozess-atelier-panel {
  position: relative;
  padding: 28px 28px 32px;
  background: rgba(18, 12, 9, 0.8);
  border: 1px solid rgba(196, 173, 158, 0.35);
  box-shadow: inset 0 0 0 1px rgba(196, 173, 158, 0.08), 0 20px 50px var(--gn-shadow);
}

.gn-prozess-panel-line {
  position: absolute;
  inset: 24px auto 24px 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(220, 194, 164, 0.6), transparent);
}

.gn-prozess-panel-label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(220, 194, 164, 0.7);
  margin-bottom: 18px;
  padding-left: 12px;
}

.gn-prozess-panel-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(239, 228, 214, 0.7);
  padding-left: 12px;
}


.gn-prozess-elias {
  padding: 120px 0;
}

.gn-prozess-elias-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: stretch;
}

.gn-prozess-portrait {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.gn-prozess-portrait-image {
  flex: 1;
  height: 360px;
  border-radius: 10px;
  border: 1px solid rgba(196, 173, 158, 0.4);
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(130deg, rgba(52, 38, 28, 0.6), rgba(22, 15, 11, 0.95)),
    repeating-linear-gradient(45deg, rgba(220, 194, 164, 0.08), rgba(220, 194, 164, 0.08) 6px, transparent 6px, transparent 14px);
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 194, 164, 0.6);
}

.gn-prozess-portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gn-prozess-plaque {
  margin-top: auto;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid rgba(196, 173, 158, 0.35);
  background: rgba(16, 11, 8, 0.8);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gn-prozess-bio {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gn-prozess-bio-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gn-prozess-bio-toggle {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(220, 194, 164, 0.6);
  background: rgba(18, 12, 9, 0.7);
  color: rgba(220, 194, 164, 0.9);
  font-size: 0;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.gn-prozess-bio-toggle::before {
  content: "+";
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  transform: translateY(-1px);
}

.gn-prozess-bio-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 194, 164, 0.85);
  color: #dcc2a4;
}

.gn-prozess-bio-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.gn-prozess-bio-text.is-open {
  max-height: 1200px;
  opacity: 1;
}

.gn-prozess-bio h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  margin-bottom: 18px;
}

.gn-prozess-bio p {
  color: rgba(239, 228, 214, 0.72);
  line-height: 1.8;
  margin-bottom: 16px;
}

.gn-prozess-elias-note {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(196, 173, 158, 0.25);
  background: linear-gradient(140deg, rgba(18, 12, 9, 0.92), rgba(24, 16, 12, 0.85));
  box-shadow: inset 0 0 0 1px rgba(196, 173, 158, 0.08), 0 20px 45px var(--gn-shadow);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: gnLift 0.8s ease 0.2s forwards;
}

.gn-prozess-elias-image {
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(196, 173, 158, 0.35);
  background:
    linear-gradient(130deg, rgba(52, 38, 28, 0.5), rgba(22, 15, 11, 0.85)),
    repeating-linear-gradient(45deg, rgba(220, 194, 164, 0.08), rgba(220, 194, 164, 0.08) 6px, transparent 6px, transparent 14px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.gn-prozess-elias-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.gn-prozess-elias-placeholder {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 194, 164, 0.7);
}

.gn-prozess-elias-text h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 194, 164, 0.9);
}

.gn-prozess-elias-text p {
  margin: 0;
  color: rgba(239, 228, 214, 0.68);
  line-height: 1.6;
}

.gn-prozess-cta {
  padding: 100px 0 140px;
}

.gn-prozess-cta-card {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid rgba(196, 173, 158, 0.25);
  background: linear-gradient(180deg, rgba(18, 12, 9, 0.9), rgba(26, 18, 13, 0.9));
  box-shadow: 0 30px 60px var(--gn-shadow);
}

.gn-prozess-cta-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  margin-bottom: 12px;
}

.gn-prozess-cta-card p {
  color: rgba(239, 228, 214, 0.7);
  margin-bottom: 24px;
}

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

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

@keyframes gnGlow {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}

@media (max-width: 991px) {
  .gn-prozess-grid {
    grid-template-columns: 1fr;
  }

  .gn-prozess-atelier-grid,
  .gn-prozess-elias-grid {
    grid-template-columns: 1fr;
  }

  .gn-prozess-hero {
    padding: 120px 0 80px;
  }

  .gn-prozess-portrait {
    order: -1;
  }

  .gn-prozess-elias-note {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .gn-prozess-bio {
    justify-content: space-between;
  }
}

@media (max-width: 575px) {
  .gn-prozess-hero {
    padding: 90px 0 60px;
  }

  .gn-prozess-eyebrow {
    margin-top: 2.5cm;
    margin-bottom: 16px;
  }

  .gn-prozess-hero-title {
    font-size: clamp(28px, 7.2vw, 40px);
    line-height: 1.1;
    margin-bottom: 14px;
    white-space: nowrap;
  }

  .gn-prozess-intro h2 {
    font-size: clamp(20px, 5.6vw, 28px);
    white-space: nowrap;
  }

  .gn-prozess-cta-card {
    padding: 36px 24px;
  }

  .gn-prozess-atelier-cta {
    display: flex;
    justify-content: center;
  }

  .gn-prozess-bio-title {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gn-prozess-hero-bg,
  .gn-prozess-exhibit,
  .gn-prozess-hero-title,
  .gn-prozess-hero-sub,
  .gn-prozess-eyebrow {
    animation: none;
  }
}
