/* ═══════════════════════════════════════════════════════════
   ODISHO TECH SOLUTIONS — Design-Tokens direkt aus dem Logo
   ═══════════════════════════════════════════════════════════ */
:root {
  --lime:       #8DC63F;
  --lime-deep:  #6FA82C;
  --leaf:       #CDE3AC;
  --mist:       #E6F1D8;
  --teal:       #4FB8B0;
  --teal-deep:  #2E9089;
  --navy:       #22265B;
  --navy-deep:  #171A43;
  --night:      #10132F;
  --slate:      #54565A;
  --ink:        #2B2E38;
  --paper:      #FAFCF6;
  --white:      #FFFFFF;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  --radius: 22px;
  --shadow-soft: 0 8px 30px rgba(34, 38, 91, .08);
  --shadow-lift: 0 18px 50px rgba(34, 38, 91, .16);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }

section { padding: clamp(4rem, 9vw, 7.5rem) clamp(1.1rem, 5vw, 3rem); }
section[id] { scroll-margin-top: 84px; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-head { max-width: 780px; margin: 0 auto clamp(2.2rem, 5vw, 3.6rem); text-align: center; }
.section-lede { margin-top: 1rem; font-size: 1.1rem; color: #565a6e; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--lime-deep);
  background: var(--mist);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.kicker-dark { background: rgba(141, 198, 63, .14); color: var(--lime); }
.kicker-light { background: rgba(255,255,255,.14); color: var(--leaf); }

/* ── Scroll-Reveal ──────────────────────────────────────────
   Nur verstecken, wenn JS da ist (html.js) — ohne JS bleibt alles sichtbar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.7rem; border-radius: 100px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .25s var(--ease-spring), box-shadow .25s ease, background .25s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--lime); color: var(--navy);
  box-shadow: 0 6px 20px rgba(141, 198, 63, .45);
}
.btn-primary:hover { background: #9AD14E; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(141, 198, 63, .55); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid #D6DBC9; }
.btn-ghost:hover { border-color: var(--lime); transform: translateY(-2px); }
.btn-ghost .arrow { transition: transform .3s var(--ease-spring); display: inline-block; }
.btn-ghost:hover .arrow { transform: translateY(3px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.btn-big { font-size: 1.15rem; padding: 1.05rem 2.3rem; }

/* ═══ HEADER ═══════════════════════════════════════════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(250, 252, 246, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 38, 91, .07);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(34, 38, 91, .08); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem clamp(1.1rem, 4vw, 2rem);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
  color: var(--navy); line-height: 1.05; display: flex; flex-direction: column;
}
.brand-name em { font-style: normal; font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-deep); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink);
  position: relative; padding: .2rem 0;
}
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 3px; width: 100%;
  border-radius: 3px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: .55rem 1.25rem !important; border-radius: 100px;
  transition: background .25s ease, transform .25s var(--ease-spring);
}
.nav-cta:hover { background: var(--lime-deep); transform: translateY(-1px); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; z-index: 110; }
.burger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--navy); margin: 5px 0; transition: transform .3s var(--ease-out), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ═══ HERO ═════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: 7rem;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(141,198,63,.13), transparent 60%),
    radial-gradient(800px 480px at -10% 110%, rgba(79,184,176,.12), transparent 60%),
    var(--paper);
}
#pixelField { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .88rem; color: var(--navy);
  background: var(--white); border: 1px solid #E3E8D8;
  padding: .45rem 1rem; border-radius: 100px;
  box-shadow: var(--shadow-soft); margin-bottom: 1.4rem;
}
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(141,198,63,.5);} 50% { box-shadow: 0 0 0 7px rgba(141,198,63,0);} }

.marker { position: relative; white-space: nowrap; }
.marker::before {
  content: ''; position: absolute; z-index: -1;
  left: -.08em; right: -.08em; bottom: .04em; height: .42em;
  background: linear-gradient(90deg, var(--lime), var(--teal));
  border-radius: .18em;
  transform: scaleX(0); transform-origin: left;
  animation: markerSwipe .7s var(--ease-out) 1.1s forwards;
  opacity: .55;
}
@keyframes markerSwipe { to { transform: scaleX(1); } }

.lede { margin-top: 1.3rem; font-size: 1.18rem; color: #4A4E63; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.8rem; list-style: none; }
.trust-chips li { font-size: .92rem; font-weight: 600; color: #575B70; display: flex; align-items: center; gap: .45rem; }
.trust-chips li::before {
  content: ''; width: 17px; height: 17px; flex: none; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%236FA82C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ── Logo-Szene: Pixel fliegen ein ─────────────────────────── */
.hero-visual { position: relative; }
.logo-scene { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(34,38,91,.14)); }
.js .logo-scene .px { opacity: 0; }
.logo-scene.play .px {
  animation: pxIn .8s var(--ease-spring) forwards;
  animation-delay: calc(var(--i) * 70ms);
}
@keyframes pxIn {
  from { opacity: 0; transform: translateX(-90px) scale(.4); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: none; }
}
.logo-scene .s { fill: var(--slate); }
.logo-scene.play .pills .px { animation-name: pxInFloat; }
@keyframes pxInFloat {
  0%   { opacity: 0; transform: translateX(-110px) translateY(10px) scale(.3); }
  55%  { opacity: 1; transform: translateX(4px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
/* Nach dem Einflug: alles bleibt sichtbar, lose Pixel schweben sanft weiter */
.logo-scene.idle .px { opacity: 1; }
.logo-scene.idle .pills .px { animation: pxFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -400ms); }
@keyframes pxFloat { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-7px);} }
@media (prefers-reduced-motion: reduce) { .logo-scene .px { opacity: 1 !important; animation: none !important; } }

.js .screen-frame, .js .screen-content { opacity: 0; }
.logo-scene.play .screen-frame { animation: frameIn .6s ease .9s forwards; }
.logo-scene.play .screen-content { animation: frameIn .4s ease 1.5s forwards; }
@keyframes frameIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .screen-frame, .screen-content { opacity: 1; } }

.type-line, .type-done {
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 21px; fill: var(--leaf);
}
.type-done { fill: var(--lime); font-size: 18px; }
.cursor { fill: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-tagline {
  text-align: center; margin-top: 1.2rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--lime-deep);
  letter-spacing: .01em;
}
.hero-tagline span { display: inline-block; opacity: 0; transform: translateY(12px); animation: tagIn .6s var(--ease-out) forwards; }
.hero-tagline span:nth-child(1) { animation-delay: 1.6s; }
.hero-tagline span:nth-child(2) { animation-delay: 1.85s; color: var(--teal-deep); }
.hero-tagline span:nth-child(3) { animation-delay: 2.1s; color: var(--navy); }
@keyframes tagIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-tagline span { opacity: 1; transform: none; } }

/* ═══ MARQUEE ══════════════════════════════════════════════ */
.marquee {
  background: var(--navy); color: var(--leaf);
  overflow: hidden; padding: .9rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-block: 4px solid var(--lime);
}
.marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  white-space: nowrap;
}
/* margin statt gap: so ist jede Inhalts-Kopie exakt gleich breit → nahtloser -50%-Loop */
.marquee-track span, .marquee-track i { margin-right: 2.2rem; }
.marquee-track i { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); flex: none; }
.marquee-track i:nth-of-type(even) { background: var(--teal); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ═══ LEISTUNGEN ═══════════════════════════════════════════ */
.services { max-width: 1240px; margin: 0 auto; }
.services h2 em { font-style: normal; color: var(--lime-deep); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid #ECEFE3;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow-lift); border-color: var(--leaf); }
.card-featured { background: linear-gradient(160deg, #FDFFF8, var(--mist)); border-color: var(--leaf); }
.badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(79,184,176,.13);
  padding: .3rem .7rem; border-radius: 100px;
}
.badge-lime { color: var(--lime-deep); background: rgba(141,198,63,.18); }
.card-icon {
  width: 62px; height: 62px; border-radius: 18px;
  background: var(--mist); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  transition: transform .35s var(--ease-spring), background .35s ease;
}
.card:hover .card-icon { transform: translateZ(30px) scale(1.08) rotate(-4deg); background: var(--leaf); }
.card-icon svg { width: 38px; height: 38px; }
.card h3 { margin-bottom: .5rem; }
.card > p { color: #565A6E; font-size: .97rem; margin-bottom: .9rem; }
.card ul { list-style: none; }
.card li { padding: .3rem 0 .3rem 1.5rem; font-size: .94rem; position: relative; color: #3E4257; }
.card li::before {
  content: ''; position: absolute; left: 0; top: .68em;
  width: 12px; height: 6px; border-radius: 3px; background: var(--lime);
  transition: width .25s var(--ease-out);
}
.card:hover li::before { width: 16px; }

/* Icon-Mikroanimationen */
.ic-anim { transition: all .4s var(--ease-out); }
.card:hover .wifi1 { animation: wifiPing 1s ease infinite; }
.card:hover .wifi2 { animation: wifiPing 1s ease .15s infinite; }
.card:hover .wifi3 { animation: wifiPing 1s ease .3s infinite; }
@keyframes wifiPing { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.card:hover .pulse { animation: icPulse 1.2s ease infinite; }
@keyframes icPulse { 50% { r: 7; opacity: .5; } }
.card:hover .slide { transform: translateY(-3px); }

/* ── Breite Webseiten-Karte ────────────────────────────────── */
.card-wide {
  margin-top: 1.4rem;
  background: linear-gradient(120deg, var(--navy), #2E3272 62%, var(--teal-deep));
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  overflow: hidden; position: relative;
}
.card-wide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(100deg, transparent 45%, #000);
  -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000);
}
.card-wide h3 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.card-wide p { color: #C9CCE8; margin-bottom: 1.4rem; }
.browser-mock {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transform: rotate(2deg);
  transition: transform .4s var(--ease-spring);
  position: relative; z-index: 2;
}
.card-wide:hover .browser-mock { transform: rotate(0deg) translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F0F2EA; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8DCCB; }
.browser-bar i:first-child { background: var(--lime); }
.browser-bar span { margin-left: .6rem; font-size: .72rem; color: #8A8E7E; background: var(--white); border-radius: 6px; padding: 2px 10px; flex: 1; }
.browser-body { padding: 14px; display: grid; gap: 10px; }
.bm-hero { height: 64px; border-radius: 8px; background: linear-gradient(120deg, var(--lime), var(--teal)); }
.bm-row { display: flex; gap: 8px; }
.bm-row span { flex: 1; height: 34px; border-radius: 6px; background: var(--mist); }
.bm-line { height: 8px; border-radius: 4px; background: #E8EBDF; }
.bm-line.w70 { width: 70%; } .bm-line.w45 { width: 45%; }

/* ═══ SMART HOME NACHTSZENE ════════════════════════════════ */
.smarthome {
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(79,184,176,.14), transparent 60%),
    linear-gradient(var(--night), var(--navy-deep));
  color: var(--white);
}
.smarthome h2 { color: var(--white); }
.smarthome .dim { color: #8A90C9; font-weight: 600; }
.sh-stage { max-width: 860px; margin: 0 auto; }
.sh-scene { width: 100%; height: auto; display: block; }

.sh-room { fill: #1B1F4B; stroke: #31366F; stroke-width: 2; }
.sh-floorline { stroke: #31366F; stroke-width: 2; }
.sh-windowframe { fill: #12153A; stroke: #3B4180; stroke-width: 3; }
.sh-windowbar { stroke: #3B4180; stroke-width: 3; }
.sh-moon { fill: #E8ECF7; }
.sh-moonbite { fill: #12153A; }
.sh-lampshade { fill: #3B4180; transition: fill .5s ease; }
.sh-lampstem, .sh-lampfoot { stroke: #3B4180; fill: #3B4180; stroke-width: 3; }
.sh-bulb { fill: #262B5E; transition: fill .4s ease; }
.sh-sofa rect { fill: #2A2F66; }
.sh-sofaback { fill: #333870; }
.sh-sofaseam { stroke: #23285C; stroke-width: 3; }
.sh-thermobody { fill: #12153A; stroke: #3B4180; stroke-width: 3; }
.sh-thermoring { fill: none; stroke: #31366F; stroke-width: 4; transition: stroke .5s ease; }
.sh-thermotext {
  fill: #8A90C9; font-family: var(--font-display); font-weight: 700;
  font-size: 19px; text-anchor: middle; transition: fill .5s ease;
}
.sh-heatwave { fill: none; stroke: #31366F; stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity .4s ease; }
.sh-cambody { fill: #12153A; stroke: #3B4180; stroke-width: 3; }
.sh-camlens { fill: #262B5E; stroke: #3B4180; stroke-width: 2; transition: fill .4s ease; }
.sh-camdot { fill: #31366F; transition: fill .3s ease; }
.sh-cammount { stroke: #3B4180; stroke-width: 3; }
.sh-doorbody { fill: #232860; stroke: #3B4180; stroke-width: 3; }
.sh-lockring { fill: none; stroke: #8A90C9; stroke-width: 3; transition: stroke .4s ease; }
.sh-lockbolt { fill: #8A90C9; transform-origin: 148px 282px; transition: fill .4s ease, transform .4s var(--ease-spring); transform: translateY(-4px); }
.sh-status-line {
  text-align: center; color: #A7ACD8; font-size: .98rem;
  margin-top: 1.1rem; min-height: 1.6em;
}
.glow { opacity: 0; transition: opacity .7s ease; }

/* Zustände */
.sh-scene.licht-on .lampglow { opacity: 1; }
.sh-scene.licht-on .sh-bulb { fill: #FFE9A8; }
.sh-scene.licht-on .sh-lampshade { fill: #8DC63F; }
.sh-scene.heizung-on .sh-thermoring { stroke: var(--lime); }
.sh-scene.heizung-on .sh-thermotext { fill: var(--lime); }
.sh-scene.heizung-on .sh-heatwave { opacity: 1; stroke: var(--lime); }
.sh-scene.heizung-on .w1 { animation: heat 1.6s ease-in-out infinite; }
.sh-scene.heizung-on .w2 { animation: heat 1.6s ease-in-out .25s infinite; }
.sh-scene.heizung-on .w3 { animation: heat 1.6s ease-in-out .5s infinite; }
@keyframes heat { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
.sh-scene.kamera-on .camcone { opacity: 1; animation: camScan 3.4s ease-in-out infinite; transform-origin: 654px 65px; }
@keyframes camScan { 0%,100% { transform: rotate(0deg);} 50% { transform: rotate(9deg);} }
.sh-scene.kamera-on .sh-camlens { fill: var(--teal); }
.sh-scene.kamera-on .sh-camdot { fill: #FF6B6B; animation: blink 1.4s steps(1) infinite; }
.sh-scene.tuer-on .sh-lockring { stroke: var(--lime); }
.sh-scene.tuer-on .sh-lockbolt { fill: var(--lime); transform: translateY(0); }

.sh-controls {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .8rem; margin-top: 1.6rem;
}
.sh-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  color: #B9BDE4; background: #1B1F4B;
  border: 2px solid #31366F; border-radius: 100px;
  padding: .65rem 1.35rem; cursor: pointer;
  transition: all .3s var(--ease-out);
}
.sh-toggle svg { width: 21px; height: 21px; }
.sh-toggle:hover { border-color: var(--teal); color: var(--white); transform: translateY(-2px); }
.sh-toggle[aria-pressed="true"] {
  background: var(--lime); border-color: var(--lime); color: var(--navy);
  box-shadow: 0 6px 22px rgba(141,198,63,.4);
}
.sh-footnote { max-width: 720px; margin: 2.6rem auto 0; text-align: center; color: #A7ACD8; }
.sh-footnote strong { color: var(--leaf); }

/* ═══ ABLAUF ═══════════════════════════════════════════════ */
.process { max-width: 1100px; margin: 0 auto; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.steps-line { position: absolute; top: 34px; left: 12%; width: 76%; height: 10px; z-index: 0; }
#stepsPath {
  stroke: var(--leaf); stroke-width: 4; stroke-dasharray: 12 10; stroke-linecap: round;
}
.steps.in #stepsPath { animation: dashMove 1.2s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -22; } }
.step {
  position: relative; z-index: 1;
  background: var(--white); border: 1px solid #ECEFE3; border-radius: var(--radius);
  padding: 1.6rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.step-num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  background: var(--navy); color: var(--lime);
  margin-bottom: 1rem;
  transform: rotate(-4deg);
  transition: transform .3s var(--ease-spring);
}
.step:hover .step-num { transform: rotate(4deg) scale(1.08); }
.step p { font-size: .96rem; color: #565A6E; margin-top: .5rem; }
.step em { font-style: normal; font-weight: 700; color: var(--lime-deep); }

/* ═══ PHILOSOPHIE ══════════════════════════════════════════ */
.philosophy { background: var(--white); }
.phi-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.values { list-style: none; margin-top: 1.6rem; display: grid; gap: .9rem; }
.values li {
  background: var(--paper); border: 1px solid #ECEFE3; border-radius: 16px;
  padding: .95rem 1.2rem .95rem 3.1rem; position: relative; font-size: .98rem; color: #454960;
}
.values li::before {
  content: ''; position: absolute; left: 1.05rem; top: 1.15rem;
  width: 20px; height: 20px; border-radius: 7px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2322265B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  transform: rotate(-4deg);
}
.values strong { color: var(--navy); }

/* ── Fachchinesisch-Übersetzer ─────────────────────────────── */
.translator {
  background: linear-gradient(165deg, var(--paper), var(--mist));
  border: 1px solid var(--leaf); border-radius: calc(var(--radius) + 4px);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-soft);
}
.translator-head { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 1.4rem; }
.t-label { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #9296AC; transition: color .3s ease; }
.t-label.active { color: var(--navy); }
.t-switch {
  width: 62px; height: 34px; border-radius: 100px; border: none; cursor: pointer;
  background: var(--slate); position: relative; transition: background .3s ease; flex: none;
}
.t-switch[aria-checked="true"] { background: var(--lime); }
.t-knob {
  position: absolute; top: 4px; left: 4px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transition: transform .35s var(--ease-spring);
}
.t-switch[aria-checked="true"] .t-knob { transform: translateX(28px); }
.t-cards { display: grid; gap: .9rem; perspective: 900px; }
.t-card {
  position: relative; border-radius: 14px; min-height: 5.4em;
}
.t-card p {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: .9rem 1.15rem; border-radius: 14px; font-size: .93rem;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .6s var(--ease-out), opacity .4s ease;
  line-height: 1.5;
}
.t-jargon {
  background: var(--white); border: 1px dashed #C6CADB; color: #6A6E85;
  font-family: 'Consolas', monospace; font-size: .85rem !important;
}
.t-klar {
  background: var(--navy); color: var(--white); font-weight: 600;
  transform: rotateX(180deg);
}
.t-cards.flipped .t-jargon { transform: rotateX(-180deg); }
.t-cards.flipped .t-klar { transform: rotateX(0); }
.t-hint { text-align: center; margin-top: 1.1rem; font-size: .85rem; color: #9296AC; }

/* ═══ KONTAKT ══════════════════════════════════════════════ */
.contact { padding-bottom: clamp(4rem, 8vw, 6rem); }
.contact-card {
  position: relative; overflow: hidden;
  max-width: 900px; margin: 0 auto; text-align: center;
  background: linear-gradient(150deg, var(--navy), #2B2F6E);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  box-shadow: 0 30px 80px rgba(34,38,91,.35);
}
.contact-card h2 { color: var(--white); margin-bottom: 1rem; }
.contact-card > p { color: #C9CCE8; max-width: 34em; margin: 0 auto 1.8rem; }
.contact-note { font-size: .88rem !important; color: #8A90C9 !important; margin-top: 1.6rem !important; }
.contact-pixels { position: absolute; inset: 0; pointer-events: none; }
.contact-pixels span {
  position: absolute; border-radius: 8px; background: var(--lime); opacity: .3;
  animation: cpFloat 7s ease-in-out infinite;
}
.contact-pixels span:nth-child(1) { width: 46px; height: 18px; top: 12%; left: 6%; }
.contact-pixels span:nth-child(2) { width: 26px; height: 26px; border-radius: 50%; top: 68%; left: 11%; background: var(--teal); animation-delay: -2s; }
.contact-pixels span:nth-child(3) { width: 60px; height: 20px; top: 26%; right: 7%; animation-delay: -4s; }
.contact-pixels span:nth-child(4) { width: 20px; height: 20px; border-radius: 6px; bottom: 14%; right: 13%; background: var(--leaf); animation-delay: -1s; }
.contact-pixels span:nth-child(5) { width: 34px; height: 14px; bottom: 30%; left: 20%; animation-delay: -5s; }
.contact-pixels span:nth-child(6) { width: 14px; height: 14px; border-radius: 50%; top: 16%; left: 38%; background: var(--teal); animation-delay: -3s; }
.contact-pixels span:nth-child(7) { width: 40px; height: 16px; top: 60%; right: 24%; background: var(--leaf); animation-delay: -6s; }
@keyframes cpFloat { 0%,100% { transform: translateY(0) rotate(0deg);} 50% { transform: translateY(-16px) rotate(3deg);} }

/* ═══ FOOTER ═══════════════════════════════════════════════ */
.site-footer { background: var(--night); color: #A7ACD8; padding: 3rem clamp(1.1rem, 5vw, 3rem) 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1.8rem; border-bottom: 1px solid #262B5E;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-name { font-family: var(--font-display); font-weight: 800; color: var(--white); }
.footer-tag { font-size: .85rem; color: var(--lime); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { text-decoration: none; font-size: .92rem; font-weight: 600; transition: color .25s ease; }
.footer-nav a:hover { color: var(--lime); }
.footer-legal { max-width: 1200px; margin: 1.4rem auto 0; font-size: .82rem; color: #5B6096; }

/* ═══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero { padding-top: 6.5rem; min-height: 0; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-template-columns: 1fr; }
  .phi-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps-line { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  /* backdrop-filter auf dem Header macht ihn zum Containing Block für fixed —
     deshalb explizite Viewport-Maße statt inset: 0 */
  .main-nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
    z-index: 100;
    background: rgba(23, 26, 67, .97);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a { color: var(--white); font-size: 1.35rem; font-family: var(--font-display); }
  .main-nav a:not(.nav-cta)::after { background: var(--lime); }
  .main-nav .nav-cta { background: var(--lime); color: var(--navy) !important; padding: .7rem 1.8rem !important; }
  .burger { display: block; }
  .service-grid { grid-template-columns: 1fr; }
  .sh-controls { gap: .55rem; }
  .sh-toggle { padding: .55rem 1rem; font-size: .9rem; }
  .trust-chips { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .brand-name em { display: none; }
}
