/* Leistungsseiten (/ki-prozesse/ und folgende): ruhige Textseite wie die Rechtsseiten,
   dazu ein paar Bausteine, die eine Leistung verkaufen: Auftakt, Beispielkarten,
   Ablaufschritte, Preisblock, Abgrenzung, Fragen, Handlungsaufruf.
   Setzt basis.css und recht.css voraus: Farben, Schriften, Kopf, Fuß und Textstile
   kommen von dort. Kein Skript, keine Engine. */

/* Breiter als eine reine Textseite: die Karten brauchen Platz. */
.leistung-mitte { max-width: 56em; margin-inline: auto; }
.leistung-text { max-width: 34em; }

/* Auftakt */
.auftakt { padding-block: clamp(36px, 7vw, 76px) clamp(28px, 5vw, 48px); }
.auftakt__weg { font: 500 14px/1 var(--sc-font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--grau-hell); margin: 0 0 1.4em; }
.auftakt__weg a { color: var(--grau-hell); text-decoration: none; }
.auftakt__weg a:hover { color: var(--gruen); }
.auftakt h1 { margin-bottom: .5em; }
.auftakt h1 em { font-style: normal; color: var(--gruen); }
.auftakt__vorspann { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.55; color: var(--nebel); max-width: 32em; }

/* Karten mit den Beispielen */
.faelle { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin: 1.6em 0 2.2em; padding: 0; list-style: none; }
.fall { display: flex; flex-direction: column; background: var(--daemmerung); border: 1px solid var(--orange); border-radius: 18px; padding: 26px 24px 24px; }
.fall h3 { margin: 0 0 .7em; color: var(--hell); }
.fall p { font-size: 16.5px; line-height: 1.55; color: var(--nebel); margin: 0 0 .9em; }
.fall__heute { color: var(--grau-hell); font-size: 15.5px; }
.fall__zahl { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; border-top: 1px solid rgba(238, 240, 234, .10); }
.fall__zahl b { font: 700 clamp(26px, 3.4vw, 32px)/1 var(--sc-font-display); color: var(--gruen); white-space: nowrap; }
.fall__zahl span { font-size: 15px; color: var(--grau-hell); }

/* Preis statt Zeitersparnis: untereinander, damit lange Spannen nicht umbrechen */
.fall__preis { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(238, 240, 234, .10); }
.fall__preis b { display: block; font: 700 clamp(21px, 2.5vw, 26px)/1.1 var(--sc-font-display); color: var(--gruen); white-space: nowrap; }
.fall__preis span { display: block; font-size: 14.5px; color: var(--grau-hell); margin-top: .25em; }

/* Ablauf in Schritten */
.schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 1.4em 0 0; }
.schritte li { counter-increment: schritt; position: relative; padding-left: 52px; margin-bottom: 1.5em; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gruen); color: var(--nacht);
  font: 700 17px/1 var(--sc-font-display);
}
.schritte b { display: block; font: 500 19px/1.3 var(--sc-font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--hell); margin-bottom: .25em; }
.schritte p { margin: 0; color: var(--nebel); font-size: 17px; }

/* Preisblock */
.preis { background: var(--daemmerung); border: 1px solid var(--orange); border-radius: 18px; padding: clamp(24px, 4vw, 34px); margin: 1.6em 0 0; }
.preis p:last-child { margin-bottom: 0; }
.preis__weiter { text-align: right; }
.preis__weiter a { font: 500 17px/1.2 var(--sc-font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--gruen); text-decoration: none; }
.preis__weiter a:hover { text-decoration: underline; text-underline-offset: 4px; }
.preis__spanne { font: 700 clamp(24px, 3.6vw, 32px)/1.05 var(--sc-font-display); text-transform: uppercase; color: var(--gruen); margin: 0 0 .5em; }

/* Abgrenzung: was wir nicht tun */
.nicht { list-style: none; padding: 0; }
.nicht li { position: relative; padding-left: 30px; margin-bottom: .8em; color: var(--nebel); }
.nicht li::before { content: "×"; position: absolute; left: 6px; top: -1px; color: var(--grau-hell); font-size: 20px; line-height: 1.2; }

/* Fragen und Antworten */
.fragen { margin-top: 1.2em; }
/* Sinan 20.11.2026: kleiner und enger, der Block nahm zu viel Platz ein. */
.frage { border-top: 1px solid rgba(238, 240, 234, .12); padding: 14px 0; }
.frage:last-child { border-bottom: 1px solid rgba(238, 240, 234, .12); }
.frage h3 { margin: 0 0 .3em; font-size: 16.5px; line-height: 1.25; color: var(--hell); }
.frage p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--nebel); }

/* Handlungsaufruf */
.aufruf { margin-top: clamp(48px, 8vw, 88px); background: var(--daemmerung); border-radius: 22px; padding: clamp(28px, 5vw, 48px); text-align: center; }
.aufruf h2 { margin-top: 0; }
.aufruf p { color: var(--nebel); max-width: 34em; margin-inline: auto; }
.aufruf__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 1.6em; }
.knopf {
  display: inline-block; padding: 15px 30px; border-radius: 999px; text-decoration: none;
  font: 500 16px/1 var(--sc-font-display); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.knopf--voll { background: var(--gruen); color: var(--nacht); }
.knopf--voll:hover { transform: translateY(-2px); background: #2BE89A; }
.knopf--rand { border: 1px solid var(--orange); color: var(--hell); }
.knopf--rand:hover { border-color: var(--gruen); color: var(--gruen); }
.knopf:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }

/* Querverweise auf andere Leistungen */
.weiter { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 1.2em 0 0; }
.weiter a { display: block; height: 100%; box-sizing: border-box; padding: 20px 22px; border: 1px solid var(--orange); border-radius: 16px; text-decoration: none; color: var(--hell); }
.weiter a:hover { border-color: var(--gruen); }
.weiter b { display: block; font: 500 18px/1.2 var(--sc-font-display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .3em; }
.weiter span { font-size: 15.5px; color: var(--grau-hell); }

@media (prefers-reduced-motion: reduce) { .knopf { transition: none; } .knopf--voll:hover { transform: none; } }

/* Vier Karten in einer Reihe: zwei Spalten statt drei plus Waise.
   .faelle allein ist auf minmax(270px, 1fr) gestellt und ordnet vier Karten
   im 56em-Behälter zu 3+1. min(100%, 380px) erzwingt zwei Spalten, auf dem
   Telefon fällt es über die 100 % auf eine zurück. */
.faelle--zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

/* Porträt auf der Über-uns-Seite. Quelle ist ein Standbild aus Sinans eigenem
   Video, also 9:16. Auf 4:5 beschnitten, Bildausschnitt nach oben versetzt,
   damit das Gesicht im Bild bleibt. */
.portraet { margin: 2.6em 0 0; max-width: 34em; }
.portraet img { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; border-radius: 18px; border: 1px solid rgba(238, 240, 234, .09); }
.portraet figcaption { margin-top: .8em; font-size: 14.5px; color: var(--grau-hell); }

/* Schlusszeile im Handlungsaufruf */
.aufruf__claim { margin-top: 1.4em; color: var(--hell); }

/* Beispielansicht aus einem Produkt. Helle Oberfläche auf dunklem Grund,
   deshalb mit eigenem Rand abgesetzt. Höhe über height: auto, sonst schlägt
   das height-Attribut im HTML durch. */
.appbild { margin: 2.2em 0 0; max-width: 34em; }
.appbild img { display: block; width: 100%; max-width: 432px; height: auto; border-radius: 16px; }
.appbild figcaption { margin-top: .8em; font-size: 14.5px; color: var(--grau-hell); }

/* Orange als zweiter Akzent (wie auf der Startseite): schmale Rahmen um Bilder,
   wenige Schlüsselwörter, eine Merkzeile. Grün bleibt die Hauptfarbe. */
.portraet img, .appbild img { border: 0; outline: 1px solid var(--orange); outline-offset: -1px; }
.faelle--rahmen .fall, .weiter--rahmen a { border-color: var(--orange); }
.weiter--rahmen a:hover { border-color: var(--gruen); }
.aufruf--rahmen { border: 1px solid var(--orange); }
.merksatz { padding-left: 18px; border-left: 2px solid var(--orange); color: var(--hell);
  font: 500 clamp(20px, 2.4vw, 23px)/1.35 var(--sc-font-display); text-transform: uppercase; letter-spacing: .03em; }

/* KI-Säule (16.11.2026): Stufenleiter, Ratgeber-Bausteine */
.leiter { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 900px) { .leiter { grid-template-columns: repeat(3, 1fr); } }
.leiter__stufe { background: var(--daemmerung); border: 2px solid var(--gruen, #00D97E); border-radius: 14px; padding: 1.25rem 1.25rem 1.4rem; color: var(--nebel); }
.leiter__stufe > p:first-child { margin: 0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grau-hell); }
.leiter__name { margin: .25rem 0 .5rem; color: var(--hell); }
.leiter__stufe ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.leiter__preis { font-weight: 600; white-space: nowrap; color: var(--gruen, #00D97E); }
.kurzantwort { border-left: 4px solid var(--gruen, #00D97E); padding: .9rem 1.1rem; margin: 1.5rem 0 2rem; background: rgba(0, 217, 126, .06); border-radius: 0 10px 10px 0; }
.kurzantwort > p:first-child { margin-top: 0; font-weight: 600; color: var(--hell); }
.artikel-kopf { font-size: .9rem; color: var(--grau-hell); margin: -.5rem 0 1.5rem; }
.arbeitshilfe, .passend { background: var(--daemmerung); border: 2px solid var(--gruen, #00D97E); border-radius: 14px; padding: 1.25rem; margin: 2rem 0; }
.arbeitshilfe h2, .passend h2 { margin-top: 0; }
.ratgeber-liste { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .ratgeber-liste { grid-template-columns: repeat(2, 1fr); } }
.ratgeber-liste a { display: block; background: var(--daemmerung); border: 1px solid var(--orange); border-radius: 12px; padding: 1rem 1.2rem; text-decoration: none; color: var(--nebel); }
.ratgeber-liste a:hover { border-color: var(--gruen, #00D97E); }
.ratgeber-liste b { display: block; margin-bottom: .3rem; color: var(--hell); }

/* Säulenseiten (16.11.2026): Auswahl der Angebote direkt unter dem Seitenkopf.
   Ganze Kachel ist ein Link; Name, ein Satz, Preis. */
.wahl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; padding: 0; margin: 0 0 clamp(36px, 6vw, 64px); }
.wahl--vier { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
/* Fünf Angebote (KI im Betrieb, seit 20.11.2026 mit KI-Mitarbeiter): breit in einer Reihe, darunter wie gehabt umbrechen. */
.wahl--fuenf { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (min-width: 1200px) {
  .wahl--fuenf { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .wahl--fuenf .wahl__kachel { padding: 20px 16px 18px; }
  .wahl--fuenf .wahl__kachel b { font-size: 20px; }
  /* Pfeil bleibt am Wort, statt bei „KI-Automatisierung“ allein in eine dritte Zeile zu rutschen. */
  .wahl--fuenf .wahl__kachel b::after { content: "\00a0→"; }
  .wahl--fuenf .wahl__kachel span { font-size: 14.5px; }
  .wahl--fuenf .wahl__kachel em { font-size: 17px; }
}
.wahl__kachel { display: flex; flex-direction: column; gap: .5em; height: 100%; box-sizing: border-box; padding: 22px 22px 20px;
  background: var(--daemmerung); border: 1px solid var(--orange); border-radius: 18px; text-decoration: none; color: var(--hell);
  transition: border-color .2s ease, transform .2s ease; }
.wahl__kachel:hover { border-color: var(--gruen); transform: translateY(-2px); }
.wahl__kachel b { font: 700 clamp(21px, 2.4vw, 25px)/1.05 var(--sc-font-display); text-transform: uppercase; letter-spacing: .01em; }
.wahl__kachel b::after { content: " →"; color: var(--gruen); }
.wahl__kachel span { font-size: 15.5px; line-height: 1.5; color: var(--nebel); }
.wahl__kachel em { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(238, 240, 234, .10); font: 700 19px/1.1 var(--sc-font-display); font-style: normal; color: var(--gruen); }
.wahl__hinweis { margin: calc(-1 * clamp(20px, 4vw, 40px)) 0 clamp(36px, 6vw, 64px); color: var(--grau-hell); font-size: 16.5px; }
.wahl__hinweis a { color: var(--gruen); }
@media (prefers-reduced-motion: reduce) { .wahl__kachel { transition: none; } .wahl__kachel:hover { transform: none; } }

/* Preisseite: jede Karte verlinkt auf ihre Leistung. */
.preisliste .fall__preis { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.preisliste .fall__preis b { display: inline; }
.preisliste .fall__preis a { font-size: 15px; color: var(--grau-hell); text-underline-offset: 3px; }
.preisliste .fall__preis a:hover { color: var(--gruen); }
.nicht--haken li::before { content: "✓"; color: var(--gruen); font-size: 17px; top: 1px; }

/* Inspiration: Gestaltungsideen als Videos im Hochformat, daneben was man mitnehmen kann. */
.ideen__knopf { margin-top: 1.4em; cursor: pointer; background: none; font: inherit; }
.ideen__knopf[aria-pressed="true"] { border-color: var(--gruen); color: var(--gruen); }
.ideen { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(40px, 7vw, 80px); }
.idee { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.idee:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.idee:nth-child(even) video { order: 2; }
.idee video { display: block; width: 100%; aspect-ratio: 540 / 918; object-fit: cover; border-radius: 18px; border: 1px solid var(--orange); background: var(--daemmerung); }
.idee__text h2 { margin-top: 0; }
.idee__text p { color: var(--nebel); max-width: 30em; }
.ideen__hinweis { margin-top: clamp(40px, 7vw, 72px); color: var(--grau-hell); }
.ideen__hinweis a { color: var(--gruen); }
@media (max-width: 700px) {
  .idee, .idee:nth-child(even) { grid-template-columns: 1fr; }
  .idee:nth-child(even) video { order: 0; }
  .idee video { max-width: 340px; margin-inline: auto; }
}

/* Ratgeber zitierfähig (17.11.2026): Quellenliste und Autorenkasten */
.quellen { margin: 2rem 0; padding-top: 1rem; border-top: 1px solid rgba(238, 240, 234, .14); }
.quellen h2 { font-size: clamp(18px, 2vw, 21px); margin-top: 0; }
.quellen ol { padding-left: 1.3em; margin: .6em 0 0; font-size: .92rem; color: var(--grau-hell); }
.quellen li { margin: .35em 0; }
.quellen a { overflow-wrap: anywhere; }
.autor { display: flex; gap: 1rem; align-items: flex-start; margin: 2rem 0; padding: 1.1rem 1.2rem; border: 1px solid rgba(238, 240, 234, .14); border-radius: 14px; }
.autor img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.autor p { margin: 0 0 .4em; font-size: .95rem; }
.autor p:first-child { color: var(--hell); font-weight: 600; }
.autor p:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .autor { flex-direction: column; } }
.leistung-text table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; }
.leistung-text th, .leistung-text td { text-align: left; vertical-align: top; padding: .55em .7em; border-bottom: 1px solid rgba(238, 240, 234, .14); }
.leistung-text th { color: var(--hell); font-weight: 600; border-bottom-color: rgba(238, 240, 234, .3); }
@media (max-width: 600px) { .leistung-text table { display: block; overflow-x: auto; font-size: .9rem; } }
.schritte li p + p { margin-top: .6em; }

/* KI-Mitarbeiter: Beispielgespräch als Chatverlauf */
.gespraech { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 1.4em 0 2.4em; background: var(--abend); border: 1px solid rgba(238, 240, 234, .09); border-radius: 22px; padding: clamp(18px, 4vw, 28px); }
.gespraech__marke { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grau-hell); }
.gespraech__ich, .gespraech__er { max-width: 85%; border-radius: 18px; padding: 12px 16px; font-size: 16px; line-height: 1.5; }
.gespraech__ich { align-self: flex-end; background: var(--gruen); color: var(--nacht); border-bottom-right-radius: 6px; }
.gespraech__er { align-self: flex-start; background: var(--daemmerung); color: var(--hell); border-bottom-left-radius: 6px; }
.gespraech__ton { display: block; font-size: 13px; margin-bottom: 4px; color: #0B3A22; }

/* Sprungliste „Auf dieser Seite“ (23.11.2026): kurze Liste der Abschnitte oben auf langen Seiten.
   Den Baustein schreibt site/navigation/sprungliste.mjs, hier nur das Aussehen.
   Die Sprungziele rutschen nicht unter die fixierte Leiste: dafür sorgt schon
   html { scroll-padding-top: 110px } in recht.css (Leiste: .kopf-platz 96px). Deshalb hier
   kein zusätzliches scroll-margin-top, sonst wäre der Abstand doppelt. */
.sprungliste { margin: 0 0 2rem; padding: .9rem 1.1rem .8rem; background: var(--daemmerung); border: 1px solid rgba(238, 240, 234, .14); border-radius: 14px; max-width: 100%; box-sizing: border-box; }
.kurzantwort + .sprungliste { margin-top: -.5rem; }
main .sprungliste__titel { margin: 0 0 .45rem; font: 500 14px/1.2 var(--sc-font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--grau-hell); }
.sprungliste ol { list-style: none; margin: 0; padding: 0; font-size: .95rem; line-height: 1.35; }
main .sprungliste li { margin: 0; break-inside: avoid; }
.sprungliste a { display: block; padding: .42rem 0; color: var(--nebel); text-decoration: none; overflow-wrap: anywhere; border-radius: 4px; }
.sprungliste a:hover { color: var(--gruen); text-decoration: underline; text-decoration-thickness: 1px; }
.sprungliste a:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; color: var(--hell); }
/* Breit: zwei Spalten. Schmal (Handy): eine Spalte und etwas mehr Abstand zum Antippen. */
@media (min-width: 700px) { .sprungliste ol { columns: 2; column-gap: 2rem; } }
@media (max-width: 699px) { .sprungliste a { padding: .6rem 0; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
