/* checklisten-software.de: Bausteine dieser Seite. Liegt über style.css und flowdit.css (dieselben wie checklisten-app.de). */

.icon, .cs-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
html { scroll-behavior: smooth; }
section[id], header[id] { scroll-margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Navigation: sieben Ankerpunkte, Burger schon ab 1150 px ---------- */
.fd-menue { gap: 2px; }
.fd-menue a { padding: 8px 10px; font-size: 15.5px; }
@media (max-width: 1150px) {
  .fd-nav { position: relative; }
  .fd-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 8px;
    background: transparent; border: 0; cursor: pointer;
  }
  .fd-burger span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .fd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .fd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .fd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .fd-menue {
    display: none; position: absolute; left: 0; right: 0; top: 72px; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fd-petrol); padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(7, 22, 28, .3);
  }
  .fd-menue.ist-offen { display: flex; }
  .fd-menue a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
}

/* ---------- Hero ---------- */
.cs-anbieter { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; line-height: 1.4; color: #eaf3ff; }
.cs-anbieter-name { font-weight: 700; color: #fff; }
.cs-anbieter-art { opacity: .85; }
.fd-hero-titel { line-height: 1.35; }
.cs-badges { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-badges li {
  padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  font-size: 14px; line-height: 1.4; color: #fff;
}
.cs-badges .cs-badge-test { background: var(--fd-limette); border-color: var(--fd-limette); color: var(--fd-limette-text); font-weight: 700; }
.cs-hero-lead { max-width: 580px; margin-bottom: 32px; }
.cs-hero-lead p { margin: 0 0 12px; font-size: 18px; line-height: 1.65; font-weight: 300; color: #eaf3ff; }
.cs-hero-lead b { font-weight: 700; color: #fff; font-size: 20px; }
.cs-hero-buttons { align-items: center; }
.cs-preis-ab { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.cs-preis-ab span { font-weight: 400; color: #eaf3ff; }
@media (max-width: 800px) { .cs-hero-lead p { font-size: 17px; } }

/* ---------- Video ---------- */
.cs-video video {
  display: block; width: 100%; max-width: 1040px; height: auto; margin: 0 auto;
  aspect-ratio: 16 / 9; background: var(--fd-petrol-dunkel); border-radius: 18px;
}

/* ---------- Abschnittstitel ---------- */
main h2.cs-titel {
  margin: 0 0 40px; color: var(--fd-text); font-weight: 700;
  font-size: clamp(24px, calc(1.325rem + .9vw), 32px); line-height: 1.2; text-wrap: balance;
}
main h3 { color: var(--fd-text); font-weight: 700; }

/* ---------- Vorteile: Karten wie „Why choose flowdit“ ---------- */
.cs-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cs-karten .box { padding: 26px; }
.cs-karten h3 { margin: 16px 0 0; font-size: 19px; line-height: 1.3; }
.cs-karten .box p { margin-top: 10px; hyphens: auto; -webkit-hyphens: auto; }
.box-icon .icon { width: 40px; height: 40px; stroke-width: 1.75; }
@media (max-width: 1000px) { .cs-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cs-karten { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ---------- Bild-Text-Reihen wie auf flowdit.ae (Hauptmerkmale, Support, Anbieter) ----------
   Jede Reihe läuft über die volle Breite, Hintergrund abwechselnd weiß und hellblau, Bild abwechselnd rechts und links. */
.cs-reihen-abschnitt, .cs-reihe { --fd-innen: max(var(--fd-rand), calc((100% - var(--fd-breite)) / 2 + var(--fd-rand))); }
.cs-abschnitt-kopf { padding: var(--fd-abschnitt) var(--fd-innen) 0; }
.cs-abschnitt-kopf .cs-titel { margin-bottom: 0; }
.cs-reihen { list-style: none; margin: 0; padding: 0; }
.cs-reihe { padding: var(--fd-abschnitt) var(--fd-innen); }
.cs-reihen > .cs-reihe:nth-child(even), .cs-anbieter-info { background: var(--fd-flaeche); }
.cs-reihe-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.cs-reihen > .cs-reihe:nth-child(even) .cs-reihe-text, .cs-reihe.ist-bild-links .cs-reihe-text { order: 2; }
.cs-reihe-text h3 { margin: 18px 0 14px; font-size: clamp(22px, 1.6vw + 8px, 28px); line-height: 1.25; text-wrap: balance; }
.cs-reihe-text p { margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.75; color: #46525d; hyphens: auto; -webkit-hyphens: auto; }
.cs-reihe-bild { margin: 0; }
.cs-liste-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 8px; background: var(--fd-flaeche); color: var(--fd-petrol);
}
.cs-liste-icon .icon { width: 24px; height: 24px; }
.cs-reihen > .cs-reihe:nth-child(even) .cs-liste-icon { background: #fff; }

/* Bild: blau getöntes Foto, darüber App-Ausschnitt und Hinweiskarte */
.cs-reihe-bild-b { position: relative; width: 100%; max-width: 600px; justify-self: center; padding: 28px 0 56px 96px; }
.cs-reihen > .cs-reihe:nth-child(even) .cs-reihe-bild-b, .cs-reihe.ist-bild-links .cs-reihe-bild-b { padding: 28px 96px 56px 0; }
.cs-b-foto { display: block; width: 100%; max-width: 380px; height: auto; margin-left: auto; border-radius: 18px; }
.cs-reihen > .cs-reihe:nth-child(even) .cs-b-foto, .cs-reihe.ist-bild-links .cs-b-foto { margin-left: 0; margin-right: auto; }
.cs-b-app {
  position: absolute; left: 0; bottom: 0; width: 50%; max-width: 290px; height: auto;
  border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(7, 22, 28, .22);
}
.cs-b-app.ist-quer { width: 88%; max-width: 520px; }
.cs-reihen > .cs-reihe:nth-child(even) .cs-b-app, .cs-reihe.ist-bild-links .cs-b-app { left: auto; right: 0; }
.cs-b-hinweis {
  position: absolute; top: 0; right: -12px; display: flex; gap: 12px; align-items: center; max-width: 300px;
  padding: 12px 16px; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(7, 22, 28, .18);
}
.cs-reihen > .cs-reihe:nth-child(even) .cs-b-hinweis, .cs-reihe.ist-bild-links .cs-b-hinweis { right: auto; left: -12px; }
.cs-b-hinweis b { display: block; font-size: 15px; line-height: 1.3; color: var(--fd-text); }
.cs-b-hinweis small { display: block; font-size: 13px; line-height: 1.35; color: var(--fd-text-2); overflow-wrap: anywhere; }
.cs-b-hinweis-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; border-radius: 10px; background: #e8f4ec; color: #2f8a57; }
.cs-b-hinweis-icon .icon { width: 20px; height: 20px; }

@media (max-width: 1000px) {
  .cs-reihe-innen { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cs-reihen > .cs-reihe:nth-child(even) .cs-reihe-text, .cs-reihe.ist-bild-links .cs-reihe-text { order: 0; }
  .cs-reihe-bild-b, .cs-reihen > .cs-reihe:nth-child(even) .cs-reihe-bild-b, .cs-reihe.ist-bild-links .cs-reihe-bild-b { padding: 24px 0 40px 48px; justify-self: start; }
  .cs-reihen > .cs-reihe:nth-child(even) .cs-b-foto, .cs-reihe.ist-bild-links .cs-b-foto { margin-left: auto; margin-right: 0; }
  .cs-reihen > .cs-reihe:nth-child(even) .cs-b-app, .cs-reihe.ist-bild-links .cs-b-app { left: 0; right: auto; }
  .cs-reihen > .cs-reihe:nth-child(even) .cs-b-hinweis, .cs-reihe.ist-bild-links .cs-b-hinweis { left: auto; right: -8px; }
}
@media (max-width: 640px) {
  .cs-reihe-bild-b, .cs-reihen > .cs-reihe:nth-child(even) .cs-reihe-bild-b, .cs-reihe.ist-bild-links .cs-reihe-bild-b { padding: 20px 0 32px 24px; }
  .cs-b-app { width: 58%; }
  .cs-b-app.ist-quer { width: 96%; }
  .cs-b-hinweis, .cs-reihen > .cs-reihe:nth-child(even) .cs-b-hinweis, .cs-reihe.ist-bild-links .cs-b-hinweis { right: 0; max-width: 250px; padding: 10px 12px; }
  .cs-b-hinweis small { display: none; }
}

/* ---------- Preise ---------- */
.cs-preise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.cs-tarif { display: flex; flex-direction: column; padding: 28px 24px; background: #fff; border: 2px solid var(--fd-linie); }
.cs-tarif-hervor { border-color: var(--fd-gruen-hell); }
main .cs-tarif h2 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--fd-petrol); font-weight: 700; }
main .cs-tarif h3.cs-preis { margin: 10px 0 0; font-size: 38px; line-height: 1.15; color: var(--fd-text); }
.cs-einheit { margin: 6px 0 20px; min-height: 3.2em; font-size: 15px; line-height: 1.6; color: var(--fd-text-2); }
.cs-btn { align-self: stretch; text-align: center; font-size: 16px; background: var(--fd-limette); color: var(--fd-limette-text); border: 2px solid var(--fd-limette); border-radius: 8px; }
.cs-btn:hover { background: var(--fd-gruen-hell); border-color: var(--fd-gruen-hell); color: var(--fd-limette-text); }
.cs-btn:focus-visible { outline: 3px solid var(--fd-petrol); outline-offset: 2px; }
.cs-plus { margin: 22px 0 0; font-size: 15px; font-weight: 700; color: var(--fd-text); }
.cs-haken { list-style: none; margin: 16px 0 0; padding: 0; }
.cs-tarif > .cs-btn + .cs-haken { margin-top: 22px; }
.cs-haken li { display: flex; gap: 10px; margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: #46525d; hyphens: auto; -webkit-hyphens: auto; }
.cs-haken .icon, .cs-editionen .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--fd-gruen); stroke-width: 2.5; }
.cs-editionen { margin-top: 32px; padding: 24px; background: #fff; border: 2px solid var(--fd-linie); }
main .cs-editionen h3 { margin: 0 0 12px; font-size: 19px; }
.cs-editionen p { display: flex; gap: 10px; margin: 0; font-size: 16px; line-height: 1.6; color: #46525d; }
@media (max-width: 1150px) { .cs-preise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cs-preise { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cs-einheit { min-height: 0; }
  .cs-preis-leer, .cs-tarif .cs-einheit:empty { display: none; }
}

/* ---------- Ressourcen, Support & Rechtliches ---------- */
.cs-service .cs-service-spalte + .cs-service-spalte { margin-top: 48px; }
.cs-service .cs-titel { margin-bottom: 24px; }
.cs-service a { color: var(--fd-petrol); }
.cs-service a:hover { color: var(--fd-gruen); }
.cs-datei {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border: 2px solid var(--fd-linie); background: #fff; color: var(--fd-text) !important; font-weight: 700;
}
.cs-datei:hover { border-color: var(--fd-gruen-hell); }
.cs-datei-icon { display: inline-flex; color: var(--fd-petrol); }
.cs-datei-icon .icon { width: 28px; height: 28px; }
.cs-datei-name { flex: 1 1 auto; }
.cs-datei-aktion { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--fd-gruen); }
.cs-datei-aktion .icon { width: 18px; height: 18px; }
.cs-service-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.cs-zwischentitel { margin: 0 0 14px; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--fd-text); }
.cs-kontakt { list-style: none; margin: 0; padding: 0; }
.cs-kontakt li { margin: 0 0 12px; }
.cs-kontakt a, .cs-kontakt-hinweis { display: inline-flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.cs-kontakt .icon { width: 18px; height: 18px; margin-top: 3px; }
.cs-kontakt-hinweis { color: #46525d; font-size: 15px !important; }
.cs-datei-link .icon:last-child { color: var(--fd-gruen); }

/* ---------- Anbieterinformationen ---------- */
/* weißes Logo wie im Header, auf Petrol-Kachel */
.cs-anbieter-logo {
  display: flex; align-items: center; justify-content: center; padding: 32px 28px;
  background: linear-gradient(101deg, var(--fd-petrol) 40%, var(--fd-petrol-mittel)); border-radius: 18px; line-height: 0;
}
.cs-anbieter-logo img { width: 100%; max-width: 220px; height: auto; }
.cs-anbieter-logo:focus-visible { outline: 3px solid var(--fd-gruen); outline-offset: 3px; }
/* als Karte über dem Foto */
.cs-b-logo { position: absolute; left: 0; bottom: 0; width: 56%; max-width: 260px; padding: 26px 24px; box-shadow: 0 18px 40px rgba(7, 22, 28, .22); }
.cs-reihen > .cs-reihe:nth-child(even) .cs-b-logo, .cs-reihe.ist-bild-links .cs-b-logo { left: auto; right: 0; }
@media (max-width: 1000px) { .cs-reihen > .cs-reihe:nth-child(even) .cs-b-logo, .cs-reihe.ist-bild-links .cs-b-logo { left: 0; right: auto; } }
.cs-anbieter-text p { margin: 0 0 1.25em; max-width: 72ch; font-size: 17px; line-height: 1.75; color: #46525d; hyphens: auto; -webkit-hyphens: auto; }
.cs-kontaktleiste { list-style: none; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid var(--fd-linie); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cs-kontaktleiste a { display: inline-flex; align-items: center; gap: 10px; color: var(--fd-petrol); font-weight: 500; overflow-wrap: anywhere; }
.cs-kontaktleiste a:hover { color: var(--fd-gruen); }
.cs-kontaktleiste .icon { width: 20px; height: 20px; color: var(--fd-gruen); }
@media (max-width: 1000px) {
  .cs-kontaktleiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .cs-kontaktleiste { grid-template-columns: minmax(0, 1fr); } }

/* Abschnitt direkt vor dem Footer: kein doppelter Abstand */
.site-footer { margin-top: 0; }
