/* Version 1.3 — cinematic interaction, animated service deck and 2026 knowledge hub */
:root {
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.2,1.35,.35,1);
  --gold-hot: #f0c47f;
  --ink-0: #020812;
  --ink-1: #061321;
  --ink-2: #0a1a2c;
  --paper: #f3eee5;
  --display: "Bodoni 72", Didot, "Iowan Old Style", "Baskerville", Georgia, serif;
}

/* Interactive page-wide hexagon field. Light sections remain opaque above it. */
.hex-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .7;
  mix-blend-mode: screen;
}
.page-shell { position: relative; z-index: 1; }
.hero, .services, .news, .career, .site-footer { background-color: rgba(3,11,20,.94); }
.story, .contact { position: relative; z-index: 2; }

/* More expressive editorial typography. */
h1, h2, h3 { font-family: var(--display); font-kerning: normal; }
.hero__copy h1 { font-family: var(--display); font-weight: 500; }
.hero__copy h1 em {
  color: transparent;
  background: linear-gradient(110deg, #be8750 0%, #f2cf96 47%, #a86a36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 22px 65px rgba(204,145,78,.15);
}
.section__head h2, .story__copy h2, .contact__copy h2, .career__copy h2 {
  font-weight: 500;
  line-height: .96;
}
.section__head h2::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--gold-hot), transparent);
  transition: width 1.1s var(--ease-out-expo) .15s;
}
.section.is-in-view .section__head h2::after { width: min(270px, 55%); }

/* Hero: richer light response and bespoke frame detail. */
.hero__copy::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 8%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-hot);
  box-shadow: 0 0 0 8px rgba(240,196,127,.035), 0 0 36px rgba(240,196,127,.8);
  animation: heroPulse 3s ease-in-out infinite;
}
@keyframes heroPulse { 50% { transform: scale(.65); opacity: .55; box-shadow: 0 0 0 18px rgba(240,196,127,0), 0 0 44px rgba(240,196,127,.65); } }
.hero-visual {
  clip-path: polygon(8% 0,100% 0,100% 100%,0 100%,0 13%);
}
.contact-float {
  transform-style: preserve-3d;
  will-change: transform;
}
.contact-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240,196,127,.48), transparent 38%, rgba(255,255,255,.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Service deck: animated coverflow instead of a horizontal strip. */
.services {
  min-height: 1010px;
  overflow: clip;
  isolation: isolate;
}
.services::after {
  content: "LEISTUNGEN";
  position: absolute;
  right: -2vw;
  bottom: -4vw;
  z-index: -1;
  color: rgba(255,255,255,.018);
  font: 600 clamp(8rem, 20vw, 25rem)/.72 var(--sans);
  letter-spacing: -.09em;
  pointer-events: none;
}
.service-carousel {
  min-height: 650px;
  margin-top: 20px;
  perspective: 1700px;
  touch-action: pan-y;
}
.service-carousel::before,
.service-carousel::after { display: none; }
.service-slider.service-deck {
  position: relative;
  display: block;
  height: 565px;
  margin: 0;
  padding: 0;
  overflow: visible;
  cursor: grab;
  transform-style: preserve-3d;
  user-select: none;
  touch-action: pan-y;
}
.service-slider.is-dragging { cursor: grabbing; }
.service-slider::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: min(900px, 78vw);
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.54), transparent 68%);
  filter: blur(18px);
  transform: translateX(-50%);
  pointer-events: none;
}
.service-card {
  --card-x: 0px;
  --card-y: 0px;
  --card-scale: 1;
  --card-rotate: 0deg;
  --card-opacity: 1;
  --card-blur: 0px;
  --card-z: 10;
  position: absolute;
  left: 50%;
  top: 24px;
  width: clamp(330px, 27vw, 430px);
  min-height: 490px;
  padding: 38px 38px 34px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at var(--spot-x,50%) var(--spot-y,50%), rgba(240,196,127,.17), transparent 32%),
    linear-gradient(148deg, rgba(21,42,65,.94), rgba(4,14,26,.96));
  opacity: var(--card-opacity);
  filter: blur(var(--card-blur)) saturate(calc(.65 + var(--card-opacity) * .35));
  transform:
    translate3d(calc(-50% + var(--card-x) + var(--deck-drag, 0px)), var(--card-y), 0)
    rotateY(var(--card-rotate))
    scale(var(--card-scale));
  transform-origin: 50% 88%;
  z-index: var(--card-z);
  transition:
    transform .82s var(--ease-spring),
    opacity .58s ease,
    filter .7s ease,
    border-color .45s ease,
    box-shadow .55s var(--ease-out-expo);
  will-change: transform, opacity, filter;
  pointer-events: none;
}
.service-card[data-visible="true"] { pointer-events: auto; }
.service-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 31px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.09), transparent 22% 76%, rgba(240,196,127,.07)),
    repeating-linear-gradient(125deg, transparent 0 20px, rgba(255,255,255,.008) 21px 22px);
  pointer-events: none;
}
.service-card::after {
  left: 38px;
  right: 38px;
  top: 126px;
  background: linear-gradient(90deg, var(--gold-hot), rgba(240,196,127,.05));
  transform: scaleX(.22);
  opacity: .55;
}
.service-card.is-active {
  border-color: rgba(240,196,127,.62);
  box-shadow:
    0 48px 120px rgba(0,0,0,.56),
    0 0 0 1px rgba(240,196,127,.07) inset,
    0 0 65px rgba(171,112,55,.11);
}
.service-card.is-active::after { transform: scaleX(1); opacity: 1; }
.service-card:hover,
.service-card.is-active:hover {
  border-color: rgba(240,196,127,.78);
  box-shadow: 0 54px 130px rgba(0,0,0,.61), 0 0 72px rgba(208,151,82,.12);
}
.service-card .icon-chip {
  width: 54px;
  height: 54px;
  margin-bottom: 88px;
  border-color: rgba(240,196,127,.48);
  box-shadow: 0 0 0 9px rgba(240,196,127,.018), 0 14px 32px rgba(0,0,0,.18);
  transition: transform .55s var(--ease-spring), background .35s ease;
}
.service-card.is-active .icon-chip { transform: rotate(-8deg) scale(1.08); background: rgba(240,196,127,.09); }
.service-card__number {
  top: 22px;
  right: 30px;
  color: rgba(255,255,255,.055);
  font-family: var(--display);
  font-size: 5rem;
}
.service-card h3 {
  max-width: 310px;
  min-height: 2.2em;
  font-size: clamp(2rem, 2.55vw, 2.75rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.service-card p {
  max-width: 315px;
  margin-top: 22px;
  color: rgba(225,231,237,.7);
  font-size: .96rem;
  line-height: 1.75;
}
.service-card button {
  left: 38px;
  right: 38px;
  bottom: 32px;
  opacity: .45;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .45s var(--ease-out-expo), color .25s ease;
}
.service-card.is-active button { opacity: 1; transform: none; }
.service-carousel__footer {
  position: relative;
  z-index: 20;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  width: min(1260px, 92%);
  margin: 4px auto 0;
}
.service-carousel__progress {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: visible;
}
.service-carousel__progress::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  transform: translateY(-50%);
}
.service-carousel__progress span {
  height: 3px;
  border-radius: inherit;
  transform-origin: left;
  background: linear-gradient(90deg, #9f6232, #f3cf96, #fff0cf);
  box-shadow: 0 0 24px rgba(240,196,127,.58);
}
.service-carousel__status strong { font-size: 2.45rem; }
.service-carousel__hint { white-space: nowrap; }
.drag-icon { border-color: rgba(240,196,127,.26); box-shadow: 0 0 28px rgba(240,196,127,.05); }

/* Editorial 2026 knowledge hub. */
.news {
  overflow: clip;
  background:
    radial-gradient(circle at 78% 15%, rgba(67,104,137,.18), transparent 28%),
    radial-gradient(circle at 13% 120%, rgba(198,149,88,.14), transparent 36%),
    rgba(4,14,25,.96);
}
.news::before {
  content: "2026";
  position: absolute;
  right: -1vw;
  top: 2vw;
  color: rgba(255,255,255,.018);
  font: 500 clamp(10rem, 24vw, 30rem)/.72 var(--display);
  letter-spacing: -.09em;
  pointer-events: none;
}
.news-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(390px, .72fr);
  gap: 22px;
  align-items: stretch;
}
.news-feature {
  display: grid;
  grid-template-columns: minmax(260px,.78fr) minmax(350px,1.22fr);
  min-height: 610px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(240,196,127,.3);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(20,42,65,.9), rgba(3,13,24,.96));
}
.news-feature__visual {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 36px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(1,8,15,.24), rgba(1,8,15,.86)),
    url('../img/papers-detail.webp') center / cover no-repeat;
}
.news-feature__visual::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 180deg, transparent, rgba(240,196,127,.13), transparent 27%);
  animation: knowledgeSweep 10s linear infinite;
}
@keyframes knowledgeSweep { to { transform: rotate(360deg); } }
.news-feature__visual > b {
  position: relative;
  z-index: 3;
  color: var(--gold-hot);
  font: 500 5.6rem/.8 var(--display);
  letter-spacing: -.07em;
}
.news-feature__visual > small {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  color: rgba(255,255,255,.58);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.invoice-glyph {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  width: 190px;
  height: 250px;
  border: 1px solid rgba(240,196,127,.4);
  border-radius: 22px;
  background: rgba(5,15,26,.56);
  box-shadow: 22px 24px 0 rgba(255,255,255,.025), 0 38px 90px rgba(0,0,0,.45);
  transform: translate(-50%,-50%) rotate(-8deg);
  backdrop-filter: blur(12px);
  animation: invoiceFloat 6s ease-in-out infinite;
}
@keyframes invoiceFloat { 50% { transform: translate(-50%,-54%) rotate(-5deg); } }
.invoice-glyph span {
  position: absolute;
  left: 24px;
  top: 28px;
  color: var(--gold-hot);
  font: 500 2.5rem/1 var(--display);
}
.invoice-glyph i {
  position: relative;
  display: block;
  width: calc(100% - 48px);
  height: 1px;
  margin: 94px 24px -72px;
  background: linear-gradient(90deg, rgba(240,196,127,.7), rgba(255,255,255,.08));
}
.news-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px,5vw,76px);
}
.news-feature h3 {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(3rem, 4.35vw, 5.2rem);
  line-height: .9;
  letter-spacing: -.058em;
}
.news-feature p { max-width: 560px; font-size: 1rem; line-height: 1.8; }
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-top: 34px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(240,196,127,.48);
  color: var(--gold-hot);
  background: transparent;
  font: 700 .69rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.news-link b { transition: transform .35s var(--ease-spring); }
.news-link:hover b { transform: translateX(7px); }
.news-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}
.news-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  min-height: 190px;
  padding: 28px;
  border-radius: 26px;
  overflow: hidden;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -75% 20%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(240,196,127,.13), transparent 68%);
  transform: translateY(35px);
  transition: transform .65s var(--ease-out-expo), opacity .45s ease;
  opacity: .25;
}
.news-card:hover::before { transform: translateY(0); opacity: .75; }
.news-card h3 { font-size: clamp(1.55rem,2vw,2.15rem); line-height: 1.02; }
.news-card p { margin-top: 12px; line-height: 1.6; }
.news-card .news-link { margin-top: 16px; }
.news-card__date {
  align-self: start;
  width: 72px;
  height: 72px;
  border-radius: 21px;
  border: 1px solid rgba(240,196,127,.32);
  background: rgba(240,196,127,.035);
}

/* Article dialog. */
.article-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: min(88vh, 980px);
  padding: clamp(34px,5vw,72px);
  border: 1px solid rgba(240,196,127,.34);
  border-radius: 32px;
  color: #eff2f5;
  background:
    radial-gradient(circle at 88% 4%, rgba(240,196,127,.12), transparent 28%),
    linear-gradient(148deg, rgba(17,35,55,.99), rgba(3,12,22,.995));
  box-shadow: 0 60px 180px rgba(0,0,0,.72);
  overflow: auto;
}
.article-dialog::backdrop { background: rgba(0,5,11,.82); backdrop-filter: blur(14px); }
.article-dialog[open] { animation: dialogEnter .55s var(--ease-out-expo); }
@keyframes dialogEnter { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.article-dialog__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  color: var(--gold-hot);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.article-dialog h2 {
  max-width: 760px;
  font-size: clamp(3rem,6vw,5.8rem);
  line-height: .91;
  letter-spacing: -.055em;
}
.article-dialog__lead {
  max-width: 720px;
  margin: 28px 0 34px;
  color: rgba(235,239,243,.76);
  font-size: 1.08rem;
  line-height: 1.8;
}
.article-dialog__body { display: grid; gap: 18px; color: rgba(235,239,243,.82); line-height: 1.75; }
.article-dialog__body h3 { margin-top: 15px; color: #fff; font-size: 1.55rem; }
.article-dialog__body ul { display: grid; gap: 10px; padding-left: 1.2rem; }
.article-dialog__body strong { color: #fff; }
.article-dialog__source {
  margin: 34px 0 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: rgba(235,239,243,.58);
  font-size: .82rem;
  line-height: 1.7;
}
.article-dialog__source a { color: var(--gold-hot); text-decoration: underline; text-decoration-color: rgba(240,196,127,.35); text-underline-offset: 4px; }
.article-dialog__notice { color: rgba(235,239,243,.46); font-size: .78rem; }
.article-dialog .button { margin-top: 28px; }

/* More cinematic section reveals. */
.reveal[data-reveal="left"] { transform: translate3d(-72px,18px,0) rotate(-.8deg); }
.reveal[data-reveal="right"] { transform: translate3d(72px,18px,0) rotate(.8deg); }
.reveal[data-reveal="scale"] { transform: translateY(44px) scale(.93); filter: blur(10px); }
.reveal.is-visible { filter: none; }
.hero-card, .news-card, .service-card, .career__job, .map-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

@media (max-width: 1200px) {
  .services { min-height: 930px; }
  .service-card { width: clamp(320px,38vw,400px); }
  .news-editorial { grid-template-columns: 1fr; }
  .news-feature { min-height: 540px; }
  .news-stack { grid-template-columns: repeat(3,1fr); grid-template-rows: none; }
  .news-card { grid-template-columns: 1fr; min-height: 300px; }
}

@media (max-width: 820px) {
  .hex-field { opacity: .45; }
  .services { min-height: 860px; }
  .service-carousel { min-height: 610px; }
  .service-slider.service-deck { height: 535px; }
  .service-card {
    width: min(82vw, 365px);
    min-height: 470px;
    padding: 32px;
    border-radius: 27px;
  }
  .service-card::after { left: 32px; right: 32px; }
  .service-card button { left: 32px; right: 32px; }
  .service-card .icon-chip { margin-bottom: 82px; }
  .service-card h3 { font-size: clamp(1.85rem,8vw,2.5rem); }
  .service-carousel__footer { width: 100%; grid-template-columns: auto 1fr; }
  .service-carousel__hint { display: none; }
  .news-feature { grid-template-columns: 1fr; min-height: 0; }
  .news-feature__visual { min-height: 330px; }
  .news-feature__content { padding: 36px 28px 42px; }
  .news-feature h3 { font-size: clamp(2.7rem,12vw,4.3rem); }
  .news-stack { grid-template-columns: 1fr; }
  .news-card { min-height: 0; grid-template-columns: 72px 1fr; }
  .article-dialog { border-radius: 24px; }
}

@media (max-width: 520px) {
  .hero-visual { clip-path: none; }
  .service-card { width: 86vw; min-height: 455px; }
  .service-slider.service-deck { height: 510px; }
  .news-card { grid-template-columns: 1fr; }
  .article-dialog__meta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hex-field { display: none; }
  .invoice-glyph, .news-feature__visual::after, .hero__copy::after { animation: none !important; }
  .service-card { transition-duration: .01ms !important; }
}
