/* Inter, selbst gehostet — nichts wird von fremden Servern nachgeladen.
   Beides sind variable Schriften (Gewicht 100–900), eine Datei deckt also
   alle Schnitte ab. Vorher stand hier nur `font-family: Inter, …` ohne
   @font-face: Auf Geräten ohne installiertes Inter sah die Seite deshalb
   anders aus als gedacht. Der latin-Schnitt (71 KB) reicht für Deutsch —
   latin-ext lädt der Browser nur, wenn ein Zeichen daraus vorkommt. */
@font-face {
  font-family: Inter;
  src: url("/v2/schrift/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("/v2/schrift/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --o: #ff6500;
  --o2: #ff8b40;
  --n: #07111e;
  --n2: #101d2d;
  --p: #f4f4f0;
  --w: #fff;
  --i: #101923;
  --m: #66717d;
  --l: #daddd8;
  --max: 1220px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--p);
  color: var(--i);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.head {
  min-height: 134px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(7, 17, 30, 0.94);
  backdrop-filter: blur(18px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.head > a:first-child {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 264px;
}
.brand-mark {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  white-space: nowrap;
}
.brand-copy strong {
  color: #fff;
  font-size: 1.64rem;
  letter-spacing: -0.025em;
}
.brand-copy small {
  margin-top: 6px;
  color: #abb5c0;
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}
.head nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.head nav a {
  text-decoration: none;
  color: #abb5c0;
  font-size: 0.92rem;
}
.head nav a:hover,
.head nav a.on {
  color: #fff;
}
.head .cta {
  background: var(--o);
  padding: 14px 19px;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 800;
}
.menub {
  display: none;
}
.mobile {
  display: none;
}
.home-hero {
  min-height: calc(100svh - 78px);
  background: var(--n);
  color: #fff;
  padding: clamp(70px, 9vw, 120px) max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 65px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(#000, transparent 90%);
}
.home-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255, 101, 0, 0.2);
  filter: blur(140px);
  right: -260px;
  top: -250px;
}
.micro {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.67rem;
  font-weight: 800;
  color: #9aa6b3;
}
.micro:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--o);
}
.home-hero h1,
.detail-hero h1 {
  font-size: clamp(3.4rem, 6vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.072em;
  margin: 27px 0;
}
.home-hero h1 span,
.detail-hero h1 span {
  color: var(--o);
}
.home-hero .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #b0bbc6;
  max-width: 42ch;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 33px;
}
.btn {
  min-height: 52px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}
.btn.orange {
  background: var(--o);
  color: #fff;
}
.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.hero-lab {
  height: 555px;
  position: relative;
}
.hero-lab .window {
  position: absolute;
  background: #142131;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px;
  box-shadow: 0 40px 85px rgba(0, 0, 0, 0.42);
  transition: transform 0.45s;
}
.window img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.window-top {
  height: 27px;
  color: #7f8c99;
  font-size: 0.58rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.window-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52606d;
}
.window-top i:first-child {
  background: var(--o);
}
.window-top span {
  margin-left: 5px;
}
.window.site {
  width: 77%;
  right: 0;
  top: 15px;
  transform: rotate(2deg);
}
.window.office {
  width: 70%;
  left: 0;
  bottom: 5px;
  transform: rotate(-3deg);
}
.window:hover {
  transform: rotate(0) translateY(-7px);
}
.win-label {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 13px 3px 3px;
}
.win-label b {
  font-size: 0.82rem;
}
.win-label span {
  font-size: 0.59rem;
  color: #9aa6b3;
}
.ai-badge {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 27%;
  background: #fff;
  color: var(--i);
  padding: 13px 17px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 28px auto;
}
.ai-badge i {
  grid-row: 1/3;
  background: var(--o);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}
.ai-badge b {
  font-size: 0.74rem;
}
.ai-badge small {
  font-size: 0.58rem;
  color: var(--m);
}
.ticker {
  background: var(--o);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}
.ticker div {
  width: max-content;
  animation: roll 28s linear infinite;
}
.ticker span {
  margin: 0 24px;
}
@keyframes roll {
  to {
    transform: translateX(-45%);
  }
}
.trust-intro,
.offers,
.refs,
.process,
.detail-section,
.pricing,
.faq {
  padding: clamp(85px, 10vw, 135px) max(22px, calc((100vw - var(--max)) / 2));
}
.trust-intro {
  background: #fff;
  text-align: center;
}
.eyebrow {
  color: var(--o);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.trust-intro h2,
.section-head h2,
.detail-section h2,
.contact h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 20px 0;
}
.trust-intro h2 span {
  color: #a2a9af;
}
.trust-intro p {
  max-width: 700px;
  margin: 28px auto 0;
  color: var(--m);
  font-size: 1.06rem;
  line-height: 1.75;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 46px;
}
.section-head p {
  max-width: 34ch;
  color: var(--m);
  line-height: 1.65;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--l);
}
.offer {
  min-height: 430px;
  padding: 25px 22px;
  text-decoration: none;
  background: var(--p);
  border-right: 1px solid var(--l);
  display: flex;
  flex-direction: column;
  transition:
    background 0.25s,
    transform 0.25s;
}
.offer:last-child {
  border: 0;
}
.offer:hover {
  background: #fff;
  transform: translateY(-6px);
  z-index: 2;
}
.offer:nth-child(2n) {
  background: var(--n);
  color: #fff;
}
.offer small {
  color: var(--o);
  font-weight: 850;
}
.offer h3 {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  margin: 70px 0 16px;
}
.offer p {
  color: var(--m);
  font-size: 0.88rem;
  line-height: 1.65;
}
.offer:nth-child(2n) p {
  color: #9da9b5;
}
.offer b {
  margin-top: auto;
  font-size: 0.74rem;
}
.showcase {
  background: var(--n);
  color: #fff;
  padding: clamp(85px, 10vw, 140px) max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: center;
}
.showcase h2 {
  font-size: clamp(2.7rem, 4.7vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 20px 0;
}
.showcase p {
  color: #9eabb7;
  line-height: 1.7;
}
.switch {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.switch button {
  background: transparent;
  color: #aab5bf;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 11px 14px;
  cursor: pointer;
}
.switch button.on {
  background: var(--o);
  border-color: var(--o);
  color: #fff;
}
.show-frame {
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.show-frame img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition:
    opacity 0.2s,
    transform 0.7s;
}
.show-frame:hover img {
  transform: scale(1.035);
}
.show-frame div {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 25px 24px;
  background: linear-gradient(transparent, rgba(4, 10, 17, 0.94));
}
.show-frame small {
  color: #ffae78;
  letter-spacing: 0.12em;
}
.show-frame b {
  display: block;
  font-size: 1.5rem;
  margin-top: 8px;
}
.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ref {
  background: #fff;
  text-decoration: none;
  overflow: hidden;
}
.ref img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.7s;
}
.ref:hover img {
  transform: scale(1.035);
}
.ref div {
  padding: 24px;
}
.ref small {
  color: var(--o);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
}
.ref h3 {
  font-size: 1.35rem;
  margin: 8px 0;
}
.ref p {
  color: var(--m);
  margin: 0;
}
.proofbar {
  background: #fff;
  border-block: 1px solid var(--l);
  padding: 25px max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.proofbar div {
  font-size: 0.77rem;
  color: var(--m);
}
.proofbar b {
  display: block;
  color: var(--i);
  font-size: 1rem;
  margin-bottom: 5px;
}
.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.process ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.process li {
  border-top: 1px solid var(--l);
  padding: 25px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
}
.process li > span {
  color: var(--o);
  font-size: 0.68rem;
}
.process li b {
  font-size: 1.15rem;
}
.process li p {
  color: var(--m);
  margin: 7px 0;
  line-height: 1.6;
}
.contact {
  background: var(--o);
  color: #fff;
  text-align: center;
  padding: clamp(100px, 12vw, 170px) 22px;
  position: relative;
  overflow: hidden;
}
.contact .eyebrow {
  color: #fff;
}
.contact > p {
  max-width: 620px;
  line-height: 1.7;
  margin: 28px auto;
}
.contact .actions {
  justify-content: center;
}
.contact .orange {
  background: var(--n);
}
.detail-hero {
  background: var(--n);
  color: #fff;
  padding: clamp(85px, 10vw, 140px) max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 70px;
  align-items: end;
}
.detail-hero p {
  color: #a8b3be;
  line-height: 1.7;
  font-size: 1.08rem;
  max-width: 46ch;
}
.detail-card {
  background: var(--n2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px;
}
.detail-card small {
  color: #ffae78;
  letter-spacing: 0.12em;
}
.detail-card h2 {
  font-size: 1.7rem;
  margin: 40px 0 18px;
}
.detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-card li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7c0c9;
}
.detail-card li:before {
  content: "+";
  color: var(--o);
  margin-right: 10px;
}
.detail-section {
  background: #fff;
}
.detail-section.alt {
  background: var(--p);
}
.detail-section h2 {
  max-width: 13ch;
}
.detail-section > .lead {
  max-width: 720px;
  color: var(--m);
  line-height: 1.75;
}
.feature3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--l);
  margin-top: 48px;
}
.feature3 article {
  background: #fff;
  padding: 30px;
  min-height: 260px;
}
.alt .feature3 article {
  background: var(--p);
}
.feature3 span {
  color: var(--o);
  font-size: 0.68rem;
}
.feature3 h3 {
  font-size: 1.25rem;
  margin: 45px 0 12px;
}
.feature3 p {
  color: var(--m);
  line-height: 1.65;
}
.demo-image {
  margin-top: 50px;
  background: var(--n);
  padding: 13px;
}
.demo-image img {
  display: block;
  width: 100%;
  height: auto;
}
.pricing {
  background: var(--p);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 45px;
}
.price {
  background: #fff;
  border: 1px solid var(--l);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price.best {
  background: var(--n);
  color: #fff;
  border-color: var(--n);
}
.price small {
  color: var(--o);
  font-weight: 800;
}
.price h3 {
  font-size: 1.35rem;
  margin: 22px 0 5px;
}
.price strong {
  font-size: 2rem;
}
/* Einmalige Einrichtung: ruhige Nebenzeile unter dem Monatspreis —
   nicht in Orange wie die Paketnamen darüber. */
.price small.einmalig {
  display: block;
  margin-top: 4px;
  color: var(--m);
  font-weight: 500;
  font-size: 0.82rem;
}
.price p,
.price li {
  color: var(--m);
  line-height: 1.55;
}
.best p,
.best li {
  color: #aeb8c2;
}
.price ul {
  padding-left: 18px;
  margin: 25px 0;
}
.price .btn {
  margin-top: auto;
  background: var(--o);
  color: #fff;
}
.faq details {
  border-top: 1px solid var(--l);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.faq details p {
  color: var(--m);
  line-height: 1.7;
  max-width: 760px;
}
footer {
  background: #040a12;
  color: #94a0ab;
  padding: 30px max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.72rem;
}
footer img {
  width: 118px;
}
footer p {
  margin-right: auto;
}
footer a {
  text-decoration: none;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1180px) {
  .head nav,
  .head .cta {
    display: none;
  }
  .menub {
    display: block;
    margin-left: auto;
    background: var(--o);
    color: #fff;
    border: 0;
    padding: 11px;
  }
  .mobile {
    position: absolute;
    right: 22px;
    top: 67px;
    background: #fff;
    color: var(--i);
    width: 240px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }
  .mobile:not([hidden]) {
    display: flex;
    flex-direction: column;
  }
  .mobile a {
    padding: 12px;
    text-decoration: none;
  }
  .home-hero,
  .detail-hero,
  .showcase,
  .process {
    grid-template-columns: 1fr;
  }
  .hero-lab {
    max-width: 700px;
  }
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer {
    min-height: 330px;
  }
  .proofbar {
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    display: block;
  }
  .feature3,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .feature3 article {
    min-height: 220px;
  }
}
@media (max-width: 600px) {
  .head {
    min-height: 106px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .brand-lockup {
    min-width: 218px;
    gap: 8px;
  }
  .brand-mark {
    width: 58px;
    height: 58px;
  }
  .brand-copy strong {
    font-size: 1.28rem;
  }
  .brand-copy small {
    font-size: 0.62rem;
  }
  .home-hero {
    min-height: auto;
    padding-top: 60px;
  }
  .home-hero h1,
  .detail-hero h1 {
    font-size: 3.35rem;
  }
  .hero-lab {
    height: 390px;
  }
  .window.site {
    width: 88%;
  }
  .window.office {
    width: 83%;
  }
  .ai-badge {
    right: -5px;
  }
  .win-label span {
    display: none;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--l);
  }
  .showcase {
    gap: 40px;
  }
  .ref-grid {
    grid-template-columns: 1fr;
  }
  .proofbar {
    grid-template-columns: 1fr 1fr;
  }
  .process {
    gap: 35px;
  }
  .detail-hero {
    padding-top: 75px;
  }
  .detail-section,
  .pricing,
  .faq,
  .offers,
  .refs,
  .process,
  .trust-intro {
    padding-inline: 21px;
  }
  .contact h2 {
    font-size: 3.3rem;
  }
  footer {
    flex-wrap: wrap;
  }
  footer p {
    width: 100%;
    order: 2;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker div {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition: none !important;
  }
}

/* ═══════════ Erklaer-Bloecke: Bild und Text im Wechsel ═══════════
   Ein Block = eine einzige Aussage. Links (bzw. abwechselnd rechts) eine
   vereinfachte Darstellung, daneben Ueberschrift und zwei kurze Absaetze.
   Bewusst als Grafik gebaut, nicht als Screenshot: gestochen scharf,
   in unseren Farben, jederzeit aenderbar. */
.erklaer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: clamp(46px, 6vw, 80px) max(22px, calc((100vw - var(--max)) / 2));
}
.erklaer > * { min-width: 0; }
.erklaer.gedreht .erklaer-bild { order: 2; }
.erklaer-text .eyebrow { color: var(--o); }
.erklaer-text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 14px 0 20px;
}
.erklaer-text p {
  color: var(--m);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 14px;
}
.erklaer-text p:last-child { margin-bottom: 0; }

/* heller Kasten mit der Darstellung */
.erklaer-bild {
  background: var(--p);
  border: 1px solid var(--l);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 330px;
}

/* Ablauf: Kaertchen untereinander, mit Verbindungspfeil */
.fluss { display: flex; flex-direction: column; gap: 0; }
.fluss-k {
  background: var(--w);
  border: 1px solid var(--l);
  border-radius: 13px;
  padding: 15px 18px;
  box-shadow: 0 2px 6px rgba(16, 25, 35, .05);
}
.fluss-k b { display: block; font-size: .98rem; letter-spacing: -.01em; color: var(--i); }
.fluss-k span { display: block; font-size: .8rem; color: var(--m); margin-top: 3px; }
.fluss-k.an { border-color: var(--o); box-shadow: 0 4px 14px rgba(255, 101, 0, .16); }
.fluss-k.an b { color: var(--o); }
.fluss-p {
  width: 2px; height: 24px; margin: 0 0 0 30px;
  background: linear-gradient(180deg, var(--l), var(--o));
  position: relative;
}
.fluss-p::after {
  content: ""; position: absolute; left: -4px; bottom: -1px;
  border: 5px solid transparent; border-top: 7px solid var(--o);
}
/* kleine Markierung oben im Kasten */
.fluss-zeile {
  display: flex; align-items: center; gap: 9px;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--o); margin-bottom: 4px;
}
.fluss-zeile i { display: block; width: 26px; height: 3px; background: var(--o); border-radius: 2px; }

@media (max-width: 900px) {
  .erklaer { grid-template-columns: 1fr; gap: 30px; }
  .erklaer.gedreht .erklaer-bild { order: 0; }
  .erklaer-bild { min-height: 0; }
}

/* Band, das die Erklaer-Bloecke zusammenhaelt */
.erklaer-band { background: var(--w); }
.erklaer-band > .section-head {
  padding: clamp(85px, 10vw, 130px) max(22px, calc((100vw - var(--max)) / 2)) 0;
  margin-bottom: 0;
}
.erklaer-mehr {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  font-weight: 800; font-size: .86rem; color: var(--o); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 3px;
}
.erklaer-mehr:hover { border-bottom-color: var(--o); }

/* wiederkehrender Haupt-Knopf zwischen den Abschnitten */
.cta-band {
  background: var(--n); color: #fff; text-align: center;
  padding: clamp(46px, 5.5vw, 72px) max(22px, calc((100vw - var(--max)) / 2));
}
.cta-band b { display: block; font-size: clamp(1.3rem, 2.5vw, 1.85rem); letter-spacing: -.035em; }
.cta-band p { color: #a9b4bf; margin: 12px auto 0; max-width: 52ch; line-height: 1.65; }
.cta-band .actions { justify-content: center; margin-top: 26px; }

/* Beim Drucken darf nie ein Einblend-Element fehlen (Regel: beforeprint-Netz). */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .erklaer { break-inside: avoid; page-break-inside: avoid; }
}

/* Die Kopfleiste klebt oben. Ohne Abstand landet jeder Sprung-Link (#kontakt …)
   unter ihr und der Anfang des Abschnitts ist verdeckt. */
[id] { scroll-margin-top: 150px; }   /* Kopfleiste 134px + 16px Luft */
@media (max-width: 600px) { [id] { scroll-margin-top: 122px; } }  /* dort 106px hoch */

/* Variante des Erklaer-Kastens mit echtem Bildschirmfoto statt Grafik.
   Angeschnitten dargestellt: der obere Teil sagt alles, der Rest wuerde
   nur schrumpfen. Keine feste Hoehe, damit am Handy nichts abreisst. */
.erklaer-bild.foto { padding: clamp(20px, 2.4vw, 32px); overflow: hidden; }
/* Angeschnitten und vergroessert: ein ganzes Dashboard auf Briefmarkengroesse
   sagt nichts. Lieber die obere linke Ecke gross, der Rest laeuft aus dem Bild. */
.erklaer-bild.foto figure { margin: 0; }
.erklaer-bild.foto .rahmen {
  overflow: hidden; border-radius: 11px;
  border: 1px solid var(--l); aspect-ratio: 16 / 10;
  box-shadow: 0 12px 30px rgba(16, 25, 35, .12);
}
.erklaer-bild.foto img { display: block; width: 152%; height: auto; }
@media (max-width: 900px) {
  .erklaer-bild.foto .rahmen { aspect-ratio: 16 / 11; }
  .erklaer-bild.foto img { width: 178%; }
}
.erklaer-bild.foto figcaption {
  margin-top: 13px; font-size: .72rem; color: var(--m); line-height: 1.5;
}

/* Manche Aufnahmen sind schon grossformatig (Shop mit grossen Produktbildern).
   Die brauchen keinen Anschnitt — sonst faellt die Preiszeile unten weg. */
.erklaer-bild.foto.ganz .rahmen { aspect-ratio: 1500 / 1041; }
.erklaer-bild.foto.ganz img { width: 100%; }
@media (max-width: 900px) {
  .erklaer-bild.foto.ganz .rahmen { aspect-ratio: 1500 / 1041; }
  .erklaer-bild.foto.ganz img { width: 100%; }
}

/* ═══════════ Ergaenzungen fuer die Unterseiten ═══════════ */

/* Auf Unterseiten steht das Erklaer-Band auf hellem Grund und braucht
   etwas weniger Luft als auf der Startseite. */
.detail-band { background: var(--w); padding-top: clamp(30px, 4vw, 52px); }
.detail-band .erklaer { padding-top: clamp(30px, 4vw, 54px); padding-bottom: clamp(30px, 4vw, 54px); }
.detail-band > .section-head { padding-bottom: 0; margin-bottom: 0; }

/* Waagrechter Ablauf: fuer Schritte, die nebeneinander besser lesbar sind */
.fluss.quer { flex-direction: row; align-items: stretch; gap: 0; }
.fluss.quer .fluss-k { flex: 1; min-width: 0; }
.fluss.quer .fluss-p {
  width: 22px; height: 2px; margin: auto 0; flex: 0 0 auto;
  background: linear-gradient(90deg, var(--l), var(--o));
}
.fluss.quer .fluss-p::after {
  left: auto; right: -1px; bottom: auto; top: -5px;
  border: 5px solid transparent; border-left: 7px solid var(--o); border-top-width: 5px;
}
@media (max-width: 620px) {
  .fluss.quer { flex-direction: column; }
  .fluss.quer .fluss-p { width: 2px; height: 24px; margin: 0 0 0 30px;
    background: linear-gradient(180deg, var(--l), var(--o)); }
  .fluss.quer .fluss-p::after { left: -4px; right: auto; top: auto; bottom: -1px;
    border: 5px solid transparent; border-top: 7px solid var(--o); }
}

/* Eingangs-Kanaele: mehrere Quellen laufen auf einen Punkt zu */
.quellen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.quellen div {
  background: var(--w); border: 1px solid var(--l); border-radius: 10px;
  padding: 11px 9px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--i);
}
.quellen div small { display: block; font-weight: 500; font-size: .66rem; color: var(--m); margin-top: 3px; }
.sammel {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--o); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 9px 0 5px;
}
.sammel::before, .sammel::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--l), transparent);
}

/* Leiste "Verbindet sich mit" — nur echte, nachweisbare Anbindungen */
.verbindet {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--l);
}
.verbindet > b {
  flex: 0 0 100%; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--m); margin-bottom: 3px;
}
.verbindet span {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--w); border: 1px solid var(--l); border-radius: 999px;
  padding: 8px 14px 8px 10px; font-size: .8rem; font-weight: 700; color: var(--i);
}
.verbindet span i {
  width: 20px; height: 20px; border-radius: 5px; flex: 0 0 auto;
  background: var(--o); color: #fff; display: grid; place-items: center;
  font-style: normal; font-size: .64rem; font-weight: 900;
}

/* Verzweigung: nach einer Pruefung gehen zwei Wege weiter */
.fluss-zweig { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fluss-gabel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  height: 22px; margin: 0 0 2px;
}
.fluss-gabel i {
  display: block; border-top: 2px solid var(--l); border-radius: 3px 3px 0 0;
  position: relative;
}
.fluss-gabel i:first-child { border-left: 2px solid var(--l); margin-left: 30px; }
.fluss-gabel i:last-child { border-right: 2px solid var(--o); margin-right: 30px; border-top-color: var(--o); }
.fluss-k.klein { padding: 12px 13px; }
.fluss-k.klein b { font-size: .86rem; }
.fluss-k.klein span { font-size: .72rem; }
@media (max-width: 620px) {
  .fluss-zweig { grid-template-columns: 1fr; }
  .fluss-gabel { display: none; }
}

/* ═══════════ Knoten-Darstellung (wie eine laufende Automatisierung) ═══════════
   Dunkler Kasten mit Punktraster, Schritte als Symbol-Knoten. Die Leitungen
   stehen fest (wie bei n8n immer sichtbar) — animiert wird das SIGNAL: ein
   leuchtender Punkt wandert Leitung fuer Leitung von Start bis Ziel, jeder
   Knoten "feuert" kurz beim Eintreffen. Das letzte Kaestchen einer LOESUNG
   wird zum gruenen Haken — bei einer Problem-Kette (heutiger Ablauf) und
   beim nicht genommenen Zweig einer Verzweigung bewusst NICHT: sonst waere
   das eine falsche Bestaetigung fuer etwas, das nicht (so) passiert. */
.erklaer-bild.node {
  background: var(--n);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(28px, 3.4vw, 42px) clamp(20px, 3vw, 32px);
  position: relative; overflow: hidden; isolation: isolate;
  display: block;
}
.erklaer-bild.node::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 100% 90% at 50% 35%, #000 45%, transparent 92%);
}
.node-cap {
  display: flex; align-items: center; gap: 9px;
  font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: #ffb27a; margin-bottom: 20px;
}
.node-cap i { width: 22px; height: 2px; background: var(--o); display: block; border-radius: 2px; }

/* Mehrere Eingaenge, die zu einem Punkt zusammenlaufen */
.node-in { display: flex; gap: 8px; margin-bottom: 3px; flex-wrap: wrap; }
.node-in .pin {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px; padding: 9px 11px; text-align: center; flex: 1; min-width: 92px;
}
.node-in .pin b { display: block; font-size: .74rem; color: #fff; font-weight: 700; }
.node-in .pin small { display: block; font-size: .62rem; color: #8b96a3; margin-top: 2px; }
.node-merge {
  text-align: center; font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #8b96a3; margin: 10px 0 14px; position: relative;
}
.node-merge::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 12px;
  background: rgba(255, 255, 255, .22); transform: translateX(-50%);
}

/* Die Kette selbst — die Leitung fuellt den Zwischenraum, nicht der Knoten,
   sonst haengt sie lose irgendwo statt die Kaestchen wirklich zu verbinden. */
.node-row { display: flex; align-items: flex-start; justify-content: center; }
.node {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  flex: 0 1 128px; min-width: 0;
}
.node .badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: #141f2f; border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center; color: #b9c2cc;
  flex: 0 0 auto; position: relative;
}
.node .badge svg { width: 20px; height: 20px; display: block; }
.node.on .badge { background: var(--o); border-color: var(--o); color: #fff; box-shadow: 0 0 0 6px rgba(255, 101, 0, .16); }
.node.aus .badge { background: transparent; color: #4b5560; border-style: dashed; }
.node small.lbl { display: block; text-align: center; font-size: .74rem; font-weight: 700; color: #fff; line-height: 1.3; }
.node small.sub { display: block; text-align: center; font-size: .63rem; color: #8b96a3; margin-top: 2px; line-height: 1.35; }

/* Ein Knoten "feuert" kurz, wenn das Signal eintrifft — Ring blitzt auf,
   Rand bleibt danach einen Hauch heller ("das ist schon gelaufen"). Gilt
   erstmal fuer ALLE Knoten; .ziel und .aus ueberschreiben das gezielt
   mit hoeherer Genauigkeit (KEIN :not() — das hat sich in der Praxis
   als unzuverlaessig erwiesen, siehe Fund unten). */
.erklaer.reveal.visible .node .badge {
  animation: knotAnkunft .4s ease-out both;
  animation-delay: calc(var(--a, 0) * .62s + .2s);
}
/* Nicht genommener Zweig: keine Animation, bleibt einfach dunkel. */
.erklaer.reveal.visible .node.aus .badge { animation: none; }
@keyframes knotAnkunft {
  0%   { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0); }
  35%  { box-shadow: 0 0 0 9px rgba(255, 140, 66, .3); }
  100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0); border-color: rgba(255, 255, 255, .4); }
}

/* Leitung zwischen zwei Knoten — steht fest, wie eine echte Verbindung.
   Animiert wird nur das Signal (.puls), das darauf entlanglaeuft. */
.wire {
  flex: 1 1 24px; min-width: 20px; max-width: 90px; height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, .22);
  position: relative; margin-top: 21px; overflow: visible;
}
.wire .puls {
  position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--o); opacity: 0;
  box-shadow: 0 0 9px 2px rgba(255, 101, 0, .85);
}
.erklaer.reveal.visible .wire .puls {
  animation: drahtPuls .55s linear both;
  animation-delay: calc(var(--d, 0) * .62s + .22s);
}
@keyframes drahtPuls {
  0%   { left: 0; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: calc(100% - 9px); opacity: 0; }
}

/* Verzweigung: ein Stamm, zwei Wege. Das Signal nimmt sichtbar nur EINEN
   Weg — der andere bleibt bewusst dunkel, weil er nicht gelaufen ist. */
.node-fork { display: flex; justify-content: center; gap: 10px; margin-top: 6px; position: relative; padding-top: 16px; }
.node-fork::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 16px;
  background: rgba(255, 255, 255, .22); transform: translateX(-50%);
}
.node-fork .node { flex: 0 1 160px; }

/* Ziel-Knoten einer LOESUNG: wird zum gruenen Haken — als Letztes,
   erst wenn das Signal wirklich angekommen ist. */
.node.ziel .badge { background: #141f2f; border-color: rgba(255, 255, 255, .18); }
.node.ziel .badge svg { opacity: 0; transform: scale(.5); }
.erklaer.reveal.visible .node.ziel .badge {
  animation: knotZiel .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--a, 2) * .62s + .2s);
}
.erklaer.reveal.visible .node.ziel .badge svg {
  animation: knotZielHaken .35s ease forwards;
  animation-delay: calc(var(--a, 2) * .62s + .45s);
}
/* Echte gedaempfte Feder statt geschaetzter cubic-bezier — nur fuer Browser,
   die linear() verstehen (Safari < 17.5 faellt sauber auf die Zeile oben zurueck). */
@supports (animation-timing-function: linear(0, 1)) {
  .erklaer.reveal.visible .node.ziel .badge {
    animation-timing-function: linear(0, .051, .176, .34, .516, .683, .829, .945, 1.03, 1.086, 1.116, 1.126, 1.121, 1.106, 1.085, 1.063, 1.042, 1.023, 1.008, .997, .99, 1);
    animation-duration: .65s;
  }
  .erklaer.reveal.visible .node.ziel .badge svg {
    animation-delay: calc(var(--a, 2) * .62s + .33s);
  }
}
@keyframes knotZiel {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
  45%  { background: #141f2f; border-color: rgba(255,255,255,.18); }
  55%  { background: #22c55e; border-color: #22c55e; transform: scale(1.18); }
  100% { background: #22c55e; border-color: #22c55e; box-shadow: 0 0 0 7px rgba(34, 197, 94, .16); transform: scale(1); }
}
@keyframes knotZielHaken { to { opacity: 1; transform: scale(1); } }

@media (max-width: 620px) {
  .node-row { flex-direction: column; align-items: center; }
  .node-row .node { width: 100%; max-width: 300px; }
  .wire { width: 2px; height: 24px; margin: 0; }
  .wire .puls { left: 50%; top: 0; margin-top: 0; margin-left: -4.5px; }
  .erklaer.reveal.visible .wire .puls { animation-name: drahtPulsSenk; }
  .auto-showcase.reveal.visible .wire .puls { animation-name: drahtPulsSenk; }
  @keyframes drahtPulsSenk {
    0%   { top: 0; opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { top: calc(100% - 9px); opacity: 0; }
  }
  .node-fork { flex-direction: column; align-items: center; }
}

/* Keine Bewegung gewuenscht oder gedruckt: sofort den Endzustand zeigen —
   jede Automatisierungs-Animation braucht dieses Sicherheitsnetz. */
@media (prefers-reduced-motion: reduce), print {
  .wire .puls { display: none; }
  .node .badge { animation: none !important; box-shadow: none !important; }
  .node.ziel .badge {
    animation: none !important; transform: none !important;
    background: #22c55e !important; border-color: #22c55e !important;
  }
  .node.ziel .badge svg { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Auch die kleinen Quell-Kaestchen bekommen ein Symbol statt nur Text. */
.node-in .pin { display: flex; align-items: center; gap: 9px; text-align: left; }
.node-in .pin i.pin-ic {
  width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  background: rgba(255, 255, 255, .08); display: grid; place-items: center;
  color: #cfd6dc; font-style: normal;
}
.node-in .pin i.pin-ic svg { width: 14px; height: 14px; display: block; }
.node-in .pin div { min-width: 0; }

/* Weitere Automatisierungs-Beispiele als Kachel-Raster (eigene Sektion,
   kein Text-Bild-Paar wie .erklaer — deshalb eigene, kleinere Trigger-
   Regeln statt die von .erklaer.reveal.visible mitzubenutzen). */
.auto-showcase { margin-top: 34px; }
.auto-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 860px) {
  .auto-grid { grid-template-columns: 1fr 1fr; }
}
.auto-grid .erklaer-bild.node { min-height: 0; }
.auto-grid .node .badge { width: 38px; height: 38px; border-radius: 11px; }
.auto-grid .node .badge svg { width: 17px; height: 17px; }
.auto-grid .node small.sub { max-width: 15ch; margin-left: auto; margin-right: auto; }
.auto-grid .wire { margin-top: 19px; }

.auto-showcase.reveal.visible .node .badge {
  animation: knotAnkunft .4s ease-out both;
  animation-delay: calc(var(--a, 0) * .5s + .15s);
}
.auto-showcase.reveal.visible .node.aus .badge { animation: none; }
.auto-showcase.reveal.visible .wire .puls {
  animation: drahtPuls .5s linear both;
  animation-delay: calc(var(--d, 0) * .5s + .17s);
}
.auto-showcase.reveal.visible .node.ziel .badge {
  animation: knotZiel .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--a, 2) * .5s + .15s);
}
.auto-showcase.reveal.visible .node.ziel .badge svg {
  animation: knotZielHaken .35s ease forwards;
  animation-delay: calc(var(--a, 2) * .5s + .4s);
}
@supports (animation-timing-function: linear(0, 1)) {
  .auto-showcase.reveal.visible .node.ziel .badge {
    animation-timing-function: linear(0, .051, .176, .34, .516, .683, .829, .945, 1.03, 1.086, 1.116, 1.126, 1.121, 1.106, 1.085, 1.063, 1.042, 1.023, 1.008, .997, .99, 1);
    animation-duration: .55s;
  }
  .auto-showcase.reveal.visible .node.ziel .badge svg {
    animation-delay: calc(var(--a, 2) * .5s + .3s);
  }
}
