/* ============================================================
   Moodia Software & Solutions – gemeinsames Stylesheet
   Design-Tokens gemäß Design-Referenz (High-Fidelity)
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --footer-black: #040404;
  --body: #242424;
  --body-2: #575757;
  --green: #a4c422;
  --green-dark: #7fa30f;
  --marker: #d3ec6a;
  --chip-1: #eff5d9;
  --chip-2: #f2f7dd;
  --chip-3: #fafafa;
  --border-card: rgba(10, 10, 10, .22);
  --border-soft: rgba(10, 10, 10, .1);
  --border-badge: rgba(10, 10, 10, .18);
  --border-dark: rgba(255, 255, 255, .14);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: #fff;
  color: var(--ink);
  font-family: 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- Typografie ---------- */
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.02em; margin: 0 0 24px; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin: 0 0 18px; text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.65; color: var(--body); margin: 0 0 36px; max-width: 560px; text-wrap: pretty; }
.section-intro { font-size: 17px; line-height: 1.65; color: var(--body); margin: 0; text-wrap: pretty; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em;
  color: var(--green-dark); margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--green); }
.marker {
  background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%);
  padding: 0 2px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.logo { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); display: inline-block; }
.logo .sub { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--body-2); }

.btn-nav {
  background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 8px;
  font-weight: 600; transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--green); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block; background: var(--green); color: var(--ink);
  padding: 15px 30px; border-radius: 10px; font-weight: 600; font-size: 16px;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(164, 196, 34, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(164, 196, 34, .5); color: var(--ink); }
.btn-secondary {
  display: inline-block; border: 2px solid var(--ink);
  padding: 15px 30px; border-radius: 10px; font-weight: 600; font-size: 16px;
  transition: border-color .2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Moderner Card-CTA („Mehr erfahren →") */
.cta-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  padding-top: 16px;
}
.cta-link .arrow {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--green);
  font-size: 16px; line-height: 1;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.cta-link:hover { color: var(--ink); }
article:hover .cta-link .arrow, .tile:hover .cta-link .arrow, .cta-link:hover .arrow {
  background: var(--green); color: var(--ink);
  transform: translateX(4px);
  box-shadow: 0 0 18px rgba(164, 196, 34, .45);
}
.tile-dark .cta-link { color: #fff; }
.tile-dark .cta-link .arrow { background: var(--green); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-top: 96px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; position: relative; }
.hero-sub { padding-top: 84px; padding-bottom: 72px; position: relative; }
.grid-backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,10,10,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 65% 15%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 90% at 65% 15%, #000, transparent 72%);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(10,10,10,.2); border-radius: 99px; padding: 7px 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--body); margin-bottom: 28px; position: relative; background: #fff;
}
.badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulseDot 2.4s infinite; }
.trust { margin: 32px 0 0; font-size: 14px; color: var(--body-2); }
.breadcrumb { font-size: 13.5px; color: var(--body-2); margin: 0 0 22px; position: relative; }
.breadcrumb a { color: var(--body-2); font-weight: 500; }
.breadcrumb a:hover { color: var(--green-dark); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseDot { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.floaty { animation: floaty 7s ease-in-out infinite; }

/* ---------- Sektionen ---------- */
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.dark {
  background: radial-gradient(ellipse 70% 70% at 12% 0%, rgba(164,196,34,.16), transparent 60%), var(--ink);
  color: #fff;
}
.dark h2 { color: #fff; }

/* ---------- Cards & Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-more { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.grid-skills { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.grid-tech { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid-why { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-process { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.grid-features { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.card {
  background: #fff; border: 1.5px solid var(--border-card); border-radius: 18px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,10,10,.12); border-color: var(--green); }
.card h3 { font-size: 23px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--body); margin: 0; text-wrap: pretty; }
.card .kuerzel {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--green);
}
.card .botschaft {
  margin: 0; padding-top: 14px; border-top: 1px solid var(--border-soft);
  font-size: 15px; font-weight: 500; color: var(--ink); font-style: italic; text-wrap: pretty;
}

.tile {
  border: 1.5px solid var(--border-card); border-radius: 16px; padding: 28px;
  background: #fff; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; transition: transform .2s, border-color .2s;
}
.tile:hover { transform: translateY(-3px); border-color: var(--green); }
.tile .label { font-size: 11px; letter-spacing: .12em; font-weight: 600; opacity: .6; }
.tile h3 { font-size: 19px; font-weight: 600; margin: 0; }
.tile p { font-size: 14.5px; line-height: 1.55; margin: 0; opacity: .75; text-wrap: pretty; }
.tile-dark { background: var(--ink); color: #fff; }

/* Feature-Karten auf Unterseiten */
.feature {
  background: #fff; border: 1.5px solid var(--border-card); border-radius: 16px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, border-color .2s, box-shadow .25s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 12px 32px rgba(10,10,10,.09); }
.feature h3 { font-size: 17.5px; font-weight: 600; margin: 0; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--body); margin: 0; text-wrap: pretty; }
.feature .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-bottom: 4px; }

/* Kennzahlen */
.stat { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 32px 28px; }
.stat .num { font-size: 52px; font-weight: 700; color: var(--green); text-shadow: 0 0 28px rgba(164,196,34,.45); }
.stat .cap { font-size: 15px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* Vertrauen: futuristische HUD-Kennzahlen */
.grid-anim {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(164,196,34,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(164,196,34,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000, transparent 75%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift { to { background-position: 44px 44px; } }
.scanline { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scanline::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 160px;
  background: linear-gradient(180deg, transparent, rgba(164,196,34,.09), transparent);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { from { transform: translateY(-160px); } to { transform: translateY(900px); } }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hud { position: relative; padding: 26px 26px 22px; background: rgba(255,255,255,.03); }
.hud::before, .hud::after { content: ''; position: absolute; width: 22px; height: 22px; }
.hud::before { top: 0; left: 0; border-top: 2px solid var(--green); border-left: 2px solid var(--green); }
.hud::after { bottom: 0; right: 0; border-bottom: 2px solid var(--green); border-right: 2px solid var(--green); }
.hud-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.od-value {
  font-weight: 700; font-size: clamp(64px, 7.5vw, 104px); line-height: 1;
  color: var(--green); text-shadow: 0 0 34px rgba(164,196,34,.5);
  font-variant-numeric: tabular-nums;
}
.od-digit { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.od-col { display: flex; flex-direction: column; transform: translateY(0); transition: transform 2.2s cubic-bezier(.16, 1, .3, 1); }
.od-col span { display: block; height: 1em; line-height: 1; }
.hud-bar { height: 2px; background: rgba(255,255,255,.12); margin: 22px 0 14px; position: relative; }
.hud-fill {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0;
  background: linear-gradient(90deg, var(--green), var(--marker));
  box-shadow: 0 0 14px rgba(164,196,34,.8);
  transition: width 1.8s cubic-bezier(.16, 1, .3, 1) .4s;
}
.hud.is-live .hud-fill { width: var(--w); }
.hud-cap { font-size: 14.5px; color: rgba(255,255,255,.65); }
@media (prefers-reduced-motion: reduce) {
  .grid-anim, .scanline::before, .blink { animation: none; }
  .hud-fill { transition: none; width: var(--w); }
}

/* Kompetenzen: laufende Chip-Bänder (Marquee) */
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.skill-chip {
  display: flex; align-items: center; gap: 24px;
  border: 1px solid rgba(255, 255, 255, .16); background: #141414;
  border-radius: 14px; padding: 18px 22px 18px 28px; min-width: max-content;
  transition: border-color .2s, background .2s; cursor: default;
}
.skill-chip:hover { border-color: var(--green); background: #1c1c1c; }
a.skill-chip { text-decoration: none; cursor: pointer; }
.sc-text { display: flex; flex-direction: column; gap: 4px; }
.sc-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(164, 196, 34, .5); color: var(--green);
  font-size: 20px; line-height: 1;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s, border-color .25s;
}
.skill-chip:hover .sc-arrow {
  background: var(--green); color: var(--ink); border-color: var(--green);
  transform: translateX(5px);
  box-shadow: 0 0 22px rgba(164, 196, 34, .55);
}
.skill-chip .k { font-weight: 600; font-size: 16.5px; color: #fff; display: flex; align-items: center; gap: 9px; }
.skill-chip .k::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.skill-chip .s { font-size: 12.5px; color: rgba(255, 255, 255, .55); padding-left: 16px; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; gap: 16px; }
  .marquee-group[aria-hidden] { display: none; }
  .marquee-group { flex-wrap: wrap; padding-right: 0; }
}

/* Über uns: Bild-Text-Split, Mission-Karten, Standorte */
.about-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-split .txt { flex: 1 1 420px; min-width: 300px; }
.about-split .img { flex: 1 1 380px; min-width: 300px; }
.about-img { border-radius: 18px; border: 1.5px solid var(--border-card); box-shadow: 0 16px 40px rgba(10, 10, 10, .12); width: 100%; height: auto; display: block; }
.about-split .txt p { font-size: 16.5px; line-height: 1.7; color: var(--body); margin: 0 0 16px; text-wrap: pretty; }
.mission-card {
  background: #141414; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, transform .2s;
}
.mission-card:hover { border-color: var(--green); transform: translateY(-3px); }
.mission-card .mk { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; color: var(--green); }
.mission-card p { color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.65; margin: 0; text-wrap: pretty; }
.loc-card {
  background: #141414; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .25s, border-color .25s, box-shadow .3s;
}
.loc-card:hover {
  transform: translateY(-5px); border-color: var(--green);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .5), 0 0 34px rgba(164, 196, 34, .18);
}
.loc-media { position: relative; overflow: hidden; }
.loc-media img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  filter: grayscale(40%) brightness(.92);
  transition: filter .35s, transform .45s ease;
}
.loc-card:hover .loc-media img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
.loc-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 10, .88));
}
.loc-city {
  position: absolute; left: 24px; bottom: 16px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 25px; letter-spacing: -.01em; color: #fff;
}
.loc-city::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(164, 196, 34, .8); flex: none; }
.loc-badge {
  position: absolute; top: 16px; left: 24px; z-index: 1;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--green); background: rgba(10, 10, 10, .72); border: 1px solid rgba(164, 196, 34, .45);
  border-radius: 99px; padding: 5px 12px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.loc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.loc-body p { font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .65); margin: 0; }
.loc-body p strong { color: #fff; font-weight: 600; }
.loc-body a { color: var(--green); font-weight: 500; }
.loc-body a:hover { color: var(--marker); }
.loc-row { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: rgba(255, 255, 255, .65); }
.loc-row .ic { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .4); min-width: 52px; }

/* News: futuristischer Newsbereich (Ticker + HUD-Karten) */
.news-ticker { border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 56px; }
.news-ticker .marquee-track { animation-duration: 36s; }
.tick {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: rgba(255, 255, 255, .5); padding: 13px 0; white-space: nowrap;
}
.tick b { color: var(--green); font-weight: 600; margin-right: 10px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.news-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #141414; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: 28px 26px; text-decoration: none;
  transition: transform .2s, border-color .2s, background .2s;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--green); background: #1a1a1a; }
.news-meta { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .45); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.news-meta .cat { color: var(--green); border: 1px solid rgba(164, 196, 34, .4); border-radius: 99px; padding: 3px 10px; }
.news-card h3 { color: #fff; font-size: 19px; font-weight: 600; margin: 0; line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; }
.news-card p { color: rgba(255, 255, 255, .6); font-size: 14.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.news-more {
  margin-top: auto; padding-top: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--green);
}
.news-more .sc-arrow { width: 38px; height: 38px; font-size: 17px; }
.news-card:hover .news-more .sc-arrow {
  background: var(--green); color: var(--ink); border-color: var(--green);
  transform: translateX(5px); box-shadow: 0 0 18px rgba(164, 196, 34, .5);
}
.news-featured {
  grid-column: 1 / -1; padding: 40px 36px; gap: 16px; border-radius: 0;
  background: radial-gradient(ellipse 60% 90% at 85% 0%, rgba(164, 196, 34, .12), transparent 60%), #141414;
}
.news-featured::before, .news-featured::after { content: ''; position: absolute; width: 24px; height: 24px; }
.news-featured::before { top: 0; left: 0; border-top: 2px solid var(--green); border-left: 2px solid var(--green); }
.news-featured::after { bottom: 0; right: 0; border-bottom: 2px solid var(--green); border-right: 2px solid var(--green); }
.news-featured h3 { font-size: clamp(24px, 2.8vw, 34px); max-width: 720px; }
.news-featured p { font-size: 16px; max-width: 680px; }

/* News-Artikel (Volltext auf news.html) */
.news-artikel { border-top: 1px solid var(--border-soft); padding: 64px 0; }
.news-artikel h2 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 18px; }
.news-artikel p { font-size: 16px; line-height: 1.7; color: var(--body); margin: 0 0 16px; max-width: 760px; text-wrap: pretty; }
.news-artikel .news-meta { color: var(--body-2); }
.news-artikel .news-meta .cat { color: var(--green-dark); border-color: rgba(164, 196, 34, .6); }

/* Tags / Pills / Badges */
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { font-size: 12.5px; font-weight: 500; color: var(--body); background: var(--chip-2); border-radius: 99px; padding: 5px 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-badge {
  font-size: 14px; font-weight: 500; border: 1px solid var(--border-badge); border-radius: 8px;
  padding: 7px 13px; background: var(--chip-3); transition: border-color .2s, background .2s; cursor: default;
}
.tech-badge:hover { border-color: var(--green); background: var(--chip-2); }
.chip { background: var(--chip-1); border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.chip-glow { background: var(--ink); color: var(--green); font-weight: 600; box-shadow: 0 0 18px rgba(164,196,34,.45); border-radius: 6px; padding: 6px 12px; font-size: 13px; }

/* Prozess-Timeline */
.step { position: relative; padding: 0 16px 8px 0; }
.step-head { display: flex; align-items: center; margin-bottom: 18px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--green);
  box-shadow: 0 0 0 4px rgba(164,196,34,.18);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none;
}
.step-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--green), rgba(164,196,34,.25)); }
.step h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.step p { font-size: 13.5px; line-height: 1.5; color: var(--body-2); margin: 0; text-wrap: pretty; }

/* Projektablauf: vertikale Timeline mit Scroll-Fortschritt */
.tl-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.tl-intro { flex: 1 1 300px; min-width: 280px; }
.tl-sticky { position: sticky; top: 108px; }
.tl { flex: 1.4 1 420px; min-width: 300px; position: relative; }
.tl-track { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: rgba(10, 10, 10, .12); }
.tl-progress {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--marker), var(--green));
  box-shadow: 0 0 12px rgba(164, 196, 34, .7);
}
.tl-step { position: relative; padding: 0 0 46px 64px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: 8px; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid rgba(10, 10, 10, .25); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s;
}
.tl-step.done .tl-node {
  background: var(--ink); border-color: var(--green); color: var(--green);
  box-shadow: 0 0 0 4px rgba(164, 196, 34, .18), 0 0 18px rgba(164, 196, 34, .35);
}
.tl-tag { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--green-dark); }
.tl-step h3 { font-size: 19px; font-weight: 600; margin: 6px 0 8px; }
.tl-step p { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; max-width: 520px; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .tl-node { transition: none; } }

/* Warum-wir-Karten */
.why {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--border-card); border-radius: 14px; padding: 26px 24px;
}
.why .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; margin-top: 7px; }
.why h3 { font-size: 17.5px; font-weight: 600; margin: 0 0 6px; }
.why p { font-size: 14.5px; line-height: 1.55; color: var(--body); margin: 0; text-wrap: pretty; }

/* Zitat-Band (Botschaft) auf Unterseiten */
.quote-band { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.quote-band blockquote {
  margin: 0; padding: 72px 0; max-width: 860px;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; font-weight: 600; font-style: italic;
  letter-spacing: -.01em; text-wrap: balance;
}
.quote-band blockquote span { color: var(--green-dark); }

/* Tech-Stack-Karte */
.tech-card {
  border: 1.5px solid var(--border-card); border-radius: 16px; padding: 26px 24px;
  background: #fff; display: flex; flex-direction: column; gap: 16px;
}
.tech-card .gruppe { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--body-2); }

/* ---------- CTA-Sektion ---------- */
.cta-section {
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(164,196,34,.18), transparent 65%), var(--ink);
  color: #fff;
}
.cta-inner { max-width: 900px; margin: 0 auto; padding: 120px 32px; text-align: center; }
.cta-inner h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 24px; color: #fff; }
.cta-inner h2 span { color: var(--green); }
.cta-inner p { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.75); margin: 0 auto 40px; max-width: 640px; text-wrap: pretty; }
.btn-cta {
  display: inline-block; background: var(--green); color: var(--ink);
  padding: 17px 40px; border-radius: 10px; font-weight: 600; font-size: 17px;
  transition: transform .15s, box-shadow .2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(164,196,34,.45); color: var(--ink); }

/* ---------- Kontaktformular ---------- */
.form-card { background: #fff; border: 1.5px solid var(--border-card); border-radius: 18px; padding: 40px 36px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: 'Poppins', system-ui, sans-serif; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--border-badge); border-radius: 10px; padding: 13px 15px;
  background: var(--chip-3); transition: border-color .2s, background .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--body-2); margin: 18px 0 0; }
button.btn-primary { border: none; cursor: pointer; font-family: 'Poppins', system-ui, sans-serif; }

/* Zwei-Schritt-Formular */
.steps-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.step-dot {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  border: 2px solid rgba(10, 10, 10, .25); color: var(--body-2); background: #fff;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.step-dot.active {
  background: var(--ink); border-color: var(--green); color: var(--green);
  box-shadow: 0 0 0 4px rgba(164, 196, 34, .18);
}
.step-lbl { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--body-2); }
.step-bar { flex: 1; height: 2px; background: rgba(10, 10, 10, .12); position: relative; overflow: hidden; }
.step-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--marker), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.step-bar.active::after { transform: scaleX(1); }
.form-step[hidden] { display: none; }
.step-back {
  border: none; background: transparent; cursor: pointer; padding: 0; margin: 0 0 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  color: var(--green-dark);
}
.step-back:hover { color: var(--green); }
.step-chosen {
  display: inline-block; font-size: 13.5px; font-weight: 600;
  background: var(--chip-2); border: 1px solid rgba(164, 196, 34, .5);
  border-radius: 99px; padding: 7px 16px; margin: 0 0 10px 14px;
}

/* Themen-Auswahl (Radio-Cards) */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.topic-card { position: relative; display: block; cursor: pointer; }
.topic-card input { position: absolute; opacity: 0; pointer-events: none; }
.topic-card .box {
  border: 1.5px solid var(--border-card); border-radius: 14px; padding: 20px;
  background: #fff; height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, transform .2s, box-shadow .25s, background .2s;
}
.topic-card:hover .box { transform: translateY(-2px); border-color: var(--green); }
.topic-card input:focus-visible + .box { outline: 2px solid var(--green); outline-offset: 2px; }
.topic-card input:checked + .box {
  border-color: var(--green); background: var(--chip-2);
  box-shadow: 0 8px 24px rgba(164, 196, 34, .18);
}
.topic-card .t-kuerzel {
  width: 40px; height: 40px; border-radius: 10px; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--green);
}
.topic-card .t-titel { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.topic-card .t-text { font-size: 13px; line-height: 1.5; color: var(--body-2); text-wrap: pretty; }
.topic-card .t-check {
  position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-card); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent; transition: all .2s;
}
.topic-card input:checked + .box .t-check { background: var(--green); border-color: var(--green); color: var(--ink); font-weight: 700; }

/* Bedingte Detail-Panels */
.topic-panel { display: none; }
.topic-panel.active { display: block; animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-head {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--green-dark); margin: 32px 0 16px; padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

/* Segment-Auswahl (Pill-Buttons) */
.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segment { position: relative; cursor: pointer; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment span {
  display: inline-block; font-size: 13.5px; font-weight: 500;
  border: 1.5px solid var(--border-badge); border-radius: 99px; padding: 8px 16px;
  background: var(--chip-3); transition: all .2s;
}
.segment:hover span { border-color: var(--green); }
.segment input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.segment input:checked + span { background: var(--ink); color: var(--green); border-color: var(--ink); font-weight: 600; }

/* Captcha */
.captcha-box {
  border: 1.5px solid var(--border-card); border-radius: 12px; padding: 16px;
  background: var(--chip-3); display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.captcha-box canvas { border-radius: 8px; background: #fff; border: 1px solid var(--border-badge); }
.captcha-box input { flex: 1 1 120px; min-width: 110px; }
.captcha-refresh {
  border: 1.5px solid var(--border-badge); background: #fff; border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; font-size: 17px; line-height: 1;
  transition: border-color .2s, background .2s; font-family: 'Poppins', system-ui, sans-serif;
}
.captcha-refresh:hover { border-color: var(--green); background: var(--chip-2); }
.captcha-error { color: #c0392b; font-size: 13px; font-weight: 500; display: none; }
.captcha-error.show { display: block; }
.form-success {
  display: none; border: 1.5px solid var(--green); border-radius: 12px;
  background: var(--chip-2); padding: 16px 18px; font-size: 14.5px; font-weight: 500; margin-top: 18px;
}
.form-success.show { display: block; }

/* Kontakt-Infokarten */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { border: 1.5px solid var(--border-card); border-radius: 14px; padding: 24px; }
.info-card .k { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--body-2); margin-bottom: 8px; }
.info-card .v { font-size: 15.5px; font-weight: 500; line-height: 1.55; }
.info-card a { color: var(--green-dark); font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 800px; padding-top: 84px; padding-bottom: 112px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 48px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--body); }
.legal .placeholder {
  border: 1.5px dashed var(--border-card); border-radius: 12px; padding: 18px 20px;
  background: var(--chip-3); font-size: 14px; color: var(--body-2);
}

/* Logo-Bildmarke (Ring + Punkt) */
.logo-mark { height: 30px; width: auto; flex: none; display: block; }
.logo-invert { align-items: center; gap: 10px; color: #fff; }
.logo-invert:hover { color: #fff; }
.logo-invert .lt { display: flex; align-items: baseline; gap: 6px; }
.logo-invert .sub { color: rgba(255, 255, 255, .5); }

/* Wortmarke: „m + Bildmarke (Ring & Punkt) + dia" – die Marke ersetzt die beiden O */
.logo-word { display: inline-flex; align-items: center; gap: .07em; }
.logo-word .mark {
  height: .62em; width: auto; flex: none;
  transform: translateY(.02em);
}

/* ---------- Footer ---------- */
.footer { background: var(--footer-black); color: rgba(255,255,255,.65); }
.footer-inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 10px 16px; align-self: flex-start; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin: 0; }
.footer-brand .mail { color: var(--green); font-size: 14px; font-weight: 500; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .head { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .wrap { padding-top: 20px; padding-bottom: 20px; font-size: 13px; }

/* ---------- Scroll-Reveal ---------- */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .floaty, .badge .pulse { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }

  /* Navigation: kompaktes Logo + kompakter CTA in einer Zeile */
  .nav-inner { height: 60px; gap: 12px; flex-wrap: nowrap; }
  .nav-inner > a:first-child img { height: 26px !important; }
  .nav-links { gap: 12px; font-size: 14px; flex-wrap: nowrap; }
  .nav-links a:not(.btn-nav) { display: none; }
  .btn-nav { padding: 9px 14px; font-size: 13px; white-space: nowrap; border-radius: 8px; }

  /* Abstände & Typo */
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 44px; }
  .hero-sub { padding-top: 48px; padding-bottom: 48px; }
  .lead { font-size: 17px; }
  .btn-primary, .btn-secondary { padding: 13px 20px; font-size: 15px; }
  .btn-row { gap: 10px; }
  .btn-cta { padding: 15px 28px; font-size: 16px; }
  .cta-inner { padding: 80px 20px; }
  .quote-band blockquote { padding: 52px 0; }
  .footer-cols { gap: 28px 40px; }
  .footer-inner { padding-top: 48px; }
  .tl-sticky { position: static; }
  .od-value { font-size: clamp(56px, 16vw, 84px); }

  /* Kontaktformular */
  .form-card { padding: 24px 16px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card .box { padding: 16px; }
  .steps-nav { margin-bottom: 22px; }
  .step-chosen { display: inline-block; margin: 0 0 12px; }
  .step-back { display: block; }
  .segments { gap: 7px; }
  .segment span { font-size: 13px; padding: 8px 13px; }
  .captcha-box { padding: 12px; gap: 10px; }
  .captcha-box canvas { max-width: 140px; height: auto; }
  .form-grid { gap: 14px; }
  .contact-info { width: 100%; }
}

@media (max-width: 400px) {
  .nav-inner > a:first-child img { height: 22px !important; }
  .btn-nav { padding: 8px 11px; font-size: 12.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}
