/* klimpr auf schlayer-consulting.de
   Streifen in der Zielgruppen-Sektion (index.html) und Brückenseite (klimpr.html).
   Farben laut klimpr-Markenassets: #31C48D nie als Textfarbe auf hellem Grund,
   dafür #17845A. Blau (Schlayer) und Grün (klimpr) nie im selben Bauteil. */

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --klimpr-ink: #101418;
  --klimpr-accent: #31C48D;
  --klimpr-green-text: #17845A;
  --klimpr-paper: #E9EDF2;
  --klimpr-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Button im klimpr-Grün ── */
.klimpr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--klimpr-green-text);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.klimpr-btn:hover {
  background: var(--klimpr-ink);
  color: #fff;
}
.klimpr-btn:focus-visible,
.bridge a:focus-visible {
  outline: 3px solid var(--klimpr-accent);
  outline-offset: 3px;
}

/* ── Startseite: Sektion „Eigene Software“ ── */
.own-software {
  background: var(--klimpr-ink);
  color: #E9EDF2;
  padding: 5rem 0;
}
.own-software-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}
.own-software-visual {
  position: relative;
  margin: 0 0 2.5rem;
}
.own-software-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
/* Kennzeichnung KI-generierter Bilder (sichtbar; im alt-Text steht derselbe Hinweis) */
.ai-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(16, 20, 24, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.66rem;
  line-height: 1.4;
  pointer-events: none;
}

.mini-receipt {
  position: absolute;
  right: -1.5rem;
  bottom: -2.5rem;
  width: 13.5rem;
  padding: 1rem 1.1rem 1.4rem;
  background: #fff;
  color: var(--klimpr-ink);
  font-family: var(--klimpr-mono);
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.55;
  transform: rotate(-3deg);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.mini-receipt p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.mini-receipt .mini-receipt-head {
  justify-content: center;
  padding-bottom: 0.45rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px dashed currentColor;
  font-size: 0.95rem;
}
.own-software-text > .own-software-kicker {
  margin: 0 0 0.75rem;
  color: var(--klimpr-accent);
  font-weight: 600;
}
.own-software .container h2,
.own-software h2 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(1.7rem, 1.2vw + 1.2rem, 2.3rem);
  line-height: 1.2;
}
.own-software-text > p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: #C9D1D9;
}
.own-software-facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.own-software-facts li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.55;
  color: #E9EDF2;
}
.own-software-facts li::before {
  /* Häkchen wie auf dem Beleg */
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--klimpr-accent);
  font-family: var(--klimpr-mono);
}
.own-software-text .own-software-bridge {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(233, 237, 242, 0.15);
  color: #fff;
  font-weight: 600;
}
.own-software-btn {
  display: inline-flex;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--klimpr-accent);
  color: var(--klimpr-ink);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
}
.own-software-btn:hover {
  background: #fff;
  color: var(--klimpr-ink);
}
.own-software-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ── Startseite: Hinweis unter „Für wen“ ── */
.audience-aside {
  margin: -0.25rem 0 0;
  color: var(--muted);
}
.audience-aside a {
  color: var(--klimpr-green-text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.audience-aside a:hover {
  color: var(--klimpr-ink);
}
.audience-aside a:focus-visible {
  outline: 3px solid var(--klimpr-accent);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .own-software {
    padding: 3.5rem 0 4rem;
  }
  .own-software-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mini-receipt {
    right: 0.75rem;
    width: 12rem;
  }
}

/* ── Brückenseite ── */
.bridge {
  padding: 3.5rem 0 4.5rem;
}
.bridge-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}
.bridge-text {
  max-width: 36rem;
}
.bridge-text .bridge-mark {
  display: block;
  width: 132px;
  height: auto;
  margin-bottom: 1.75rem;
}
.bridge-text h1 {
  margin: 0 0 1.25rem;
}
.bridge-text p {
  line-height: 1.65;
}
.bridge-text .lead {
  margin: 0 0 1rem;
}
.bridge-actions {
  margin: 2rem 0 0.5rem;
}
.bridge-note {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.bridge-more {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--klimpr-paper);
  display: grid;
  gap: 0.6rem;
}
.bridge-more a {
  color: var(--klimpr-green-text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.bridge-more a:hover {
  color: var(--klimpr-ink);
}
.bridge-more span {
  color: var(--muted);
  font-size: 0.92rem;
}
.bridge-call {
  margin-top: 2.25rem;
}
.bridge-call p {
  margin: 0 0 0.75rem;
  font-weight: 600;
}

/* Rechte Spalte: Drucker mit Beleg */
.bridge-printer {
  background: var(--klimpr-paper);
  border-radius: 20px;
  padding: 2rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.printer-slot {
  position: relative;
  width: min(100%, 352px);
  height: 18px;
  border-radius: 9px;
  background: var(--klimpr-ink);
  z-index: 1;
}
.printer-slot::after {
  /* Statusleuchte des Druckers */
  content: "";
  position: absolute;
  right: 14px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--klimpr-accent);
}
.receipt-feed {
  width: min(100% - 32px, 320px);
  margin-top: -6px;
  overflow: hidden;
  /* Schatten folgt der gezackten Abrisskante */
  filter: drop-shadow(0 14px 18px rgba(16, 20, 24, 0.14));
}
.receipt {
  --tooth: 14px;
  background: #fff;
  color: var(--klimpr-ink);
  font-family: var(--klimpr-mono);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.5;
  padding: 1.75rem 1.35rem 2.25rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  animation: receipt-print 1.1s steps(22, end) 0.25s both;
}
@keyframes receipt-print {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .receipt { animation: none; }
}
.receipt-head {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.receipt-sub {
  margin: 0.2rem 0 1rem;
  text-align: center;
}
.receipt h2 {
  /* Abschnittsüberschrift im Beleg: gleiche Schrift, kein Seitenstil */
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding-top: 0.8rem;
  border-top: 1px dashed currentColor;
}
.receipt dl {
  margin: 0.35rem 0 0.9rem;
}
.receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.receipt dt,
.receipt dd {
  margin: 0;
}
.receipt dd {
  text-align: right;
  white-space: nowrap;
}
.receipt .receipt-total {
  margin: 0;
  padding: 0.8rem 0;
  border-top: 2px solid currentColor;
  border-bottom: 1px dashed currentColor;
  font-size: 0.95rem;
}
.receipt .receipt-total dd {
  white-space: normal;
}
.receipt-foot {
  margin: 1rem 0 0;
  text-align: center;
}

@media (max-width: 860px) {
  .bridge {
    padding: 2.25rem 0 3rem;
  }
  .bridge-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
