/* ════════════════════════════════════════════════════════════════════════════
   GLICHEKOM · PUBLIC SITE · 2026-05
   ----------------------------------------------------------------------------
   Mobile-first stylesheet for the public homepage.
   Black/orange brand identity that matches the portal aesthetic.
   Inter font, performant transforms, no layout-thrash animations.
   ════════════════════════════════════════════════════════════════════════════ */

/* ---------- 0. Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gk-text);
  background: var(--gk-bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--gk-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gk-orange-hi); }

/* ---------- 1. Design tokens ---------- */

:root {
  /* Surfaces */
  --gk-bg-0:        #080a0d;
  --gk-bg-1:        #0d1117;
  --gk-bg-2:        #11161d;
  --gk-panel:       #11161d;
  --gk-panel-2:     rgba(20, 26, 34, .72);
  --gk-line:        rgba(255, 255, 255, .08);
  --gk-line-strong: rgba(255, 122, 0, .28);

  /* Text */
  --gk-text:    #ecf2f8;
  --gk-text-2:  rgba(236, 242, 248, .72);
  --gk-text-3:  rgba(236, 242, 248, .48);

  /* Accent */
  --gk-orange:    #ff7a00;
  --gk-orange-hi: #ffa040;
  --gk-orange-lo: #d35f00;
  --gk-orange-soft: rgba(255, 122, 0, .12);
  --gk-orange-glow: 0 0 36px rgba(255, 122, 0, .35);

  /* Signal */
  --gk-green: #45e0a5;
  --gk-red:   #ff6b6b;

  /* Layout */
  --gk-radius-sm: 10px;
  --gk-radius:    14px;
  --gk-radius-lg: 22px;
  --gk-radius-xl: 28px;
  --gk-max-w:     1240px;
  --gk-gutter:    clamp(16px, 4vw, 32px);

  /* Motion */
  --gk-ease:    cubic-bezier(.2, .8, .2, 1);
  --gk-ease-2:  cubic-bezier(.65, .05, .35, 1);
  --gk-dur:     .42s;

  /* Shadows */
  --gk-shadow-sm: 0 4px 14px rgba(0,0,0,.36);
  --gk-shadow:    0 18px 48px rgba(0,0,0,.42);
  --gk-shadow-lg: 0 32px 88px rgba(0,0,0,.55);
}

/* ---------- 2. Typography ---------- */

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
h1 { font-size: clamp(1.85rem, 6vw, 4.4rem); letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--gk-text-2); overflow-wrap: break-word; }
strong { color: var(--gk-text); }

.gk-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gk-orange);
  margin-bottom: 18px;
  max-width: 100%;
}
.gk-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--gk-orange);
  border-radius: 2px;
}

.gk-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--gk-text-2);
  max-width: min(62ch, 100%);
}

/* ---------- 3. Layout primitives ---------- */

.gk-container {
  width: 100%;
  max-width: var(--gk-max-w);
  margin-inline: auto;
  padding-inline: var(--gk-gutter);
}

section { padding-block: clamp(64px, 9vw, 120px); position: relative; }

/* alternate stripes to add rhythm */
.gk-strip-1 { background: var(--gk-bg-0); }
.gk-strip-2 { background: linear-gradient(180deg, var(--gk-bg-0) 0%, var(--gk-bg-1) 60%, var(--gk-bg-0) 100%); }

/* ---------- 4. Header / nav ---------- */

.gk-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .3s var(--gk-ease), backdrop-filter .3s var(--gk-ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.gk-header.is-scrolled {
  background: rgba(8, 10, 13, .82);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom-color: var(--gk-line);
}

.gk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gk-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gk-text);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1rem;
}
.gk-brand img { width: 38px; height: 38px; object-fit: contain; }
.gk-brand__name b { color: var(--gk-orange); }

.gk-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.gk-nav a {
  color: var(--gk-text-2);
  font-weight: 500;
  font-size: .94rem;
  letter-spacing: .01em;
  padding: 8px 2px;
  position: relative;
  transition: color .2s;
}
.gk-nav a:hover { color: var(--gk-text); }
.gk-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gk-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--gk-ease);
}
.gk-nav a:hover::after,
.gk-nav a.is-active::after { transform: scaleX(1); }

.gk-nav__cta {
  padding: 9px 18px !important;
  border-radius: var(--gk-radius-sm);
  background: var(--gk-orange);
  color: #0a0c10 !important;
  font-weight: 600;
}
.gk-nav__cta:hover { background: var(--gk-orange-hi); color: #0a0c10 !important; }
.gk-nav__cta::after { display: none; }

.gk-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--gk-line);
  border-radius: 12px;
  color: var(--gk-text);
}
.gk-menu-btn svg { width: 22px; height: 22px; }

@media (min-width: 880px) {
  .gk-nav { display: inline-flex; }
  .gk-menu-btn { display: none; }
}

.gk-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 13, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gk-gutter) 40px;
  transform: translateY(-100%);
  transition: transform .42s var(--gk-ease);
  pointer-events: none;
}
.gk-mobile-menu.is-open { transform: translateY(0); pointer-events: auto; }
.gk-mobile-menu__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.gk-mobile-menu__close {
  width: 42px; height: 42px;
  border: 1px solid var(--gk-line);
  background: transparent;
  border-radius: 12px;
  color: var(--gk-text);
  display: inline-flex; align-items: center; justify-content: center;
}
.gk-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gk-mobile-menu nav a {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gk-text);
  padding: 14px 0;
  border-bottom: 1px solid var(--gk-line);
}
.gk-mobile-menu nav a:hover { color: var(--gk-orange); }

/* ---------- 5. Buttons ---------- */

.gk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--gk-radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--gk-ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.gk-btn--primary {
  background: linear-gradient(135deg, var(--gk-orange) 0%, var(--gk-orange-lo) 100%);
  color: #0a0c10;
  box-shadow: 0 12px 32px rgba(255, 122, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.gk-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 122, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .25);
  color: #0a0c10;
}
.gk-btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--gk-text);
  border-color: var(--gk-line);
  backdrop-filter: blur(8px);
}
.gk-btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--gk-line-strong);
  color: var(--gk-text);
}

/* ---------- 6. Hero ---------- */

.gk-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}

.gk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 122, 0, .14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 122, 0, .08), transparent 60%),
    linear-gradient(180deg, #060709 0%, #0a0d12 50%, #080a0d 100%);
}

/* subtle moving grid */
.gk-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 122, 0, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 0, .08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  animation: gk-grid-drift 60s linear infinite;
}
@keyframes gk-grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 80px 80px, 80px 80px; }
}

.gk-hero__inner {
  position: relative;
  width: 100%;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .gk-hero__inner { grid-template-columns: 1.05fr .95fr; }
}

.gk-hero__copy h1 {
  background: linear-gradient(180deg, #ffffff 0%, #c8d2dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gk-hero__copy h1 .gk-accent {
  background: linear-gradient(135deg, var(--gk-orange) 0%, var(--gk-orange-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gk-hero__copy .gk-lead { margin-bottom: 36px; }

.gk-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.gk-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--gk-line);
}
.gk-hero__stat { min-width: 0; }
.gk-hero__stat .num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gk-orange);
  letter-spacing: -.02em;
}
.gk-hero__stat .lbl {
  display: block;
  font-size: clamp(.62rem, 1.6vw, .78rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gk-text-3);
  margin-top: 6px;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ---- Hero layer animation stage ---- */

.gk-hero__stage {
  position: relative;
  width: 100%;
  /* aspect ratio comes from the PSD canvas (4402x2866 -> 1.536) */
  aspect-ratio: 1.536 / 1;
  max-width: 640px;
  margin-inline: auto;
  perspective: 1400px;
  transform-style: preserve-3d;
}
@media (min-width: 980px) { .gk-hero__stage { margin-inline: 0 0 0 auto; } }

/* ── Video-Modus (2.5D MP4 ersetzt die PNG-Layer-Parallax) ─────── */
.gk-hero__stage--video {
  /* MP4 ist 16:9 (1.7778) */
  aspect-ratio: 16 / 9;
  max-width: 720px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, .55),
    0 4px 14px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
  background: #000302;
}
.gk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  /* Subtle entrance fade */
  opacity: 0;
  animation: gk-hero-video-in 1.0s var(--gk-ease, ease-out) 0.15s forwards;
}
@keyframes gk-hero-video-in {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .gk-hero__video { animation: none; opacity: 1; }
}

.gk-hero__layer {
  position: absolute;
  /* JS sets left/top/width via inline style based on manifest rel_* */
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  pointer-events: none;
  opacity: 0;
  transition: opacity .9s var(--gk-ease);
  /* slight orange tint glow for thematic cohesion */
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55));
}
.gk-hero__layer.is-in { opacity: 1; }

.gk-hero__layer img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* aura behind the logo */
.gk-hero__aura {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 122, 0, .35) 0%, rgba(255, 122, 0, 0) 60%);
  animation: gk-aura 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gk-aura {
  0%, 100% { transform: scale(1);   opacity: .9; }
  50%      { transform: scale(1.06); opacity: 1; }
}

/* hint to scroll */
.gk-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gk-text-3);
  pointer-events: none;
}
.gk-scroll-hint__bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent 0%, var(--gk-orange) 100%);
  animation: gk-scroll 2.2s ease-in-out infinite;
}
@keyframes gk-scroll {
  0%   { transform: scaleY(.2); transform-origin: top; opacity: .2; }
  50%  { transform: scaleY(1);  transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1);  transform-origin: bottom; }
  100% { transform: scaleY(.2); transform-origin: bottom; opacity: .2; }
}

/* ---------- 7. Section heads ---------- */

.gk-section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.gk-section-head.is-center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- 8. About / value cards ---------- */

.gk-value-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .gk-value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .gk-value-grid { grid-template-columns: repeat(3, 1fr); } }

.gk-card {
  position: relative;
  background: var(--gk-panel);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-lg);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform .35s var(--gk-ease), border-color .35s, box-shadow .35s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.gk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 0, .55), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.gk-card:hover {
  transform: translateY(-4px);
  border-color: var(--gk-line-strong);
  box-shadow: var(--gk-shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.gk-card:hover::before { opacity: 1; }

.gk-card__icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 122, 0, .18), rgba(255, 122, 0, .06));
  border: 1px solid rgba(255, 122, 0, .25);
  color: var(--gk-orange);
  margin-bottom: 18px;
}
.gk-card__icon svg { width: 26px; height: 26px; }

.gk-card h3 { margin-bottom: 8px; }
.gk-card p { margin-bottom: 0; font-size: .95rem; }

/* ---------- 9. Leistungen (service list) ---------- */

.gk-service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .gk-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .gk-service-grid { grid-template-columns: repeat(3, 1fr); } }

.gk-service {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(20, 26, 34, .82), rgba(13, 17, 23, .82));
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  transition: border-color .25s, transform .25s var(--gk-ease);
}
.gk-service:hover {
  border-color: var(--gk-line-strong);
  transform: translateY(-2px);
}
.gk-service__num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gk-orange-soft);
  color: var(--gk-orange);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
}
.gk-service h4 { margin-bottom: 4px; font-size: 1rem; }
.gk-service p { font-size: .88rem; margin: 0; color: var(--gk-text-2); }

/* ---------- 10. Gallery ---------- */

.gk-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
}
@media (min-width: 520px) {
  .gk-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 980px) {
  .gk-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
  }
  /* dynamic layout: 1st spans 2x2 hero, 4th spans 2x1 wide */
  .gk-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gk-gallery__item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
}

.gk-gallery__item {
  position: relative;
  border-radius: var(--gk-radius);
  overflow: hidden;
  background: var(--gk-bg-2);
  cursor: zoom-in;
  aspect-ratio: 4/3;
  border: 1px solid var(--gk-line);
  transition: transform .4s var(--gk-ease), border-color .25s;
}
.gk-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--gk-ease), filter .4s;
}
.gk-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.gk-gallery__item:hover { border-color: var(--gk-line-strong); }
.gk-gallery__item:hover img { transform: scale(1.06); }
.gk-gallery__item:hover::after { opacity: 1; }
.gk-gallery__caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 12px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--gk-ease);
}
.gk-gallery__item:hover .gk-gallery__caption { opacity: 1; transform: translateY(0); }

/* lightbox */
.gk-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, .96);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.gk-lightbox.is-open { opacity: 1; pointer-events: auto; }
.gk-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: var(--gk-shadow-lg);
}
.gk-lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--gk-line);
  color: var(--gk-text);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- 11. Karriere section + form ---------- */

.gk-career {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .gk-career { grid-template-columns: 1fr 1.15fr; align-items: start; }
}

.gk-perks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.gk-perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.gk-perk__check {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gk-orange);
  color: #0a0c10;
  display: inline-flex; align-items: center; justify-content: center;
}
.gk-perk__check svg { width: 16px; height: 16px; }
.gk-perk h4 { margin: 0 0 2px; font-size: .98rem; }
.gk-perk p { margin: 0; font-size: .88rem; }

.gk-form {
  background: var(--gk-panel);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--gk-shadow);
  position: relative;
  overflow: hidden;
}
.gk-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gk-orange) 0%, var(--gk-orange-hi) 50%, var(--gk-orange) 100%);
}
.gk-form h3 { margin-bottom: 6px; }
.gk-form p.gk-form__intro { color: var(--gk-text-2); margin-bottom: 28px; }

.gk-form__row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}
@media (min-width: 620px) {
  .gk-form__row.gk-form__row--2 { grid-template-columns: 1fr 1fr; }
}

.gk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gk-field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gk-text-3);
}
.gk-field label .req { color: var(--gk-orange); margin-left: 3px; }

.gk-input,
.gk-select,
.gk-textarea {
  width: 100%;
  background: rgba(8, 10, 13, .72);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius-sm);
  padding: 13px 14px;
  color: var(--gk-text);
  font-size: .95rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.gk-textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.gk-input:focus,
.gk-select:focus,
.gk-textarea:focus {
  outline: none;
  border-color: var(--gk-orange);
  background: rgba(8, 10, 13, .9);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .18);
}
.gk-input::placeholder,
.gk-textarea::placeholder { color: var(--gk-text-3); }
.gk-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gk-orange) 50%),
    linear-gradient(135deg, var(--gk-orange) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.gk-select option { background: var(--gk-bg-1); color: var(--gk-text); }

/* file upload */
.gk-file {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(8, 10, 13, .72);
  border: 1px dashed var(--gk-line);
  border-radius: var(--gk-radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.gk-file:hover { border-color: var(--gk-orange); background: rgba(8, 10, 13, .9); }
.gk-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.gk-file__icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gk-orange-soft);
  color: var(--gk-orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.gk-file__text {
  flex: 1;
  font-size: .88rem;
  color: var(--gk-text-2);
}
.gk-file__text strong { color: var(--gk-text); }
.gk-file.is-filled .gk-file__icon { background: rgba(69, 224, 165, .14); color: var(--gk-green); }

.gk-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 6px;
  margin-bottom: 22px;
  font-size: .86rem;
  color: var(--gk-text-2);
}
.gk-consent input[type="checkbox"] {
  appearance: none;
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border: 1px solid var(--gk-line);
  border-radius: 5px;
  background: rgba(8, 10, 13, .72);
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
  margin-top: 1px;
}
.gk-consent input[type="checkbox"]:checked {
  background: var(--gk-orange);
  border-color: var(--gk-orange);
}
.gk-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 11px;
  border-right: 2px solid #0a0c10;
  border-bottom: 2px solid #0a0c10;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* honeypot (hidden) */
.gk-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.gk-form__submit {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.gk-form__msg {
  flex: 1 1 auto;
  font-size: .88rem;
  min-height: 22px;
}
.gk-form__msg.is-error   { color: var(--gk-red); }
.gk-form__msg.is-success { color: var(--gk-green); }

.gk-btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
}
.gk-btn .gk-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: gk-spin .8s linear infinite;
}
.gk-btn.is-loading .gk-spinner { display: inline-block; }
.gk-btn.is-loading .gk-btn__label { opacity: .8; }
@keyframes gk-spin { to { transform: rotate(360deg); } }

/* success card replaces form */
.gk-form-success {
  text-align: center;
  padding: 24px 8px;
}
.gk-form-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(69, 224, 165, .14);
  color: var(--gk-green);
  display: inline-flex; align-items: center; justify-content: center;
}
.gk-form-success__icon svg { width: 30px; height: 30px; }

/* ---------- 12. Contact / footer ---------- */

.gk-contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .gk-contact-grid { grid-template-columns: repeat(3, 1fr); } }

.gk-contact-card {
  background: var(--gk-panel);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  padding: 22px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.gk-contact-card .gk-card__icon { margin-bottom: 0; }
.gk-contact-card h4 { margin: 0 0 4px; font-size: .92rem; color: var(--gk-text-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.gk-contact-card p, .gk-contact-card a { margin: 0; font-size: 1rem; color: var(--gk-text); }
.gk-contact-card a:hover { color: var(--gk-orange); }

.gk-footer {
  background: var(--gk-bg-0);
  border-top: 1px solid var(--gk-line);
  padding: 56px 0 28px;
}
.gk-footer__top {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 720px) { .gk-footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }

.gk-footer h5 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gk-text-3);
  margin: 0 0 14px;
}
.gk-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gk-footer a { color: var(--gk-text-2); font-size: .94rem; }
.gk-footer a:hover { color: var(--gk-orange); }

.gk-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gk-line);
  font-size: .82rem;
  color: var(--gk-text-3);
}
.gk-footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 13. Reveal on scroll ---------- */

.gk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--gk-ease), transform .9s var(--gk-ease);
}
.gk-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.gk-reveal[data-delay="1"] { transition-delay: .08s; }
.gk-reveal[data-delay="2"] { transition-delay: .16s; }
.gk-reveal[data-delay="3"] { transition-delay: .24s; }
.gk-reveal[data-delay="4"] { transition-delay: .32s; }
.gk-reveal[data-delay="5"] { transition-delay: .40s; }
.gk-reveal[data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .gk-reveal { opacity: 1; transform: none; transition: none; }
  .gk-hero__grid { animation: none; }
  .gk-hero__aura { animation: none; }
  .gk-scroll-hint__bar { animation: none; }
  .gk-hero__layer { transition: none; }
}

/* ---------- 14. Legal pages (datenschutz / impressum) ---------- */

.gk-legal {
  padding-block: 140px 80px;
}
.gk-legal__body {
  max-width: 780px;
  margin-inline: auto;
}
.gk-legal__body h2 { margin-top: 36px; }
.gk-legal__body h3 { margin-top: 24px; font-size: 1.1rem; }
.gk-legal__body p,
.gk-legal__body ul { font-size: .96rem; color: var(--gk-text-2); }
.gk-legal__body ul { padding-left: 22px; margin-bottom: 14px; }
.gk-legal__body li { margin-bottom: 4px; }
.gk-legal__body strong { color: var(--gk-text); }
.gk-legal__body a { color: var(--gk-orange); }

/* ---------- 15. Skip link (a11y) ---------- */

.gk-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--gk-orange);
  color: #0a0c10;
  border-radius: 8px;
  font-weight: 600;
}
.gk-skip:focus { left: 14px; }

/* ════════════════════════════════════════════════════════════════════════════
   16. Ticker / marquee strip (Fachbegriffe)
   ════════════════════════════════════════════════════════════════════════════ */

.gk-ticker {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background:
    linear-gradient(90deg, var(--gk-bg-0) 0%, transparent 8%, transparent 92%, var(--gk-bg-0) 100%),
    linear-gradient(180deg, rgba(255,122,0,.04), rgba(255,122,0,.02));
  border-top: 1px solid var(--gk-line);
  border-bottom: 1px solid var(--gk-line);
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, monospace;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gk-text-2);
  user-select: none;
}
.gk-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: gk-ticker 60s linear infinite;
}
.gk-ticker__track span:not(.dot) { color: var(--gk-text); }
.gk-ticker__track .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gk-orange);
  box-shadow: 0 0 10px rgba(255, 122, 0, .55);
  opacity: .9;
}
@keyframes gk-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gk-ticker__track { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   17. Service tags + Toolbar
   ════════════════════════════════════════════════════════════════════════════ */

.gk-service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.gk-service__tags span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 122, 0, .08);
  border: 1px solid rgba(255, 122, 0, .22);
  color: var(--gk-orange);
}

.gk-toolbar {
  margin-top: 42px;
  padding: 22px 24px;
  border-radius: var(--gk-radius-lg);
  border: 1px solid var(--gk-line);
  background:
    linear-gradient(135deg, rgba(255,122,0,.06) 0%, rgba(20,26,34,.4) 70%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 720px) {
  .gk-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
}
.gk-toolbar__label {
  flex: 0 0 auto;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gk-orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gk-toolbar__label::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--gk-orange);
  border-radius: 2px;
}
.gk-toolbar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}
.gk-toolbar__items span {
  font-size: .82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--gk-line);
  color: var(--gk-text);
  transition: background .25s, border-color .25s, transform .25s var(--gk-ease);
}
.gk-toolbar__items span:hover {
  background: rgba(255, 122, 0, .1);
  border-color: rgba(255, 122, 0, .35);
  transform: translateY(-1px);
}

/* extra: a "9-service" grid renders fine in the existing repeat(3,1fr) layout */

/* ════════════════════════════════════════════════════════════════════════════
   18. Gallery — richer captions (always visible label + hover detail)
   ════════════════════════════════════════════════════════════════════════════ */

.gk-gallery__item {
  /* override aspect ratio for richer captions to never crop important content */
  aspect-ratio: 4/3;
}
.gk-gallery__item::after {
  /* deeper gradient so the always-visible caption pops */
  background: linear-gradient(180deg,
    transparent 35%,
    rgba(0, 0, 0, .55) 70%,
    rgba(0, 0, 0, .88) 100%);
  opacity: .85;
}
.gk-gallery__item:hover::after { opacity: 1; }

.gk-gallery__caption {
  /* now always visible, with a richer structure */
  left: 16px; right: 16px; bottom: 14px;
  opacity: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}
.gk-gallery__caption strong {
  font-size: clamp(.86rem, 2.2vw, .98rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .005em;
  text-wrap: balance;
}
.gk-gallery__caption span {
  font-size: clamp(.74rem, 1.9vw, .82rem);
  color: rgba(255, 255, 255, .82);
  line-height: 1.35;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s var(--gk-ease), opacity .35s;
}
@media (min-width: 720px) {
  .gk-gallery__item:hover .gk-gallery__caption span {
    max-height: 60px;
    opacity: 1;
  }
}
/* On touch (no hover) and small screens, always reveal the detail line */
@media (hover: none), (max-width: 719px) {
  .gk-gallery__caption span {
    max-height: 60px;
    opacity: .88;
  }
}

/* a small zoom-in indicator badge */
.gk-gallery__item::before {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(8, 10, 13, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  background-image:
    linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
    linear-gradient(135deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
  background-size: 14px 14px, 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, .88);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s var(--gk-ease);
  z-index: 3;
  pointer-events: none;
}
.gk-gallery__item:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════════════════
   19. Timeline (Ein Tag bei Glichekom)
   ════════════════════════════════════════════════════════════════════════════ */

.gk-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  position: relative;
}
.gk-timeline::before {
  content: '';
  position: absolute;
  left: 64px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 122, 0, .35) 8%,
    rgba(255, 122, 0, .35) 92%,
    transparent 100%);
  z-index: 0;
}
@media (min-width: 720px) {
  .gk-timeline::before { left: 80px; }
}

.gk-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: stretch;
  z-index: 1;
}
@media (min-width: 720px) {
  .gk-timeline__item { grid-template-columns: 80px 1fr; gap: 28px; }
}

.gk-timeline__time {
  position: relative;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gk-orange);
  padding-top: 22px;
  text-align: right;
  white-space: nowrap;
}
@media (min-width: 720px) {
  .gk-timeline__time { font-size: .88rem; letter-spacing: .04em; }
}
.gk-timeline__time::after {
  content: '';
  position: absolute;
  top: 26px;
  right: -7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gk-orange);
  box-shadow: 0 0 0 4px rgba(8, 10, 13, 1), 0 0 0 5px rgba(255, 122, 0, .45),
              var(--gk-orange-glow);
  z-index: 2;
}

.gk-timeline__body {
  background: linear-gradient(180deg, rgba(20, 26, 34, .82), rgba(13, 17, 23, .82));
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  padding: 18px 20px;
  transition: border-color .25s, transform .25s var(--gk-ease);
  transform: translateY(var(--gk-parallax-y, 0));
}
.gk-timeline__body:hover {
  border-color: var(--gk-line-strong);
  transform: translate(4px, var(--gk-parallax-y, 0));
}
.gk-timeline__body h4 {
  margin: 0 0 6px;
  font-size: 1.04rem;
  color: var(--gk-text);
}
.gk-timeline__body p {
  margin: 0;
  font-size: .92rem;
  color: var(--gk-text-2);
}

/* ════════════════════════════════════════════════════════════════════════════
   20. FAQ — native <details> accordion
   ════════════════════════════════════════════════════════════════════════════ */

.gk-faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
}
.gk-faq__item {
  background: var(--gk-panel);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.gk-faq__item[open] {
  border-color: var(--gk-line-strong);
  background: linear-gradient(180deg, rgba(20, 26, 34, .92), rgba(13, 17, 23, .92));
}
.gk-faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gk-text);
  transition: color .2s;
}
.gk-faq__item summary::-webkit-details-marker { display: none; }
.gk-faq__item summary:hover { color: var(--gk-orange-hi); }

.gk-faq__plus {
  flex: 0 0 auto;
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gk-orange-soft);
  border: 1px solid rgba(255, 122, 0, .3);
  transition: transform .3s var(--gk-ease), background .25s;
}
.gk-faq__plus::before,
.gk-faq__plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gk-orange);
  border-radius: 1px;
  transition: transform .3s var(--gk-ease), opacity .3s;
}
.gk-faq__plus::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.gk-faq__plus::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.gk-faq__item[open] .gk-faq__plus { background: var(--gk-orange); transform: rotate(45deg); }
.gk-faq__item[open] .gk-faq__plus::before,
.gk-faq__item[open] .gk-faq__plus::after { background: #0a0c10; }

.gk-faq__item > p {
  margin: 0;
  padding: 0 20px 22px;
  font-size: .94rem;
  color: var(--gk-text-2);
  max-width: 72ch;
}
/* slight reveal on open */
.gk-faq__item[open] > p {
  animation: gk-faq-open .35s var(--gk-ease);
}
@keyframes gk-faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .gk-faq__item[open] > p { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   21. Service grid — promote to 9 items / better wrap
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1080px) {
  .gk-service-grid { grid-template-columns: repeat(3, 1fr); }
}
