/* CURO Software – Farben und Schrift wie bei BELEgo (Styleguide).
   Schrift liegt auf dem eigenen Server, nicht bei Google - so geht beim
   Aufruf nichts an Dritte. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("schriften/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("schriften/inter-latin-600.woff2") format("woff2"); }

:root {
  --gelb: #EBA81B; --gelb-hell: #FDF8DB; --gelb-rand: #F3DEA2;
  --tinte: #101828; --tinte-weich: #44515F; --grau: #6B7280;
  --linie: #D0D5DE; --papier: #F2F6FC; --flaeche: #FFFFFF;
  --kennzeile: #34568C; --nadel: #FDF9F0;
  --schatten: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px -12px rgba(16,24,40,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif; color: var(--tinte);
  background: var(--flaeche); line-height: 1.55; font-size: 16px;
}
img { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gelb); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--kennzeile); }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; border-radius: 4px; }
main { flex: 1; }

.rahmen { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.schmal { max-width: 760px; }

/* Kopf mit Navigation */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--linie); }
.kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Logo enthaelt den Schriftzug SOFTWARE GMBH – deshalb hoeher und ohne Zusatz daneben */
.marke img { height: 44px; width: auto; display: block; }
.marke span { display: none; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; color: var(--tinte-weich); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--papier); color: var(--tinte); }
.nav a[aria-current="page"] { color: var(--tinte); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gelb); border-radius: 0; }
.nav a.knopf { margin-left: 8px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 10px; background: var(--gelb-hell); border: 1px solid var(--gelb-rand); color: var(--tinte); }
.knopf:hover { background: #FAEFC0; color: var(--tinte); }
.knopf.dunkel { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.knopf.dunkel:hover { background: #1F2A3D; color: #fff; }
.knopf.leise { background: var(--flaeche); border-color: var(--linie); }
.knopf.leise:hover { background: var(--papier); }
.nav a.knopf { padding: 8px 16px; color: var(--tinte); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Typografie */
.marker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kennzeile); }
.strich { width: 56px; height: 4px; border-radius: 99px; background: var(--gelb); margin: 0 0 24px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.titel { margin-top: 16px; font-size: clamp(32px, 5vw, 52px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.titel strong { font-weight: 600; }
/* Wie auf dem Flyer: die drei Werte fett unter der Zeile */
.titel .werte { display: block; margin-top: 12px; font-size: .62em; font-weight: 600; letter-spacing: -.005em; }
.einleitung { margin-top: 24px; max-width: 36em; font-size: 18px; color: var(--tinte-weich); }
h2.abschnitt { margin-top: 14px; font-size: clamp(26px, 3.4vw, 36px); }
.unter { margin-top: 14px; max-width: 40em; font-size: 17px; color: var(--tinte-weich); }

/* Bühne (Startseite und Seitenköpfe) */
.buehne { position: relative; overflow: hidden; }
.nadel { position: absolute; right: -14vw; top: -10vh; width: min(70vw, 720px); height: auto; z-index: 0; pointer-events: none; }
.buehne > .rahmen { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.raster { display: grid; gap: 48px; align-items: center; }
.buehne-bild { perspective: 1800px; }
.buehne-bild img, .bild-rahmen img {
  display: block; width: 100%; height: auto; border: 1px solid var(--linie); border-radius: 14px; background: var(--flaeche);
  box-shadow: 0 2px 4px rgba(16,24,40,.06), 24px 40px 60px -12px rgba(16,24,40,.22);
}
.buehne-bild img { transform: rotateY(-10deg); transform-origin: right center; }
@media (min-width: 1100px) {
  .buehne .raster { grid-template-columns: 460px minmax(0, 1fr); gap: 56px; }
}
.seitenkopf > .rahmen { padding-top: 72px; padding-bottom: 64px; }

/* Abschnitte */
.abschnitt-block { padding: 88px 0; }
.abschnitt-block.papier { background: var(--papier); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.kopfzeile { max-width: 760px; margin-bottom: 48px; }

.karten { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 28px; box-shadow: var(--schatten); }
.karte h3 { font-size: 19px; margin-top: 18px; }
.karte p { margin-top: 8px; color: var(--tinte-weich); }
.karte ul { margin-top: 12px; padding-left: 0; list-style: none; color: var(--tinte-weich); }
.karte li { padding-left: 22px; position: relative; margin-top: 6px; }
.karte li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); }
.symbol { width: 44px; height: 44px; border-radius: 12px; background: var(--gelb-hell); border: 1px solid var(--gelb-rand); display: grid; place-items: center; }
.symbol svg { width: 22px; height: 22px; stroke: var(--tinte); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Produktband BELEgo */
.produkt { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .produkt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; } }
.produkt .belego-logo { width: 220px; height: auto; display: block; }
.produkt p.unter { margin-top: 20px; }

.zeitstrahl { margin-top: 28px; display: grid; gap: 12px; list-style: none; }
.zeitstrahl li { display: flex; gap: 16px; align-items: baseline; background: var(--gelb-hell); border: 1px solid var(--gelb-rand); border-radius: 10px; padding: 12px 18px; }
.zeitstrahl strong { font-weight: 600; min-width: 9.5em; }
.zeitstrahl span { color: var(--tinte-weich); }

/* Liste mit Häkchen */
.haken { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 30px; color: var(--tinte-weich); }
.haken li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--gelb-hell) no-repeat center/12px;
  border: 1px solid var(--gelb-rand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23101828' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.haken strong { color: var(--tinte); font-weight: 600; }

/* Schritte */
.schritte { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; list-style: none; }
.schritte li { counter-increment: s; border-top: 3px solid var(--gelb); padding-top: 18px; }
.schritte li::before { content: "0" counter(s); display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--kennzeile); }
.schritte h3 { font-size: 18px; margin-top: 8px; }
.schritte p { margin-top: 6px; color: var(--tinte-weich); font-size: 15px; }

/* Zweispaltig */
.zwei { display: grid; gap: 40px; }
@media (min-width: 900px) { .zwei { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Personen */
.person { display: flex; gap: 18px; align-items: center; }
.kuerzel { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: #fff; font-weight: 600; letter-spacing: .04em; }
.person h3 { font-size: 18px; margin: 0; }
.person p { margin: 2px 0 0; color: var(--grau); font-size: 15px; }

/* Aufruf */
.aufruf { background: var(--tinte); color: #fff; border-radius: 20px; padding: 56px 48px; position: relative; overflow: hidden; }
.aufruf .nadel-klein { position: absolute; right: -40px; top: -60px; width: 280px; opacity: .08; }
.aufruf h2 { font-size: clamp(24px, 3vw, 32px); max-width: 22em; position: relative; }
.aufruf p { margin-top: 14px; max-width: 38em; color: #C9D1DD; position: relative; }
.aufruf .knoepfe { position: relative; }
.aufruf .knopf.leise { background: transparent; color: #fff; border-color: #3A4658; }
.aufruf .knopf.leise:hover { background: #1F2A3D; }

/* Kontakt */
.kontakt-karten .karte a { font-weight: 600; color: var(--tinte); }
.kontakt-karten .karte p.gross { font-size: 18px; color: var(--tinte); margin-top: 10px; }
dl.daten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin-top: 12px; color: var(--tinte-weich); }
dl.daten dt { color: var(--grau); }

/* Rechtstexte */
main.seite .rahmen { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
main.seite h1 { font-size: 32px; }
main.seite h2 { font-size: 19px; margin-top: 36px; }
main.seite p, main.seite li { margin-top: 10px; color: var(--tinte-weich); }
main.seite ul { padding-left: 20px; }

/* Fuss */
.fuss { background: var(--papier); border-top: 1px solid var(--linie); font-size: 14px; color: var(--grau); }
.fuss .oben { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 48px; padding-bottom: 36px; }
.fuss h4 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte); margin-bottom: 10px; }
.fuss .oben a { display: block; text-decoration: none; color: var(--tinte-weich); padding: 3px 0; }
.fuss .oben a:hover { color: var(--kennzeile); text-decoration: underline; text-decoration-color: var(--gelb); }
.fuss .oben img { height: 40px; width: auto; display: block; margin-bottom: 14px; }
.fuss .oben p { color: var(--tinte-weich); }
.fuss .unten { border-top: 1px solid var(--linie); }
.fuss .unten .rahmen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.fuss .unten nav { display: flex; gap: 20px; }
.fuss .unten a { color: var(--tinte-weich); }

@media (max-width: 760px) {
  .marke img { height: 38px; }
  .kopf { position: static; }
  .nav { width: 100%; margin: 0 -8px; gap: 0; }
  .nav a { padding: 8px 8px; font-size: 14px; }
  .nav a.knopf { padding: 6px 12px; }
  .nav a.knopf { margin-left: 0; }
  .buehne > .rahmen { padding-top: 56px; padding-bottom: 56px; }
  .buehne-bild img { transform: rotateY(-6deg); }
  .abschnitt-block { padding: 64px 0; }
  .einleitung { font-size: 17px; }
  .aufruf { padding: 40px 24px; }
  .zeitstrahl li { flex-direction: column; gap: 2px; }
  .nadel { right: -40vw; width: 120vw; }
}
