/* IDE Extrusion — state-of-the-art redesign
   System: warm-ink + paper, signal-red accent, editorial type */

:root {
  --ink: #121110;
  --ink-soft: #2a2826;
  --paper: #f1ede5;
  --paper-2: #e7e2d6;
  --paper-3: #d9d3c4;
  --line: #c9c2b0;
  --line-dark: #2a2826;
  --mute: #6e6a61;
  --mute-on-dark: #8b867a;
  --accent: #FFDE00;
  --accent-ink: #CDB100;
  --accent-deep: #7A6900;

  --max: 1680px;
  --pad-x: clamp(20px, 4vw, 64px);

  --t-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-sans: "Geist", "Söhne", -apple-system, system-ui, sans-serif;

  --sw: 2.5; /* pictogram stroke weight */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--t-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- utilities ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad-x); }
.mono {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.rule { height: 1px; background: var(--line); width: 100%; }
.rule.on-dark { background: rgba(255,255,255,0.14); }
.section-tag {
  display: inline-flex; align-items: baseline; gap: 18px;
}
.section-tag .num { color: var(--accent-deep); }
.section-tag .lbl { color: var(--mute); }

.section-tag.on-dark .lbl { color: var(--mute-on-dark); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- TOP BAR ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 5.5px;
  padding-inline: max(var(--pad-x), calc((100% - var(--max)) / 2 + var(--pad-x)));
  color: var(--ink);
  background: var(--accent);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar.solid { background: var(--accent); color: var(--ink); border-bottom: 1px solid rgba(0,0,0,0.15); }

.brand {
  display: flex; align-items: center;
  line-height: 1;
  mix-blend-mode: normal;
  isolation: isolate;
}
.brand-logo {
  height: 61px;
  width: auto;
  display: block;
}
.nav-open .brand-logo { filter: none; }
.brand .ide-mark {
  display: inline-block;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.05em;
}
.brand .ide-mark .dot { color: var(--accent); }
.brand .sub {
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.7;
  font-weight: 500;
}

.nav-main { display: flex; gap: 28px; align-items: center; }
.nav-main a {
  font-size: 20px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.nav-main a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.lang {
  display: flex; gap: 6px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lang button { padding: 4px 6px; opacity: 0.55; }
.lang button.active { opacity: 1; color: var(--accent); }
.lang-mobile { display: none; }

/* ---- Globe Language Switcher ---- */
.lang-sw { position:relative; display:flex; align-items:center; height:44px; }
.lang-sw-trigger { appearance:none; border:0; background:transparent; padding:0;
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  color:inherit; cursor:default; border-radius:50%; position:relative; z-index:3;
  transition:background-color .15s ease; }
.lang-sw-trigger:hover { background:rgba(0,0,0,0.08); }
.lang-sw-trigger:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.lang-sw-trigger svg { width:22px; height:22px; overflow:visible; }
.lang-sw-trigger svg [data-stroke]      { fill:none; stroke:currentColor; stroke-width:2.5px; stroke-linecap:round; stroke-linejoin:round; }
.lang-sw-trigger svg [data-stroke-thin] { fill:none; stroke:currentColor; stroke-width:1.75px; stroke-linecap:round; stroke-linejoin:round; }
.lang-sw[data-open="true"] .lang-sw-trigger { background:var(--ink); color:var(--paper); }
.lang-sw-label { position:absolute; right:calc(40px + 8px); top:50%; transform:translateY(-50%);
  font-family:var(--t-mono); font-size:11px; letter-spacing:0.18em; text-transform:uppercase;
  opacity:.6; color:inherit; pointer-events:none; transition:opacity .15s ease; white-space:nowrap; }
.lang-sw[data-open="true"] .lang-sw-label { opacity:0; }
.lang-sw-shell { position:absolute; right:calc(40px + 4px); top:50%; transform:translateY(-50%);
  height:36px; width:calc(72px * 5); overflow:hidden; border-radius:18px; pointer-events:none; }
.lang-sw-menu { width:100%; height:100%; display:flex; align-items:stretch;
  background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:3px;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 6px 24px rgba(18,17,16,.12);
  transform:translateX(100%); transition:transform .42s cubic-bezier(.2,.8,.2,1); }
.lang-sw[data-open="true"] .lang-sw-shell { pointer-events:auto; }
.lang-sw[data-open="true"] .lang-sw-menu { transform:translateX(0); }
.lang-sw-opt { appearance:none; border:0; background:transparent; flex:1 1 72px; min-width:72px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--t-mono); font-size:11px; font-weight:500; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--ink); cursor:default; border-radius:15px; position:relative;
  opacity:0; transform:translateX(8px);
  transition:background-color .15s ease, color .15s ease, opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.lang-sw[data-open="true"] .lang-sw-opt { opacity:1; transform:translateX(0); }
.lang-sw[data-open="true"] .lang-sw-opt:nth-child(5) { transition-delay:.04s; }
.lang-sw[data-open="true"] .lang-sw-opt:nth-child(4) { transition-delay:.09s; }
.lang-sw[data-open="true"] .lang-sw-opt:nth-child(3) { transition-delay:.14s; }
.lang-sw[data-open="true"] .lang-sw-opt:nth-child(2) { transition-delay:.19s; }
.lang-sw[data-open="true"] .lang-sw-opt:nth-child(1) { transition-delay:.24s; }
.lang-sw-opt:hover { background:rgba(18,17,16,.06); }
.lang-sw-opt[aria-current="true"] { background:var(--ink); color:var(--paper); }
.lang-sw-opt[aria-current="true"]:hover { background:var(--ink); }
.lang-sw-opt:focus-visible { outline:2px solid var(--ink); outline-offset:-4px; }
.lang-sw-opt + .lang-sw-opt::before { content:""; position:absolute; left:0; top:25%; height:50%; width:1px; background:var(--line); }
.lang-sw-opt[aria-current="true"] + .lang-sw-opt::before,
.lang-sw-opt:hover + .lang-sw-opt::before,
.lang-sw-opt + .lang-sw-opt[aria-current="true"]::before,
.lang-sw-opt + .lang-sw-opt:hover::before { background:transparent; }
.lang-sw-opt[data-disabled] { opacity:.32 !important; pointer-events:none; }
.lang-mobile .lang-tr-dis { opacity:.32; pointer-events:none; cursor:default; }
.cta-pill {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.cta-pill:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cta-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: inline-block; }

/* ---------- MOBILE NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  z-index: 55;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s;
  pointer-events: none;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav-right { display: none; }

  .nav-main {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px var(--pad-x) 60px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
    z-index: 48;
    mix-blend-mode: normal;
    pointer-events: none;
  }
  .nav-main.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-main a {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .4s, transform .4s, color .2s;
  }
  .nav-main.open a {
    opacity: 1;
    transform: none;
  }
  .nav-main.open a:nth-child(1) { transition-delay: .08s; }
  .nav-main.open a:nth-child(2) { transition-delay: .13s; }
  .nav-main.open a:nth-child(3) { transition-delay: .18s; }
  .nav-main.open a:nth-child(4) { transition-delay: .23s; }
  .nav-main.open a:nth-child(5) { transition-delay: .28s; }
  .nav-main.open a:nth-child(6) { transition-delay: .33s; }
  .nav-main a:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-main a:hover { color: var(--accent); }
  .nav-main a:hover::after { display: none; }

  .topbar.nav-open { mix-blend-mode: normal; color: var(--paper); background: var(--ink); border-bottom: 0; }
  .topbar.solid.nav-open { background: var(--ink); border-bottom: 0; }

  .lang-mobile {
    display: flex;
    position: absolute;
    top: 22px;
    right: 72px;
    color: var(--paper);
  }
  .nav-main .lang-mobile button { color: rgba(255,255,255,0.55); }
  .nav-main .lang-mobile button.active { color: var(--accent); opacity: 1; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: #0a0908;
}
.hero-stage { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
}
.hero-slide.active { opacity: 1; transform: scale(1); transition: opacity 1.4s ease, transform 12s linear; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.7) 100%),
    linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,0));
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 120px;
  padding-bottom: 40px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.85);
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(240,180,0,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240,180,0,.6); }
  70% { box-shadow: 0 0 0 12px rgba(240,180,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,180,0,0); }
}
.hero-headline {
  font-size: clamp(48px, 8.4vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-top: 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: #fff;
  opacity: 0.92;
}
.hero-headline .ink {
  color: var(--accent);
  font-style: normal;
  text-shadow: 0 1px 24px rgba(0,0,0,0.4);
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
  padding-top: 24px;
  padding-bottom: 52px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-lede {
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.hero-counters {
  display: flex; gap: 32px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-counters .v {
  display: block;
  font-family: var(--t-sans);
  font-size: 36px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: none;
}
.hero-dots {
  display: flex; gap: 8px;
  align-self: center;
}
.hero-dots button {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.3);
  transition: background .3s;
}
.hero-dots button.on { background: #fff; }

.scroll-hint {
  position: absolute; left: var(--pad-x); bottom: 24px;
  font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
}
.scroll-hint .arrow {
  width: 1px; height: 32px; background: currentColor;
  position: relative;
}
.scroll-hint .arrow::after {
  content: ""; position: absolute; left: -3px; bottom: 0;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

@media (max-width: 800px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-counters { flex-wrap: wrap; gap: 18px; }
  .scroll-hint { display: none; }
}

/* ---------- INTRO ---------- */
.intro {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.intro-statement {
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 400;
  text-wrap: pretty;
}
.intro-statement strong {
  font-weight: 600;
}
.intro-statement .accent { color: var(--accent-deep); }

.intro-aside {
  display: flex; flex-direction: column; gap: 18px;
}
.intro-aside .meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--t-mono);
  font-size: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  letter-spacing: 0.04em;
}
.intro-aside .meta .k {
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  margin-bottom: 6px;
}
.intro-aside .meta span:not(.k) {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.intro-aside .meta a {
  color: var(--ink);
  text-decoration: none;
}
.intro-aside .meta a:hover { color: var(--accent-deep); }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro { padding: 80px 0 60px; }
}

/* ---------- PRODUCTS ---------- */
.products {
  padding: 120px 0 60px;
  background: var(--paper);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 60px;
}
.section-title {
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--mute);
}
.section-link {
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 14px;
}
.section-link:hover { color: var(--accent); border-color: var(--accent); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.product-card {
  position: relative;
  padding: 28px 24px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 320px;
  background: var(--paper);
  transition: background .35s ease, color .35s ease;
  overflow: hidden;
}
.product-card .num {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--mute);
}
.product-card .name {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-top: 8px;
  z-index: 2; position: relative;
}
.product-card .img-wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  margin-top: 12px;
  position: relative;
}
.product-card .img-wrap img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  filter: contrast(1.05) saturate(0.85);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  mix-blend-mode: multiply;
}
.product-card .arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.product-card .arrow svg { width: 12px; height: 12px; }
.product-card:hover { background: var(--ink); color: var(--paper); }
.product-card:hover .num { color: var(--accent); }
.product-card:hover .arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.product-card:hover .img-wrap img { transform: translateY(-6px) scale(1.04); filter: invert(1) brightness(1.15) contrast(1.05); mix-blend-mode: screen; }

/* ── SVG Pictogram icon system (currentColor) ── */
.pict { display: block; overflow: visible; }
.pict [data-stroke] { fill: none; stroke: currentColor; stroke-width: calc(var(--sw) * 1px); stroke-linecap: round; stroke-linejoin: round; }
.pict [data-stroke-thin] { fill: none; stroke: currentColor; stroke-width: calc(var(--sw) * 0.7px); stroke-linecap: round; stroke-linejoin: round; }
.pict [data-fill] { fill: currentColor; stroke: none; }
.pict .bg-hole { fill: var(--paper); stroke: currentColor; stroke-width: calc(var(--sw) * 1px); }
/* product card SVG sizing & hover */
.product-card .img-wrap .pict { max-height: 160px; width: auto; max-width: 90%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .img-wrap .pict { transform: translateY(-6px) scale(1.04); }
.product-card:hover .pict .bg-hole { fill: var(--ink); }
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 260px; }
  .section-head { grid-template-columns: 1fr; padding-bottom: 32px; }
}

/* ---------- SOLUTIONS ---------- */
.solutions {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0 140px;
}
.solutions .section-title em { color: var(--mute-on-dark); }
.solutions .section-link:hover { color: var(--accent); }

.solution-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}
.sol-card {
  position: relative;
  display: block;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.sol-card .num { font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.sol-card h3 {
  font-size: 32px;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-top: 12px;
  line-height: 1.1;
  min-height: 2.2em; /* Platz für 2 Zeilen — hält alle Bilder auf gleicher Höhe */
}
.sol-card p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 36ch;
  min-height: 4.65em; /* Platz für 3 Zeilen — hält alle Bilder auf gleicher Höhe */
}
.sol-card .visual {
  margin-top: 28px;
  aspect-ratio: 4/3;
  background: #1c1a17;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.sol-card .visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sol-card .visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  transition: opacity .5s, transform .8s cubic-bezier(.2,.7,.2,1);
}
.sol-card:hover .visual img { opacity: 1; transform: scale(1.04); }
.sol-card .more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
}
.sol-card:hover .more { color: var(--accent); border-color: var(--accent); }

@media (max-width: 900px) { .solution-row { grid-template-columns: 1fr; gap: 60px; } }

/* ---------- SERVICES ---------- */
.services {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.svc-list { margin-top: 20px; }
.svc-row {
  display: grid;
  grid-template-columns: 80px 320px 1fr 60px;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: background .3s, padding .3s;
  position: relative;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { background: linear-gradient(90deg, transparent, transparent); padding-left: 16px; }
.svc-row .num { font-family: var(--t-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--mute); }
.svc-row h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1;
}
.svc-row p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 60ch;
}
.svc-row .arr {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  justify-self: end;
  transition: background .3s, color .3s, transform .3s, border-color .3s;
}
.svc-row:hover .arr { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.svc-row .arr svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 60px 1fr 40px; }
  .svc-row p { grid-column: 1 / -1; padding-left: 60px; margin-top: -14px; }
}

/* ---------- ABOUT ---------- */
.about {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.quote {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
  font-style: italic;
  text-wrap: balance;
  max-width: 22ch;
}
.quote .accent { color: var(--accent-deep); font-style: normal; font-weight: 500; }
.quote-author {
  margin-top: 28px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.stat-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.stat {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.stat:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat .v {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.045em;
  line-height: 1;
  font-weight: 500;
}
.stat .v .stat-plus { color: var(--accent); }
.stat .lbl {
  margin-top: 12px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  max-width: 26ch;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about { padding: 80px 0; }
}

/* ---------- NEWS ---------- */
.news {
  background: var(--paper-2);
  padding: 120px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.news-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
  display: flex; flex-direction: column;
  transition: background .3s;
  min-height: 380px;
}
.news-card:last-child { border-right: 1px solid var(--line); }
.news-card:hover { background: var(--paper); }
.news-card .date { font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.news-card .badge {
  display: inline-block;
  padding: 4px 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 12px;
}
.news-card h3 {
  margin-top: 12px;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
  text-wrap: balance;
  flex: 1;
}
.news-card .place {
  margin-top: 14px;
  font-family: var(--t-mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.06em;
}
.news-card .more {
  margin-top: 24px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
}
.news-card.feature {
  background: var(--ink);
  color: var(--paper);
  grid-row: span 1;
}
.news-card.feature .date { color: var(--accent); }
.news-card.feature .more { border-color: rgba(255,255,255,0.4); }
.news-card.feature:hover { background: #1a1816; }

@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } .news-card { min-height: 280px; } }

/* ---------- CONTACT / FOOTER ---------- */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0 32px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.foot-cta h2 {
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.foot-cta h2 em { color: var(--mute-on-dark); font-style: italic; font-weight: 400; }
.foot-cta .btn {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 36px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-size: 14px;
}
.foot-cta .btn:hover { background: var(--accent); border-color: var(--accent); }
.foot-cta-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.foot-cta-links .btn { margin-top: 0; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-icon:hover { background: var(--accent); border-color: var(--accent); }
.btn-icon svg { width: 20px; height: 20px; fill: currentColor; }
/* Header-Variante: dunkle Umrandung auf gelbem Hintergrund */
.btn-icon-hd { border-color: rgba(0,0,0,0.55); width: 38px; height: 38px; }
.btn-icon-hd:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.foot-col h4 {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
  margin-bottom: 18px;
  font-weight: 500;
}
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,0.85); }
.foot-col a:hover { color: var(--accent); }

.addr p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.addr a { color: rgba(255,255,255,0.85); }
.addr a:hover { color: var(--accent); }

.foot-mark {
  margin-top: 60px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute-on-dark);
}
.foot-wordmark {
  margin: 60px 0 30px;
}
.foot-logo {
  width: clamp(160px, 22vw, 380px);
  height: auto;
  display: block;
}

.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute-on-dark);
}
.foot-bottom .links { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 60px; }
  .foot-cta { grid-column: 1 / -1; }
  .foot { padding: 80px 0 32px; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
}

/* ---------- ADDITIONAL MOBILE FIXES ---------- */

/* Intro meta strip: 4 cols → 2 cols → 1 col */
@media (max-width: 760px) {
  .intro-aside[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  .intro { padding: 60px 0 40px; }
}
@media (max-width: 480px) {
  .intro-aside[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}

/* About company links: 4 cols → 2 cols → 1 col */
@media (max-width: 760px) {
  .about [style*="repeat(4,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; }
}
@media (max-width: 480px) {
  .about [style*="repeat(4,1fr)"] { grid-template-columns: 1fr !important; }
}

/* Services: tighter on mobile */
@media (max-width: 560px) {
  .svc-row { grid-template-columns: 48px 1fr 40px; gap: 16px; }
  .svc-row p { padding-left: 48px; }
  .services { padding: 60px 0; }
}

/* News grid: single column on small mobile */
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: auto; }
}

/* Product grid: single column on small screens */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card.feature { grid-column: span 1; }
  .product-card { min-height: 240px; }
}

/* Hero bottom: stack tighter on mobile */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(40px, 11vw, 72px); }
  .hero-counters { gap: 14px; }
  .hero-counters .v { font-size: 28px; }
}

/* Footer wordmark: smaller on mobile */
@media (max-width: 480px) {
  .foot-logo { width: clamp(120px, 40vw, 220px); }
  .foot-bottom { flex-direction: column; gap: 10px; }
  .foot-bottom .links { flex-wrap: wrap; gap: 14px; }
}

/* Section heads: stack on mobile */
@media (max-width: 480px) {
  .section-head { grid-template-columns: 1fr; }
  .products { padding: 80px 0 40px; }
  .solutions { padding: 80px 0 100px; }
  .news { padding: 80px 0; }
  .about { padding: 80px 0; }
}
