/* KOLESCH Intelligent Solutions – Stylesheet v2
   Farben aus Logo & Visitenkarte. Keine externen Schriften oder Dienste (DSGVO-freundlich). */

:root {
  --navy: #0D2949;
  --navy-2: #163A63;
  --copper: #BF8B7D;
  --copper-dark: #9A6A5C;
  --copper-pale: #F3E7E2;
  --paper: #F8F5F1;
  --sand: #EFE8E1;
  --text: #1B2533;
  --muted: #5E6672;
  --line: #E4DAD2;
  --white: #FFFFFF;
  --radius: 4px;
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--copper-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Typo-Bausteine */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--copper-dark); margin-bottom: 18px;
}
.rule { width: 56px; height: 2px; background: var(--copper); margin: 0 0 22px; border: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 8px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

/* Header – Logo per CSS, damit alle Seiten automatisch das neue Logo zeigen */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248,245,241,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand {
  display: block; width: 180px; height: 51px;
  background: url("logo.png") no-repeat left center / contain;
}
.brand > * { display: none; }
.nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav ul a { text-decoration: none; color: var(--navy); font-size: 0.93rem; font-weight: 500; }
.nav ul a:hover { color: var(--copper-dark); }
.nav .nav-cta {
  border: 1px solid var(--navy); padding: 9px 18px; border-radius: var(--radius);
}
.nav .nav-cta:hover { background: var(--navy); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); margin-left: 12px; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-copper { background: var(--copper); border-color: var(--copper); color: var(--navy); }
.btn-copper:hover { background: var(--white); border-color: var(--white); }

/* Hero – Bogenform wie auf der Visitenkarte */
.hero { position: relative; overflow: hidden; padding: 120px 0 130px; }
.hero::before {
  content: ""; position: absolute; right: -260px; top: -180px;
  width: 760px; height: 760px; border-radius: 50%;
  background: var(--navy);
}
.hero::after {
  content: ""; position: absolute; right: -150px; top: -230px;
  width: 760px; height: 760px; border-radius: 50%;
  border: 2px solid var(--copper); border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(-20deg);
}
.hero .container { position: relative; z-index: 1; }
.hero-text { max-width: 640px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--copper-dark); }
.hero .lead { margin-bottom: 38px; }
.hero-mark {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  width: 230px; opacity: 0.95; z-index: 1;
}
.hero-facts {
  display: flex; gap: 40px; margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--line); max-width: 640px; flex-wrap: wrap;
}
.hero-facts div { font-size: 0.9rem; color: var(--muted); }
.hero-facts strong { display: block; color: var(--navy); font-size: 1rem; }

/* Sections */
section { padding: 100px 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.section-head { max-width: 700px; margin-bottom: 56px; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service {
  padding: 40px 40px 40px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
}
.service:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.service .num { font-size: 0.85rem; font-weight: 700; color: var(--copper); letter-spacing: 0.1em; padding-top: 4px; }
.service p { color: var(--muted); font-size: 0.98rem; }
.service ul { list-style: none; margin-top: 12px; }
.service li { font-size: 0.92rem; color: var(--text); padding: 3px 0 3px 18px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--copper); }

/* Produkt-Band */
.product { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.product::after {
  content: ""; position: absolute; left: -200px; bottom: -340px; width: 620px; height: 620px;
  border-radius: 50%; border: 2px solid rgba(191,139,125,0.3);
}
.product .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.product h2 { color: var(--white); }
.product .eyebrow { color: var(--copper); }
.product p { color: #C9D3DF; }
.product p + p { margin-top: 14px; }
.product .btn { margin-top: 30px; }
.feature-list { list-style: none; border-top: 1px solid rgba(255,255,255,0.15); }
.feature-list li {
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex; gap: 16px; color: #E7ECF2; font-size: 0.98rem;
}
.feature-list li span { color: var(--copper); font-weight: 700; min-width: 26px; }

/* Schwerpunkt */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.focus-list { list-style: none; }
.focus-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.focus-list li:first-child { border-top: 1px solid var(--line); }
.focus-list strong { display: block; color: var(--navy); margin-bottom: 2px; }
.focus-list span { color: var(--muted); font-size: 0.96rem; }

/* Vorgehen */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--navy); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--copper-dark); margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* Grundsätze */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.principle { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.principle .icon { width: 40px; height: 40px; color: var(--copper-dark); margin-bottom: 18px; }
.principle p { color: var(--muted); font-size: 0.94rem; }

/* Über uns */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.about-visual {
  aspect-ratio: 1; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.about-visual::after {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 2px solid var(--copper); border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(-10deg);
}
.about-visual span { color: var(--white); font-size: 1rem; letter-spacing: 0.24em; text-transform: uppercase; text-align: center; line-height: 1.8; }
.about-visual span b { display: block; font-size: 2.2rem; letter-spacing: 0.04em; text-transform: none; }
.about p + p { margin-top: 14px; }
.about .role { color: var(--copper-dark); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; }

/* Kontakt */
.contact { background: var(--navy); color: var(--white); text-align: center; padding: 110px 0; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--copper); }
.contact p { color: #C9D3DF; max-width: 620px; margin: 0 auto 36px; }
.contact .mail { display: block; font-size: 1.4rem; color: var(--white); text-decoration: none; font-weight: 600; margin-top: 26px; }
.contact .mail:hover { color: var(--copper); }

/* Footer */
footer { background: #081C33; color: #93A2B4; font-size: 0.9rem; padding: 34px 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer a { color: #C9D3DF; text-decoration: none; margin-left: 22px; }
footer a:hover { color: var(--copper); }
.footer-logo { width: 150px; height: 42px; background: url("logo-light.png") no-repeat left center / contain; }

/* Rechtstexte (Impressum / Datenschutz) */
.legal { padding: 72px 0 96px; background: var(--white); }
.legal .container { max-width: 820px; }
.legal h1 { color: var(--navy); font-size: 2.1rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.todo { background: #FFF3C4; padding: 0 4px; border-radius: 3px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-mark { display: none; }
  .hero::before { right: -480px; top: -300px; opacity: 0.06; }
  .hero::after { display: none; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 32px 0; border-left: 0; }
  .product .container, .focus, .about { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { max-width: 260px; }
  .steps, .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav ul { display: none; }
  .nav { height: 66px; }
  .brand { width: 150px; height: 44px; }
  .hero { padding: 76px 0 84px; }
  .btn-outline { margin: 12px 0 0; }
  section { padding: 72px 0; }
  .steps, .principles { grid-template-columns: 1fr; }
  .hero-facts { gap: 22px; }
  footer a { margin: 0 20px 0 0; }
}

.hero::before,.hero::after{display:none}
.hero .container{display:grid;grid-template-columns:1fr 440px;gap:60px;align-items:center}
.hero-visual{position:relative}
@media(max-width:980px){.hero .container{grid-template-columns:1fr}.hero-visual{max-width:420px}}

.vA img{width:100%;height:auto;display:block}

/* K-Logo angeschnitten oben rechts */
.hero .container { display: block; }
.hero .hero-visual.vA { position: absolute; right: -200px; top: -120px; width: 540px; z-index: 0; pointer-events: none; opacity: .35; }
.hero .hero-text { position: relative; z-index: 1; }
@media (max-width: 1100px) { .hero .hero-visual.vA { width: 520px; right: -220px; top: -120px; opacity: .25; } }
@media (max-width: 640px) { .hero .hero-visual.vA { width: 360px; right: -170px; top: -90px; opacity: .12; } }
.hero .hero-text .lead { max-width: 560px; }

/* Leistungen: Icons statt Nummern, lebendiger */
.services { border-top: 0; gap: 22px; }
.service, .service:nth-child(even) {
  padding: 34px 32px; border: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: 10px; background: #fff; grid-template-columns: 64px 1fr; gap: 22px;
  transition: border-color .2s, box-shadow .2s;
}
.service:hover { border-color: var(--copper); box-shadow: 0 14px 34px -22px rgba(13,41,73,.45); }
.service .ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); position: relative;
  display: grid; place-items: center;
}
.service .ico::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2.5px solid transparent; border-top-color: var(--copper); transform: rotate(25deg);
}
.service .ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service li::before { background: var(--copper); width: 6px; height: 6px; border-radius: 50%; top: 11px; }
@media (max-width: 980px) { .service, .service:nth-child(even) { padding: 28px 24px; } }

/* ===== Effekte ===== */
/* Leistungs-Boxen: anheben, Kupferlinie oben, Bogen dreht sich */
.service { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s; }
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--copper); transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -24px rgba(13,41,73,.5); }
.service:hover::before { width: 100%; }
.service .ico { transition: background .3s, transform .35s; }
.service .ico::after { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service:hover .ico { background: var(--navy-2); transform: scale(1.06); }
.service:hover .ico::after { transform: rotate(205deg); }
.service h3 { transition: color .3s; }
.service:hover h3 { color: var(--copper-dark); }

/* Buttons */
.btn { transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(13,41,73,.6); }

/* Menü: Kupfer-Unterstrich gleitet ein */
.nav ul a:not(.nav-cta) { position: relative; }
.nav ul a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav ul a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* Startbereich: einmaliges Einblenden beim Laden */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeK { from { opacity: 0; transform: translate(30px,-20px) rotate(-6deg); } to { opacity: .35; transform: none; } }
.hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(n+4) { animation-delay: .24s; }
.hero .hero-visual.vA { animation: fadeK 1.4s cubic-bezier(.2,.7,.2,1) both; }

/* Beim Scrollen sanft erscheinen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero .hero-visual.vA { opacity: .35; }
}
@media (max-width: 1100px) { @keyframes fadeK { to { opacity: .25; transform: none; } } }

/* Leistungen: ruhigere, flüssigere Bewegung (überschreibt die Werte oben) */
.service {
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s cubic-bezier(.22,1,.36,1), border-color .6s ease;
  will-change: transform;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(13,41,73,.45); border-color: rgba(191,139,125,.6); }
.service::before { transition: width .7s cubic-bezier(.22,1,.36,1); height: 2px; }
.service .ico { transition: background .6s ease; }
.service:hover .ico { transform: none; }
.service .ico::after { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.service:hover .ico::after { transform: rotate(115deg); }
.service h3 { transition: color .6s ease; }
.reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }

/* Softwarelösungen: Häkchen statt Nummern + Bewegung */
.feature-list li { align-items: center; padding: 16px 14px 16px 0; position: relative;
  transition: padding-left .6s cubic-bezier(.22,1,.36,1), color .6s ease; }
.feature-list li::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--copper); transition: width .7s cubic-bezier(.22,1,.36,1);
}
.feature-list li:hover { padding-left: 10px; color: #fff; }
.feature-list li:hover::after { width: 100%; }
.feature-list .chk {
  flex: 0 0 30px; width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
  border: 1.5px solid var(--copper); display: grid; place-items: center;
  transition: background .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.feature-list .chk svg { width: 16px; height: 16px; fill: none; stroke: var(--copper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s ease; }
.feature-list li:hover .chk { background: var(--copper); transform: rotate(-8deg) scale(1.05); }
.feature-list li:hover .chk svg { stroke: var(--navy); }
/* Hintergrund-Bogen bewegt sich ganz langsam */
@keyframes drift { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.product::after { border-top-color: var(--copper); border-right-color: transparent; border-bottom-color: transparent; animation: drift 60s linear infinite; }
.product::after { left: -330px; bottom: -430px; border-top-color: rgba(191,139,125,.45); }

/* Branchen */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch {
  position: relative; display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 28px 32px;
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s cubic-bezier(.22,1,.36,1), border-color .6s ease;
}
.branch p { color: var(--muted); font-size: .97rem; }
.branch .b-ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--copper-pale);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: background .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.branch .b-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--copper-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s ease; }
.branch:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(13,41,73,.45); border-color: rgba(191,139,125,.6); }
.branch:hover .b-ico { background: var(--navy); transform: rotate(-6deg); }
.branch:hover .b-ico svg { stroke: #fff; }
.branch-more { background: transparent; border-style: dashed; border-color: var(--copper); }
.branch-more h3 { color: var(--copper-dark); }
@media (max-width: 980px) { .branches { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .branches { grid-template-columns: 1fr; } }

/* Vorgehen als Zeitstrahl */
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 4px; }
.tl-line { position: absolute; left: 32px; right: calc((100% - 108px) / 4 - 32px); top: 32px; height: 2px; background: var(--line); z-index: 0; }
.tl-line span { display: block; height: 100%; width: 0; background: var(--copper); transition: width 1.8s cubic-bezier(.22,1,.36,1) .2s; }
.timeline.go .tl-line span { width: 100%; }
.tl-step { position: relative; z-index: 1; }
.tl-dot {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center; margin-bottom: 22px; position: relative;
  transition: background .6s ease, border-color .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.tl-dot svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s ease; }
.timeline.go .tl-dot { background: var(--navy); border-color: var(--navy); }
.timeline.go .tl-dot svg { stroke: #fff; }
.timeline.go .tl-step:nth-child(2) .tl-dot { transition-delay: .3s; }
.timeline.go .tl-step:nth-child(3) .tl-dot { transition-delay: .75s; }
.timeline.go .tl-step:nth-child(4) .tl-dot { transition-delay: 1.2s; }
.timeline.go .tl-step:nth-child(5) .tl-dot { transition-delay: 1.65s; }
.tl-step:hover .tl-dot { transform: scale(1.08); background: var(--copper); border-color: var(--copper); transition-delay: 0s; }
.tl-n { display: block; font-size: .82rem; font-weight: 600; color: var(--copper-dark); margin-bottom: 4px; }
.tl-step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .tl-line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .tl-line span { width: 100%; height: 0; transition: height 1.8s cubic-bezier(.22,1,.36,1) .2s; }
  .timeline.go .tl-line span { width: 100%; height: 100%; }
  .tl-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; }
  .tl-step .tl-dot { grid-row: span 3; margin-bottom: 0; }
}

/* Grundsätze im gleichen Look wie Branchen */
.principle {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 26px 32px;
  transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s cubic-bezier(.22,1,.36,1), border-color .6s ease;
}
.principle .b-ico {
  width: 48px; height: 48px; border-radius: 12px; background: var(--copper-pale);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: background .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
.principle .b-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--copper-dark); stroke-width: 1.7; transition: stroke .6s ease; }
.principle:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(13,41,73,.45); border-color: rgba(191,139,125,.6); }
.principle:hover .b-ico { background: var(--navy); transform: rotate(-6deg); }
.principle:hover .b-ico svg { stroke: #fff; }

/* Über uns: Bewegung */
@keyframes aboutArc { from { transform: rotate(-10deg); } to { transform: rotate(350deg); } }
.about-visual::after { animation: aboutArc 40s linear infinite; }
.about-visual { transition: transform .8s cubic-bezier(.22,1,.36,1); }
.about-visual:hover { transform: scale(1.03); }
.about-visual span { opacity: 0; transform: translateY(10px); transition: opacity 1s ease .3s, transform 1s cubic-bezier(.22,1,.36,1) .3s; }
.about-visual.in span, .no-reveal .about-visual span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .about-visual span { opacity: 1; transform: none; } }

/* Über uns: Foto im Kreis */
.about-photo { overflow: visible; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; position: relative; z-index: 1; }
.about-visual.about-photo { aspect-ratio: 1 / 1; height: auto; overflow: visible; }

/* Zeitstrahl langsamer */
.tl-line span { transition: width 4.2s cubic-bezier(.45,.05,.35,1) .3s; }
.tl-dot { transition: background 1.2s ease, border-color 1.2s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.tl-dot svg { transition: stroke 1.2s ease; }
.timeline.go .tl-step:nth-child(2) .tl-dot, .timeline.go .tl-step:nth-child(2) .tl-dot svg { transition-delay: .3s; }
.timeline.go .tl-step:nth-child(3) .tl-dot, .timeline.go .tl-step:nth-child(3) .tl-dot svg { transition-delay: 1.7s; }
.timeline.go .tl-step:nth-child(4) .tl-dot, .timeline.go .tl-step:nth-child(4) .tl-dot svg { transition-delay: 3.1s; }
.timeline.go .tl-step:nth-child(5) .tl-dot, .timeline.go .tl-step:nth-child(5) .tl-dot svg { transition-delay: 4.4s; }
@media (max-width: 980px) { .tl-line span { transition: height 4.2s cubic-bezier(.45,.05,.35,1) .3s; } }

/* Zeitstrahl: per Skript exakt synchron */
.tl-line span { transition: none !important; }
.timeline.go .tl-dot { background: #fff; border-color: var(--line); transition: background 1s ease, border-color 1s ease, transform .6s cubic-bezier(.22,1,.36,1) !important; transition-delay: 0s !important; }
.timeline.go .tl-dot svg { stroke: var(--muted); transition: stroke 1s ease !important; transition-delay: 0s !important; }
.timeline .tl-step.on .tl-dot { background: var(--navy); border-color: var(--navy); }
.timeline .tl-step.on .tl-dot svg { stroke: #fff; }
.timeline .tl-step.on:hover .tl-dot, .timeline .tl-step:hover .tl-dot { background: var(--copper); border-color: var(--copper); }

/* Handy: Leistungs-Boxen weicher einblenden */
@media (max-width: 640px) {
  .service.reveal { opacity: 0; transform: translateY(36px) scale(.985);
    transition: opacity 1.1s cubic-bezier(.25,.8,.25,1), transform 1.3s cubic-bezier(.16,1,.3,1) !important; }
  .service.reveal.in { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .branch.reveal, .principle.reveal { opacity: 0; transform: translateY(36px) scale(.985);
    transition: opacity 1.1s cubic-bezier(.25,.8,.25,1), transform 1.3s cubic-bezier(.16,1,.3,1) !important; }
  .branch.reveal.in, .principle.reveal.in { opacity: 1; transform: none; }
}

/* ===== Mitgestalten / In Entwicklung ===== */
.mg .section-head { margin-bottom: 40px; }
.mg-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.mg-tab {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 10px;
  transition: background .5s ease, color .5s ease, border-color .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.mg-tab:hover { border-color: var(--copper); transform: translateY(-2px); }
.mg-ti { width: 32px; height: 32px; border-radius: 50%; background: var(--copper-pale); display: grid; place-items: center; transition: background .5s ease; }
.mg-ti svg { width: 18px; height: 18px; fill: none; stroke: var(--copper-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s ease; }
.mg-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.mg-tab[aria-selected="true"] .mg-ti { background: rgba(255,255,255,.12); }
.mg-tab[aria-selected="true"] .mg-ti svg { stroke: var(--copper); }
.mg-tab:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.mg-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.mg-left { background: var(--navy); color: #D3DCE6; border-radius: 14px; padding: 38px 36px; position: relative; overflow: hidden; }
.mg-left::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; border: 2px solid rgba(191,139,125,.35); border-left-color: transparent; border-bottom-color: transparent; pointer-events: none; }
.mg-info h3 { color: #fff; font-size: 1.6rem; margin: 14px 0 12px; }
.mg-info p { margin-bottom: 14px; }
.mg-info .mg-sub { color: var(--copper); font-weight: 600; font-size: .92rem; margin: 22px 0 6px; }
.mg-info ul { list-style: none; margin-bottom: 26px; }
.mg-info li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #E7ECF2; }
.mg-info li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--copper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mg-status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.mg-live { background: #DDF2E5; color: #1E6B3E; }
.mg-dev  { background: var(--copper); color: var(--navy); }
.mg-plan { background: rgba(255,255,255,.12); color: #E7ECF2; }

.mg-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 32px; display: grid; gap: 14px; align-content: start; }
.mg-form h3 { font-size: 1.3rem; margin: 0; }
.mg-form h3 .mg-for { color: var(--copper-dark); font-weight: 600; }
.mg-note { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.mg-form label { display: grid; gap: 6px; font-size: .93rem; font-weight: 600; color: var(--navy); }
.mg-form small { font-weight: 400; color: var(--muted); }
.mg-form input[type=text], .mg-form input[type=email], .mg-form input[type=tel], .mg-form textarea, .mg-form select {
  font: inherit; font-weight: 400; font-size: .97rem; color: var(--text); width: 100%;
  border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 13px; background: #FCFBF9;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.mg-form textarea { resize: vertical; min-height: 84px; }
.mg-form input:focus, .mg-form textarea:focus, .mg-form select:focus { outline: none; border-color: var(--copper); background: #fff; box-shadow: 0 0 0 3px rgba(191,139,125,.18); }
.mg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mg-form .mg-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.mg-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: 0 0 18px; }
.mg-err { background: #FBE7E3; color: #9A3A2C; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.mg-ok { background: #DDF2E5; color: #1E6B3E; border-radius: 10px; padding: 22px; font-size: 1rem; }
.mg-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.mg-form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@keyframes mgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mg-in { animation: mgIn .6s cubic-bezier(.22,1,.36,1); }

/* Produkte-Unterseite */
.page-hero { padding: 90px 0 70px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; max-width: 820px; margin-bottom: 20px; }
.page-hero .lead { max-width: 680px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.demo-points { list-style: none; margin-top: 26px; }
.demo-points li { display: flex; gap: 12px; padding: 8px 0; }
.demo-points svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--copper-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.nav ul a.active { color: var(--copper-dark); }

@media (max-width: 980px) {
  .mg-body, .demo-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .mg-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px 22px; padding: 4px 24px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mg-tabs::-webkit-scrollbar { display: none; }
  .mg-tab { flex: 0 0 auto; scroll-snap-align: center; }
  .mg-left { padding: 28px 22px; }
  .mg-form { padding: 26px 20px; }
  .mg-row { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 44px; }
}
@media (prefers-reduced-motion: reduce) { .mg-in { animation: none; } }
.mg-info { position: relative; z-index: 1; }
@media (max-width: 640px) { .mg-left::after { opacity: .4; right: -200px; bottom: -220px; } }
.mg-tab-new { border-style: dashed; border-color: var(--copper); color: var(--copper-dark); background: transparent; }
.mg-tab-new[aria-selected="true"] { border-style: solid; }
.mg-idea { background: rgba(191,139,125,.25); color: #F3E2DB; }

/* Fix: versteckte Formularfelder wirklich ausblenden */
.mg-form [hidden], .mg [hidden] { display: none !important; }

/* Variante 2: Reiter mit Kupfer-Unterstrich */
@media (min-width: 981px) {
  .mg-tabs { flex-wrap: nowrap; gap: 4px; justify-content: space-between; border-bottom: 1.5px solid var(--line); margin-bottom: 32px; }
  .mg-tab { flex: 1 1 auto; justify-content: center; background: transparent; border: 0; border-radius: 0; padding: 14px 4px 16px; font-size: .84rem; flex: 0 1 auto; color: var(--muted); position: relative; white-space: nowrap; gap: 8px; }
  .mg-tab:hover { transform: none; color: var(--navy); }
  .mg-tab::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1.5px; height: 3px; border-radius: 3px; background: var(--copper); transform: scaleX(0); transition: transform .5s cubic-bezier(.22,1,.36,1); }
  .mg-tab[aria-selected="true"] { background: transparent; color: var(--navy); }
  .mg-tab[aria-selected="true"]::after { transform: scaleX(1); }
  .mg-ti { width: 28px; height: 28px; background: transparent; }
  .mg-ti svg { width: 18px; height: 18px; stroke: currentColor; }
  .mg-tab[aria-selected="true"] .mg-ti { background: transparent; }
  .mg-tab[aria-selected="true"] .mg-ti svg { stroke: var(--copper-dark); }
  .mg-tab-new { border: 0; color: var(--copper-dark); }
}
@media (min-width: 981px) and (max-width: 1140px) { .mg-tab { font-size: .78rem; padding: 12px 2px 14px; gap: 6px; } }
@media (min-width: 981px) and (max-width: 1060px) { .mg-ti { display: none; } }
@media (max-width: 980px) and (min-width: 641px) {
  .mg-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .mg-tab { flex: 0 0 auto; }
}

/* Mitgestalten kompakter */
.mg .section-head { margin-bottom: 28px; }
.mg .section-head h2 { margin-bottom: 10px; }
.mg-body { gap: 20px; }
.mg-left { padding: 28px 30px; }
.mg-info h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.mg-info p { margin-bottom: 8px; font-size: .95rem; }
.mg-info .mg-sub { margin: 14px 0 2px; }
.mg-info ul { margin-bottom: 18px; }
.mg-info li { padding: 6px 0; font-size: .94rem; }
.mg-info .btn { padding: 11px 20px; }
.mg-form { padding: 26px 28px; gap: 10px; }
.mg-form h3 { font-size: 1.15rem; }
.mg-note { margin-top: -6px; font-size: .86rem; }
.mg-form label { gap: 4px; font-size: .88rem; }
.mg-form input[type=text], .mg-form input[type=email], .mg-form input[type=tel], .mg-form textarea, .mg-form select { padding: 8px 11px; font-size: .92rem; }
.mg-form textarea { min-height: 58px; }
.mg-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mg-checks { display: grid; gap: 6px; }
.mg-form .mg-check { font-size: .86rem; }
.mg-form .btn { padding: 11px 22px; }
@media (max-width: 640px) { .mg-row3 { grid-template-columns: 1fr; } }
.mg .section-head { max-width: none; }
.mg .section-head h2 { white-space: nowrap; }
.mg .section-head .lead { max-width: none; }
.mg-row { gap: 10px; }
@media (max-width: 1100px) { .mg .section-head h2 { white-space: normal; } }
.mg-concept { background: transparent; color: var(--copper); border: 1.5px solid var(--copper); padding: 3.5px 11px; }
.mg .section-head { margin-bottom: 14px; }
.mg .section-head .lead { margin-bottom: 0; }

/* ===== Leistungen: 8 Bereiche, kompakt (22.10.) ===== */
.sh-wide { max-width: none; }
.sh-wide h2 { white-space: nowrap; }
.sh-wide .lead { max-width: 760px; }
@media (max-width: 1100px) { .sh-wide h2 { white-space: normal; } }
.services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.services-grid .service, .services-grid .service:nth-child(even) {
  display: flex; flex-direction: column; gap: 0; padding: 32px 30px 30px;
}
.services-grid .service .ico { width: 50px; height: 50px; margin: 6px 0 22px 6px; }
.services-grid .service .ico svg { width: 23px; height: 23px; }
.services-grid .service h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.services-grid .service p { font-size: .95rem; line-height: 1.55; margin: 0; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-grid .service, .services-grid .service:nth-child(even) { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; padding: 22px 20px; }
  .services-grid .service .ico { grid-row: span 2; margin: 4px 0 0 4px; }
}
