/* Seite „Alle Funktionen“ (/funktionen/), Inhalt aus der Programmbeschreibung.
   Überschriften liegen auf der Matte, Karten auf Papier. Klassen mit fx- vorne, damit nichts mit site.css kollidiert. */

.fx { --fx-soft: #f1f7dc; --fx-warn: #9a4a07; --fx-warn-soft: #fef3c7; padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.fx h2, .fx h3, .fx p { margin: 0; }
.fx h2, .fx h3 { font-family: var(--f-display); line-height: 1.15; text-wrap: balance; }

.fx-sec { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0; }
.fx-sec:first-child { padding-top: 0; }
.fx-sec-head { max-width: 680px; display: grid; gap: 10px; margin-bottom: 32px; }
.fx-sec-head h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 800; color: var(--mat-ink); }
.fx-sec-head p { color: var(--mat-text); font-size: 1.08rem; }
.fx-eyebrow { font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-bright); }

/* Karten auf Papier */
.fx-flow, .fx-audience, .fx-more, .fx-benefits, .fx-steps li, .fx-spec, .fx-disclaimer {
  color-scheme: light; color: var(--ink); box-shadow: var(--shadow-paper); border-radius: 3px;
}
.fx-flow h3, .fx-audience h3, .fx-more h3, .fx-benefit h3, .fx-spec h3 { color: var(--ink); }

/* ---------- Drei Abläufe ---------- */
.fx-flows { display: grid; gap: 24px; }
.fx-flow { background: var(--paper); display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }
.fx-flow-intro { background: var(--slate); color: var(--mat-ink); padding: 28px; display: grid; align-content: start; gap: 10px; }
.fx-flow .fx-flow-intro h3 { color: var(--mat-ink); font-size: 1.5rem; font-weight: 800; }
.fx-flow-intro p { color: var(--mat-text); font-size: .95rem; }
.fx-when { justify-self: start; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--on-lime); padding: 4px 10px; border-radius: 3px; }
.fx-flow-body { padding: 28px; display: grid; gap: 22px; min-width: 0; }
.fx-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 28px; }
.fx-chain li { position: relative; display: grid; align-content: start; gap: 6px; min-width: 0; }
.fx-chain li + li::before { content: "→"; position: absolute; left: -22px; top: 4px; color: var(--lime-on-paper); font-weight: 700; font-size: 1.1rem; }
.fx-tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fx-chain b { font-weight: 650; line-height: 1.3; }
.fx-chain span:not(.fx-tag) { color: var(--ink-muted); font-size: .92rem; line-height: 1.45; }
.fx-out b { color: var(--lime-on-paper); }
.fx-extras { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--paper-line); }
.fx-extras span { font-size: .9rem; border: 1px solid var(--paper-line); border-radius: 999px; padding: 5px 13px; background: var(--paper-2); }
.fx-extras b { font-weight: 650; }

/* ---------- Für wen ---------- */
.fx-audience { background: var(--paper); padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fx-audience div { border-top: 3px solid var(--lime); padding-top: 14px; }
.fx-audience h3 { font-size: 1.12rem; }
.fx-audience p { color: var(--ink-muted); margin-top: 6px; }

/* ---------- Außerdem enthalten ---------- */
.fx-more { background: var(--paper); padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.fx-more div { min-width: 0; }
.fx-more h3 { font-size: 1.08rem; }
.fx-more p { color: var(--ink-muted); margin-top: 6px; font-size: .96rem; }
.fx-where { display: inline-block; margin-top: 8px; font-family: var(--f-mono); font-size: .72rem; color: var(--lime-on-paper); background: var(--fx-soft); padding: 2px 8px; border-radius: 3px; }

/* ---------- Vorteile ---------- */
.fx-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--paper-line); overflow: hidden; }
.fx-benefit { background: var(--paper); padding: 26px; }
.fx-big { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; color: var(--lime-on-paper); line-height: 1.05; }
.fx-benefit h3 { font-size: 1.05rem; margin-top: 10px; }
.fx-benefit p { color: var(--ink-muted); margin-top: 6px; font-size: .96rem; }

/* ---------- Einrichtung ---------- */
.fx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.fx-steps li { counter-increment: s; background: var(--paper); padding: 22px; }
.fx-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--slate); color: #fff; font-family: var(--f-display); font-weight: 800; margin-bottom: 12px; }
.fx-steps b { display: block; }
.fx-steps span { color: var(--ink-muted); font-size: .96rem; }

/* ---------- Technik und Hinweis ---------- */
.fx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fx-spec { background: var(--paper); padding: 26px; }
.fx-spec h3 { font-size: 1.15rem; margin-bottom: 12px; }
.fx-spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.fx-spec dt { color: var(--ink-muted); }
.fx-spec dd { margin: 0; font-weight: 500; }
.fx-disclaimer { background: var(--fx-warn-soft); padding: 26px; }
.fx-disclaimer h3 { font-size: 1.15rem; color: var(--fx-warn); margin-bottom: 10px; }
.fx-disclaimer p + p { margin-top: 8px; }

/* ---------- Schmal ---------- */
@media (max-width: 960px) {
  .fx-flow { grid-template-columns: 1fr; }
  .fx-chain { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 22px; }
  .fx-chain li + li::before { display: none; }
  .fx-more, .fx-benefits { grid-template-columns: 1fr 1fr; }
  .fx-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .fx-chain, .fx-audience, .fx-more, .fx-benefits, .fx-steps, .fx-split { grid-template-columns: 1fr; }
  .fx-flow-intro, .fx-flow-body, .fx-audience, .fx-more { padding: 22px; }
}
