/*
 * Tafel-Welt für alle Seiten außer der Startseite (03.11.2026, „Die Tafel nach dem Workshop“, Regeln in DESIGN.md).
 * Wird nach bausteine.css geladen und nutzt nur Werte aus tokens.css. Die Startseite hat ihre eigene Datei startseite-tafel.css.
 * Rücknahme: diese Datei in functions.php nicht mehr laden.
 *
 * Grundsatz: dunkle Abschnitte (Einstieg, Beleg, Abschluss) sind die Tafel mit Rahmen; Zettel darauf hängen mit Magnet und leicht
 * schief. Helle Abschnitte sind der Tisch: Papier liegt gerade, ohne Magnet, und jede Inhaltsart hat ihre eigene Form
 * (Angebotsblatt, Verzeichnis, Ablauf, Fragenliste). Grün nur als Fläche oder Strich.
 */

/* ───────── Tafel: Einstieg, dunkle Abschnitte, Abschluss ───────── */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .final-cta, .trx-divi-cta, .is-dark, .trx-divi-dark, .trx-linz-einstieg, .trx-linz-abschluss, .trixner-video-einstieg, .trixner-workspace-einstieg):is(.et_pb_section, section) {
    position: relative;
    isolation: isolate;
    background-color: var(--trx-navy) !important;
    background-image: none !important;
}
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .final-cta, .trx-divi-cta, .is-dark, .trx-divi-dark, .trx-linz-einstieg, .trx-linz-abschluss, .trixner-video-einstieg, .trixner-workspace-einstieg):is(.et_pb_section, section)::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none;
    opacity: 1 !important;
    transform: none !important;
    /* Kein Tafelrahmen auf Unterseiten (Martin 04.11.2026); der gerahmte Tafel-Auftritt bleibt der Startseite vorbehalten. */
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background:
        radial-gradient(34% 11% at 63% 38%, rgb(255 255 255 / .03), transparent 72%),
        radial-gradient(22% 7% at 44% 61%, rgb(255 255 255 / .022), transparent 70%),
        var(--trx-tafel-grund) !important;
    filter: none !important;
}
/* Leuchtverläufe und Lichtflecken der alten Einstiege entfallen; die Tafel trägt das Bild */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .final-cta, .trx-divi-cta, .trx-linz-einstieg, .trx-linz-abschluss, .trixner-video-einstieg, .trixner-workspace-einstieg):is(.et_pb_section, section)::after {
    display: none !important;
}
/* Einstieg der Unterseiten: Inhalt beginnt knapp unter der Tafelkante */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .trx-linz-einstieg, .trixner-video-einstieg, .trixner-workspace-einstieg):is(.et_pb_section, section) {
    padding-top: clamp(72px, 8vw, 112px) !important;
    padding-bottom: clamp(72px, 8vw, 112px) !important;
}

/* ───────── Überschriften: kräftig, eng, ausgewogen umbrochen ───────── */
body:not(.home) #main-content#main-content :is(h1, h2) {
    font-weight: 750 !important;
    letter-spacing: -.04em !important;
    line-height: 1.04 !important;
    text-wrap: balance;
}
body:not(.home) #main-content#main-content h3 {
    letter-spacing: -.02em !important;
}

/* ───────── Unterzeile: Information, die früher als Überzeile über der Überschrift stand ───────── */
body:not(.home) #main-content#main-content :is(p.unterzeile, .unterzeile p) {
    display: inline-block;
    margin: 10px 0 0 !important;
    padding: 4px 10px;
    border-radius: var(--trx-zettel-radius);
    font: 600 var(--trx-text-xs)/1.45 var(--trx-font-sans) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--trx-blue-text) !important;
    background: var(--trx-blue-soft);
    border: 1px solid var(--trx-blue-soft-line);
}
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .final-cta, .trx-divi-cta, .is-dark, .trx-divi-dark) :is(p.unterzeile, .unterzeile p) {
    color: var(--trx-on-accent) !important;
    background: var(--trx-accent);
    border-color: var(--trx-accent);
}

/* ───────── Karten auf hellem Grund: Papier, das gerade auf dem Tisch liegt (Magnete halten nur an der Tafel, Martin 04.11.2026) ───────── */
body:not(.home) #main-content#main-content :is(.trx-ton-weiss, .trx-ton-grau) :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) {
    position: relative;
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    box-shadow: var(--trx-papier-schatten) !important;
    transition: rotate .4s cubic-bezier(.16, 1, .3, 1), translate .4s cubic-bezier(.16, 1, .3, 1);
}
/* Auf weißem Abschnitt hellblaue Notizen, auf grauem Abschnitt weißes Papier */
body:not(.home) #main-content#main-content .trx-ton-weiss :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) {
    background: var(--trx-zettel) !important;
}
body:not(.home) #main-content#main-content .trx-ton-grau :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) {
    background: var(--trx-white) !important;
}
/* Verlinkte Karten heben sich beim Zeigen leicht an */
body:not(.home) #main-content#main-content :is(.trx-ton-weiss, .trx-ton-grau) a:is(.trx-divi-card, .page-card):hover {
    translate: 0 -3px;
}

/* ───────── Karten auf der Tafel: hellblaue Zettel mit dunkler Schrift ───────── */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) {
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    background: var(--trx-zettel) !important;
    box-shadow: var(--trx-zettel-schatten) !important;
    backdrop-filter: none !important;
}
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) :is(h2, h3, h4, p, li, strong, span, div, a:not(.et_pb_button)) {
    color: var(--trx-ink) !important;
}
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) :is(span, p, label)[class*="label"],
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card):not(:is(.trx-divi-card, .page-card) *) :is(span, p):first-child:not(:only-child) {
    color: var(--trx-zettel-kopf) !important;
}
/* Zettel an der Tafel: leicht schief, mit Magnet */
body:not(.home) #main-content#main-content :is(.is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card).et_pb_column:nth-child(odd) { rotate: .8deg; }
body:not(.home) #main-content#main-content :is(.is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card).et_pb_column:nth-child(even) { rotate: -.9deg; }
body:not(.home) #main-content#main-content :is(.is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card).et_pb_column {
    position: relative;
    overflow: visible !important;
}
body:not(.home) #main-content#main-content :is(.is-dark, .trx-divi-dark) :is(.trx-divi-card, .page-card).et_pb_column::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: -10px auto auto 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin-left: -10px !important;
    border-radius: 50% !important;
    z-index: 2;
    pointer-events: none;
    opacity: 1 !important;
    transform: none !important;
    background: var(--trx-magnet) !important;
    box-shadow: var(--trx-magnet-schatten) !important;
}

/* ───────── Schaltflächen: auf der Tafel 4 px Ecken ───────── */
body:not(.home) #main-content#main-content .et_pb_button {
    border-radius: 4px !important;
}

/* ───────── Handy: nichts schief, damit nichts abgeschnitten wird ───────── */
@media (max-width: 560px) {
    body:not(.home) #main-content#main-content :is(.trx-divi-card, .page-card) { rotate: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    body:not(.home) #main-content#main-content :is(.trx-divi-card, .page-card) { transition: none !important; }
}

/* ───────── Hervorgehobene Karte: der eine grüne Zettel, dunkle Schrift ───────── */
body:not(.home) #main-content#main-content :is(.trx-ton-weiss, .trx-ton-grau, .trx-divi-section) :is(.trx-divi-card, .page-card).is-accent:not(:is(.trx-divi-card, .page-card) *),
body:not(.home) #main-content#main-content :is(.trx-ton-weiss, .trx-ton-grau, .trx-divi-section) .service-card-featured:not(:is(.trx-divi-card, .page-card) *) {
    background: var(--trx-accent) !important;
}
body:not(.home) #main-content#main-content :is(:is(.trx-divi-card, .page-card).is-accent, .service-card-featured) :is(h2, h3, h4, p, li, strong, span, div, a:not(.et_pb_button)) {
    color: var(--trx-on-accent) !important;
}
body:not(.home) #main-content#main-content :is(:is(.trx-divi-card, .page-card).is-accent, .service-card-featured) :is(span, p):first-child:not(:only-child) {
    color: var(--trx-entwurf-kopf) !important;
}
body:not(.home) #main-content#main-content :is(:is(.trx-divi-card, .page-card).is-accent, .service-card-featured) a[href]:not(.et_pb_button),
body:not(.home) #main-content#main-content :is(:is(.trx-divi-card, .page-card).is-accent, .service-card-featured) a[href]:not(.et_pb_button) * {
    color: var(--trx-on-accent) !important;
    text-decoration-color: var(--trx-on-accent) !important;
    border-color: var(--trx-on-accent) !important;
    background-image: none !important;
}

/* ───────── Weitere Kartenformen als angeheftete Blätter ───────── */
/* Leistungskarten (Leistungen-Übersicht) wie Karten */
body:not(.home) #main-content#main-content :is(.trx-ton-weiss, .trx-ton-grau) .leistungen-karte {
    position: relative;
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    box-shadow: var(--trx-papier-schatten) !important;
}
body:not(.home) #main-content#main-content .trx-ton-weiss .leistungen-karte { background: var(--trx-zettel) !important; }
body:not(.home) #main-content#main-content .trx-ton-grau .leistungen-karte { background: var(--trx-white) !important; }

/* Beispiel-Panels, Formular, Vorschau, Autorenkasten: gerade Blätter (Arbeitsflächen werden nicht gedreht) */
body:not(.home) #main-content#main-content :is(.case-panel, .contact-form-shell, .sample-result-preview, .author-box, .prozesscheck-formular) {
    position: relative;
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    background: var(--trx-white) !important;
    box-shadow: var(--trx-papier-schatten) !important;
    backdrop-filter: none !important;
}
body:not(.home) #main-content#main-content .case-row {
    border-radius: var(--trx-zettel-radius) !important;
}

/* Gründerfoto: Abzug mit weißem Rand, an die Tafel geheftet */
body:not(.home) #main-content#main-content :is(.founder-photo, .founder-card) img {
    border-radius: 0 !important;
}
body:not(.home) #main-content#main-content .founder-photo {
    background: var(--trx-white) !important;
    padding: 12px 12px 14px !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 30px -12px rgb(15 23 42 / .45) !important;
}

/* ───────── Einstieg: Glaskästen werden gezeichnete Rahmen auf der Tafel ───────── */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero, .trx-linz-einstieg) :is(.hub-hero-panel, .hero-diagram, .system-shell, .readiness-score, .lead-score) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 2px solid rgb(243 246 250 / .28) !important;
    border-radius: var(--trx-zettel-radius) !important;
}
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero) :is(.hub-signal, article.hub-signal) {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-top: 1px solid rgb(243 246 250 / .18) !important;
    border-radius: 0 !important;
}
/* Kästchen in den Diagrammen sind kleine Zettel */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero) .diagram-node {
    background: var(--trx-zettel) !important;
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    box-shadow: var(--trx-zettel-schatten) !important;
}
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero) .diagram-node:nth-child(odd) { rotate: -1.2deg; }
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .hub-hero, .solution-hero, .page-hero) .diagram-node:nth-child(even) { rotate: 1deg; }

@media (max-width: 560px) {
    body:not(.home) #main-content#main-content :is(.leistungen-karte, .founder-photo, .diagram-node) { rotate: none !important; }
}

/* ───────── Linz-Seite (eigene Klassen trx-linz-*) ───────── */
body:not(.home) #main-content#main-content .trx-linz-anwendungen > .et_pb_row + .et_pb_row > .et_pb_column,
body:not(.home) #main-content#main-content .trx-linz-referenz .et_pb_column:last-child {
    position: relative;
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    background: var(--trx-zettel) !important;
    box-shadow: var(--trx-papier-schatten) !important;
}
body:not(.home) #main-content#main-content .trx-linz-referenz .et_pb_column:last-child { background: var(--trx-white) !important; }
/* Ansprechpartner-Kasten im Einstieg: ein Zettel auf der Tafel */
body:not(.home) #main-content#main-content .trx-linz-einstieg .et_pb_column:last-child {
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    background: var(--trx-zettel) !important;
    box-shadow: var(--trx-zettel-schatten) !important;
    rotate: 1deg;
}
body:not(.home) #main-content#main-content .trx-linz-einstieg .et_pb_column:last-child :is(h2, h3, p, a) { color: var(--trx-ink) !important; }
/* Magnet wie bei den Zetteln im Einstieg der übrigen Seiten */
body:not(.home) #main-content#main-content .trx-linz-einstieg .et_pb_column:last-child { position: relative; overflow: visible !important; }
body:not(.home) #main-content#main-content .trx-linz-einstieg .et_pb_column:last-child::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    border-radius: 50%;
    background: var(--trx-magnet);
    box-shadow: var(--trx-magnet-schatten);
}
body:not(.home) #main-content#main-content .trx-linz-einstieg .et_pb_column:last-child .trx-linz-kicker p { color: var(--trx-zettel-kopf) !important; }
@media (max-width: 560px) {
    body:not(.home) #main-content#main-content :is(.trx-linz-anwendungen, .trx-linz-referenz, .trx-linz-einstieg) .et_pb_column { rotate: none !important; }
}
/* Ablauf: früher folgte er ohne Abstand auf einen gleichfarbigen Abschnitt (padding-top 0 in prototype-parity.css); jetzt wechselt die Fläche */
body:not(.home) #main-content#main-content .trx-linz-ablauf.et_pb_section { padding-top: 72px !important; }
@media (max-width: 767px) {
    body:not(.home) #main-content#main-content .trx-linz-ablauf.et_pb_section { padding-top: 44px !important; }
}
/* Ablauf und Fragen in den gemeinsamen Formen (trx-ablauf, trx-fragen-liste): alte Linz-Linie über den Schritten entfällt */
body:not(.home) #main-content#main-content .trx-linz-ablauf > .et_pb_row + .et_pb_row > .et_pb_column { border-top: 0 !important; padding-top: 0 !important; }
@media (min-width: 768px) {
    body:not(.home) #main-content#main-content .trx-linz-ablauf .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } /* drei Schritte, nicht vier */
}
@media (min-width: 981px) {
    /* Linz-Zeilen sind 1140 px breit, die Fragenliste soll dieselbe Kante haben */
    body:not(.home) #main-content#main-content .trx-linz-fragen.trx-fragen-liste.et_pb_section { padding-inline: max(5%, calc((100% - 1140px) / 2)) !important; }
}

/* ═════════ Formen für helle Abschnitte (Durchgang Leistungen, 04.11.2026) ═════════ */

/* Kundensatz als Eröffnung einer Karte („Unsere Angebote dauern zu lange.“) */
body:not(.home) #main-content#main-content :is(.leistungen-einstiege, .leistungen-verzeichnis) .leistungen-karte > .et_pb_module:first-child p {
    font-size: var(--trx-text-lg) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--trx-ink) !important;
}
body:not(.home) #main-content#main-content :is(.leistungen-einstiege, .leistungen-verzeichnis) .leistungen-karte > .et_pb_module:first-child p::before { content: "„"; }
body:not(.home) #main-content#main-content :is(.leistungen-einstiege, .leistungen-verzeichnis) .leistungen-karte > .et_pb_module:first-child p::after { content: "“"; }
html[lang^="en"] body:not(.home) #main-content#main-content :is(.leistungen-einstiege, .leistungen-verzeichnis) .leistungen-karte > .et_pb_module:first-child p::before { content: "“"; }
html[lang^="en"] body:not(.home) #main-content#main-content :is(.leistungen-einstiege, .leistungen-verzeichnis) .leistungen-karte > .et_pb_module:first-child p::after { content: "”"; }

/* Angebotsblatt: weißes Blatt, der Preis steht wie die Summenzeile einer Rechnung */
body:not(.home) #main-content#main-content .leistungen-einstiege .leistungen-karte {
    background: var(--trx-white) !important;
    box-shadow: var(--trx-papier-schatten), 0 0 0 1px var(--trx-line) !important;
}
body:not(.home) #main-content#main-content .leistungen-einstiege .leistungen-karte h3 {
    font-size: var(--trx-type-panel) !important;
    letter-spacing: -.03em !important;
}
body:not(.home) #main-content#main-content .leistungen-einstiege .leistungen-karte > .et_pb_module:nth-child(4) {
    margin-top: 6px !important;
    padding-top: 14px;
    border-top: 2px dashed var(--trx-line-strong, var(--trx-line));
}
body:not(.home) #main-content#main-content .leistungen-einstiege .leistungen-karte > .et_pb_module:nth-child(4) p {
    font-weight: 700 !important;
    color: var(--trx-ink) !important;
}

/* Verzeichnis: ein Blatt, vier Positionen, durch Linien getrennt */
body:not(.home) #main-content#main-content .leistungen-verzeichnis > .leistungen-karten.et_pb_row {
    gap: 0 !important;
    background: var(--trx-white);
    border-radius: var(--trx-zettel-radius);
    box-shadow: var(--trx-papier-schatten);
}
body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte:nth-child(even) { border-left: 1px solid var(--trx-line) !important; }
body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte:nth-child(n+3) { border-top: 1px solid var(--trx-line) !important; }
/* Ungerade Kartenzahl (fünfte Karte „Software modernisieren“, 08.11.2026): letzte Karte über die volle Breite statt halber Leerzeile */
body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte:nth-child(odd):last-child { grid-column: 1 / -1; }
body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte > .et_pb_module:nth-child(4) p {
    font-size: var(--trx-text-sm) !important;
    color: var(--trx-muted-strong, var(--trx-muted)) !important;
}
@media (max-width: 760px) {
    body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte:nth-child(even) { border-left: 0 !important; }
    body:not(.home) #main-content#main-content .leistungen-verzeichnis .leistungen-karte:nth-child(n+2) { border-top: 1px solid var(--trx-line) !important; }
}

/* Ablauf: keine Karten, sondern Schritte auf einer Linie mit Markerpfeilen */
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) {
    gap: clamp(28px, 4vw, 64px) !important;
    align-items: start !important;
}
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column {
    position: relative;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    overflow: visible !important;
}
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:first-child p {
    display: block !important;
    box-sizing: border-box;
    width: 54px;
    height: 54px;
    padding: 0 !important;
    text-align: center;
    margin: 0 0 18px !important;
    border: 2.5px solid var(--trx-navy);
    border-radius: 50%;
    background: var(--trx-white);
}
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:first-child p,
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:first-child p * {
    font: 750 var(--trx-text-lg)/49px var(--trx-font-sans) !important; /* 54 px minus Rand: Ziffer sitzt mittig */
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--trx-navy) !important;
}
/* Markerlinie vom Kreis zum nächsten Schritt, mit Pfeilspitze */
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 70px;
    right: calc(-1 * clamp(28px, 4vw, 64px) + 14px);
    height: 12px;
    translate: 0 -6px;
    background:
        linear-gradient(var(--trx-navy), var(--trx-navy)) left center / calc(100% - 10px) 2.5px no-repeat,
        conic-gradient(from -135deg at 100% 50%, var(--trx-navy) 90deg, transparent 0) right center / 12px 12px no-repeat;
    border-radius: 2px;
}
body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column::before { display: none !important; }
body:not(.home) #main-content#main-content .trx-ablauf .trx-ablauf-aktion { padding-top: 12px !important; }
body:not(.home) #main-content#main-content .trx-ablauf .trx-ablauf-aktion .et_pb_button_module_wrapper { margin: 0 !important; }
@media (max-width: 980px) {
    /* Handy: Schritte untereinander, eine Markerlinie links verbindet die Kreise */
    body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:not(:last-child)::after {
        top: 62px;
        bottom: calc(-1 * clamp(28px, 4vw, 64px) + 6px);
        left: 21px;
        right: auto;
        width: 12px;
        height: auto;
        translate: 0 0;
        background:
            linear-gradient(var(--trx-navy), var(--trx-navy)) center top / 2.5px calc(100% - 10px) no-repeat,
            conic-gradient(from 135deg at 50% 100%, var(--trx-navy) 90deg, transparent 0) center bottom / 12px 12px no-repeat;
    }
    body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:not(:first-child) { padding-left: 74px !important; }
    body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:first-child p { margin-bottom: -44px !important; }
    body:not(.home) #main-content#main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) { gap: 36px !important; }
}

/* Fragenliste: Überschrift links bleibt stehen, Fragen rechts als ruhige Liste */
@media (min-width: 981px) {
    body:not(.home) #main-content#main-content .trx-fragen-liste.et_pb_section {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        column-gap: clamp(40px, 5vw, 88px);
        align-items: start;
        padding-inline: max(5%, calc((100% - 1296px) / 2)) !important; /* gleiche Kante wie die Divi-Zeilen */
    }
    body:not(.home) #main-content#main-content .trx-fragen-liste.et_pb_section > .et_pb_row {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
    }
    body:not(.home) #main-content#main-content .trx-fragen-liste.et_pb_section > .et_pb_row:first-child {
        position: sticky;
        top: 120px;
    }
    /* Weitere Zeilen (z. B. „Noch nicht sicher …“ auf 62) gehören rechts unter die Fragen,
       sonst landen sie links und die stehende Überschrift gleitet beim Scrollen darüber */
    body:not(.home) #main-content#main-content .trx-fragen-liste.et_pb_section > .et_pb_row:nth-child(n+3) {
        grid-column: 2;
        padding-top: 24px !important;
        border-top: 1px solid var(--trx-line);
    }
}
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid {
    display: block !important;
}
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid > .et_pb_column {
    width: auto !important;
    margin: 0 !important;
    padding: 24px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-top: 1px solid var(--trx-line) !important;
    border-radius: 0 !important;
}
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid > .et_pb_column:first-child { border-top: 0 !important; padding-top: 0 !important; }
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid > .et_pb_column::before { display: none !important; }
body:not(.home) #main-content#main-content :is(.trx-fragen-liste, .trx-ablauf, .trx-checkliste) :is(.page-grid, .process-steps, .method-grid) > .et_pb_column { min-height: 0 !important; }
body:not(.home) #main-content#main-content :is(.trx-fragen-liste, .trx-ablauf, .trx-checkliste) :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module { min-height: 0 !important; }
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid > .et_pb_column { display: block !important; }
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid > .et_pb_column > .et_pb_module { margin: 0 !important; min-height: 0 !important; height: auto !important; }
body:not(.home) #main-content#main-content .trx-fragen-liste .page-grid h3 {
    font-size: var(--trx-text-xl) !important;
    margin: 0 0 8px !important;
}

/* Einstieg Leistungen: die Leiste aus dem alten Design entfällt */
body:not(.home) #main-content#main-content .hub-hero-panel .et_pb_text_inner > .hub-hero-panel::before { display: none !important; }
body:not(.home) #main-content#main-content .hub-hero-panel .hub-signal { padding-left: 22px !important; }
body:not(.home) #main-content#main-content .hub-hero-panel .hub-signal:first-of-type { border-top: 0 !important; } /* keine Linie über dem ersten Punkt */

/* ═════════ Formen aus dem Durchgang Angebotsprozess-Check (04.11.2026) ═════════ */

/* Eckdaten (Preis, Dauer, Aufwand): ein Angebotsblatt mit Feldern, getrennt durch gestrichelte Linien */
body:not(.home) #main-content#main-content .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column) {
    gap: 0 !important;
    background: var(--trx-white);
    border-radius: var(--trx-zettel-radius);
    box-shadow: var(--trx-papier-schatten), 0 0 0 1px var(--trx-line);
}
body:not(.home) #main-content#main-content .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column) > .et_pb_column {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body:not(.home) #main-content#main-content .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column) > .et_pb_column + .et_pb_column { border-left: 2px dashed var(--trx-line-strong) !important; }
body:not(.home) #main-content#main-content .trx-eckdaten h3 {
    font-size: var(--trx-type-panel) !important;
    letter-spacing: -.03em !important;
}
@media (max-width: 980px) {
    body:not(.home) #main-content#main-content .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column) > .et_pb_column + .et_pb_column { border-left: 0 !important; border-top: 2px dashed var(--trx-line-strong) !important; }
}

/* Checkliste: Haken für „passt“, Kreuz für „weniger geeignet“, ohne Kästen */
body:not(.home) #main-content#main-content .trx-checkliste .page-grid > .et_pb_column {
    position: relative;
    padding: 0 0 0 52px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body:not(.home) #main-content#main-content .trx-checkliste .page-grid > .et_pb_column::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071427' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 20px no-repeat,
        var(--trx-accent) !important;
}
body:not(.home) #main-content#main-content .trx-checkliste .page-grid > .et_pb_column.trx-nicht::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071427' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 16px no-repeat,
        var(--trx-white) !important;
    box-shadow: inset 0 0 0 2px var(--trx-navy) !important;
}
body:not(.home) #main-content#main-content .trx-checkliste .page-grid > .et_pb_column > .et_pb_module { min-height: 0 !important; }

/* Verzeichnis: ein Blatt, Positionen nebeneinander, durch Linien getrennt (Inhalt eines Ergebnisses) */
body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid {
    gap: 0 !important;
    background: var(--trx-white);
    border-radius: var(--trx-zettel-radius);
    box-shadow: var(--trx-papier-schatten);
}
body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid > .et_pb_column {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid > .et_pb_column + .et_pb_column { border-left: 1px solid var(--trx-line) !important; }
@media (max-width: 980px) {
    body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid > .et_pb_column + .et_pb_column { border-left: 0 !important; border-top: 1px solid var(--trx-line) !important; }
}
/* Im Verzeichnis keine grüne Hervorhebung: alle Positionen gehören gleichrangig zum Ergebnis */
body:not(.home) #main-content#main-content :is(.trx-ton-weiss, .trx-ton-grau, .trx-divi-section).trx-verzeichnis .page-grid > .et_pb_column.is-accent { background: transparent !important; }
body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid > .et_pb_column.is-accent :is(h3, p, span) { color: inherit !important; }
body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid > .et_pb_column.is-accent h3 { color: var(--trx-ink) !important; }
body:not(.home) #main-content#main-content .trx-verzeichnis .page-grid > .et_pb_column.is-accent p { color: var(--trx-muted-strong) !important; }
/* Unterzeile mit Luft zum folgenden Text */
body:not(.home) #main-content#main-content :is(p.unterzeile, .unterzeile p) { margin-bottom: 14px !important; }
/* Dateiangabe unter dem Muster-Download: auf Grau ausreichend Kontrast */
body:not(.home) #main-content#main-content p.sample-result-meta { color: var(--trx-muted-strong) !important; }

/* ═════════ Einstieg „Vom Beispiel zur Entscheidung“ (automation-diagram): drei Zettel an der Tafel, verbunden durch Markerpfeile ═════════ */
body:not(.home) #main-content#main-content :is(.trx-divi-hero, .solution-hero) .automation-diagram {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body:not(.home) #main-content#main-content .hero-diagram.et_pb_column .et_pb_text_inner > .automation-diagram {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: auto 60px auto 60px auto;
    gap: 0 !important;
    align-items: stretch;
    max-width: 560px;
    margin-inline: auto;
}
body:not(.home) #main-content#main-content .automation-diagram .diagram-node {
    position: relative;
    padding: 18px 20px 16px !important;
    overflow: visible !important;
}
body:not(.home) #main-content#main-content .automation-diagram .diagram-node:nth-child(1) { grid-column: 1 / 8; grid-row: 1; rotate: -1.6deg; }
body:not(.home) #main-content#main-content .automation-diagram .diagram-node:nth-child(3) { grid-column: 4 / 11; grid-row: 3; rotate: 1.2deg; }
body:not(.home) #main-content#main-content .automation-diagram .diagram-node:nth-child(5) { grid-column: 6 / 13; grid-row: 5; rotate: -.8deg; }
body:not(.home) #main-content#main-content .automation-diagram .diagram-node::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    border-radius: 50%;
    background: var(--trx-magnet);
    box-shadow: var(--trx-magnet-schatten);
}
body:not(.home) #main-content#main-content .automation-diagram .diagram-node strong {
    display: block;
    font-size: var(--trx-text-xl) !important;
    letter-spacing: -.02em;
}
/* KI-Wissensdatenbank und KI-Wissenssysteme (RAG): alte Sonderregel für das breite RAG-Schema (prototype-parity.css, 1081–1440 px) aufheben, das Schema gibt es dort nicht mehr */
@media (min-width: 1081px) and (max-width: 1440px) {
    body:is(.rag-pilot-page, .rag-page) #main-content#main-content .solution-hero > .trx-divi-row { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) !important; }
    body:is(.rag-pilot-page, .rag-page) #main-content#main-content .solution-hero h1 { font-size: var(--trx-type-hero) !important; }
}
/* Hervorgehobener Zettel (z. B. Fundstelle bei der KI-Wissensdatenbank) */
body:not(.home) #main-content#main-content .automation-diagram .diagram-node.ist-beleg { background: var(--trx-accent) !important; }
body:not(.home) #main-content#main-content .automation-diagram .diagram-node.ist-beleg :is(.label, p) { color: var(--trx-navy) !important; }
/* Markerpfeil: geschwungen von unter dem Zettel nach rechts zum nächsten */
body:not(.home) #main-content#main-content .automation-diagram .diagram-line {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    justify-self: stretch !important; /* alte Regel unter 1340 px (prototype-parity.css) zentriert sonst auf 0 px Breite */
    box-shadow: none !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 52' fill='none' stroke='%23f3f6fa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 C 4 30, 40 42, 104 40'/%3E%3Cpath d='M94 31 L 106 40 L 94 48'/%3E%3C/svg%3E") 0 50% / 120px 52px no-repeat !important;
}
body:not(.home) #main-content#main-content .automation-diagram .diagram-line:nth-child(2) { grid-column: 2 / 7; grid-row: 2; }
body:not(.home) #main-content#main-content .automation-diagram .diagram-line:nth-child(4) { grid-column: 5 / 10; grid-row: 4; }
@media (max-width: 560px) {
    body:not(.home) #main-content#main-content .automation-diagram .diagram-node { rotate: none !important; }
    body:not(.home) #main-content#main-content .automation-diagram .diagram-node:nth-child(1) { grid-column: 1 / 11; }
    body:not(.home) #main-content#main-content .automation-diagram .diagram-node:nth-child(3) { grid-column: 2 / 12; }
    body:not(.home) #main-content#main-content .automation-diagram .diagram-node:nth-child(5) { grid-column: 3 / 13; }
    body:not(.home) #main-content#main-content .automation-diagram .diagram-line { background-size: 80px 52px !important; }
    body:not(.home) #main-content#main-content .automation-diagram .diagram-line:nth-child(2) { grid-column: 1 / 6; }
    body:not(.home) #main-content#main-content .automation-diagram .diagram-line:nth-child(4) { grid-column: 2 / 7; }
}

/* ═════════ Einstieg KI-Potenzialanalyse (ideen-tafel): Rangliste aus dem Beispiel als Zettel; „Zuerst“ grün, „Nicht jetzt“ durchgestrichen ═════════ */
body:not(.home) #main-content#main-content .hero-diagram.ideen-diagramm {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
body:not(.home) #main-content#main-content .ideen-tafel {
    display: grid;
    gap: 26px;
    max-width: 470px;
    margin-inline: auto;
}
body:not(.home) #main-content#main-content .ideen-tafel .ideen-titel {
    margin: 0 0 4px;
    padding: 0;
    font: 600 var(--trx-text-sm)/1.4 "JetBrains Mono", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgb(243 246 250 / .72);
}
body:not(.home) #main-content#main-content .ideen-zettel {
    position: relative;
    display: grid;
    grid-template-columns: 9em minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 22px 24px 20px;
    text-align: left !important;
    background: var(--trx-zettel);
    border-radius: var(--trx-zettel-radius);
    box-shadow: var(--trx-zettel-schatten);
}
body:not(.home) #main-content#main-content .ideen-zettel::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 26px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--trx-magnet);
    box-shadow: var(--trx-magnet-schatten);
}
body:not(.home) #main-content#main-content .ideen-zettel span {
    font: 600 var(--trx-text-sm)/1.3 "JetBrains Mono", monospace;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--trx-zettel-kopf);
}
body:not(.home) #main-content#main-content .ideen-zettel strong {
    position: relative;
    justify-self: start;
    font-size: var(--trx-text-lg);
    line-height: 1.3;
    color: var(--trx-navy);
}
body:not(.home) #main-content#main-content .ideen-zettel:nth-child(2) { margin-right: 8%; rotate: -1.4deg; }
body:not(.home) #main-content#main-content .ideen-zettel:nth-child(3) { margin-left: 6%; rotate: .9deg; }
body:not(.home) #main-content#main-content .ideen-zettel:nth-child(4) { margin-left: 2%; margin-right: 6%; rotate: -.6deg; }
body:not(.home) #main-content#main-content .ideen-zettel:nth-child(5) { margin-left: 10%; rotate: 1.3deg; }
body:not(.home) #main-content#main-content .ideen-zettel.ist-zuerst { background: var(--trx-accent); }
body:not(.home) #main-content#main-content .ist-ablage .ideen-zettel { grid-template-columns: 5.5em minmax(0, 1fr); }
body:not(.home) #main-content#main-content .ist-ablage .ideen-zettel strong { font-size: var(--trx-text-base); overflow-wrap: anywhere; }
body:not(.home) #main-content#main-content .ideen-zettel.ist-zuerst span { color: var(--trx-navy); }
body:not(.home) #main-content#main-content .ideen-zettel.ist-nicht strong { color: var(--trx-muted-strong); }
/* Markerstrich über „Nicht jetzt“ */
body:not(.home) #main-content#main-content .ideen-zettel.ist-nicht strong::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    top: 52%;
    height: 3px;
    border-radius: 2px;
    background: var(--trx-navy);
    rotate: -2deg;
}
@media (max-width: 560px) {
    body:not(.home) #main-content#main-content .ideen-zettel { grid-template-columns: 1fr; gap: 4px; margin-inline: 0 !important; rotate: none !important; }
}

/* ═════════ Bewegung (nur mit html.tafel-bewegt, das tafel-seiten.js ohne „Bewegung reduzieren“ setzt) ═════════
 * Ausgangszustand nur für Elemente, die noch nicht .ist-da tragen; der Text steht immer vollständig im HTML. */
@keyframes trx-anheften {
    from { opacity: 0; translate: 0 -18px; scale: 1.05; }
    to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes trx-aufgleiten {
    from { opacity: 0; translate: 0 22px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes trx-zeichnen {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}
@keyframes trx-zeichnen-runter {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0 0 0 0); }
}
@keyframes trx-aufploppen {
    0% { opacity: 0; scale: .4; }
    70% { opacity: 1; scale: 1.12; }
    100% { opacity: 1; scale: 1; }
}
html.tafel-bewegt body:not(.home) #main-content :is(.automation-diagram .diagram-node, .automation-diagram .diagram-line, .is-dark .page-grid > .et_pb_column, .leistungen-einstiege .leistungen-karte, .leistungen-verzeichnis > .leistungen-karten, .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column), .trx-verzeichnis .page-grid, .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:first-child p, .trx-checkliste .page-grid > .et_pb_column),
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column::after,
html.tafel-bewegt body:not(.home) #main-content .trx-checkliste .page-grid > .et_pb_column::before {
    animation-duration: .7s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
    animation-fill-mode: both;
    animation-play-state: paused;
}
html.tafel-bewegt body:not(.home) #main-content .ist-da :is(.diagram-node, .diagram-line, .et_pb_column, .et_pb_module p, .leistungen-karte),
html.tafel-bewegt body:not(.home) #main-content .ist-da :is(.page-grid, .process-steps, .method-grid) > .et_pb_column::after,
html.tafel-bewegt body:not(.home) #main-content .ist-da .page-grid > .et_pb_column::before,
html.tafel-bewegt body:not(.home) #main-content :is(.leistungen-karten, .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column), .trx-verzeichnis .page-grid).ist-da {
    animation-play-state: running !important; /* sonst gewinnt die gewichtigere Pausen-Regel oben */
}
/* Einstieg: Zettel nacheinander anheften, dann Pfeile zeichnen */
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-node { animation-name: trx-anheften; }
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-node:nth-child(1) { animation-delay: .25s; }
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-node:nth-child(3) { animation-delay: .95s; }
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-node:nth-child(5) { animation-delay: 1.65s; }
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-line { animation-name: trx-zeichnen; animation-duration: .55s; animation-timing-function: ease-out; }
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-line:nth-child(2) { animation-delay: .6s; }
html.tafel-bewegt body:not(.home) #main-content .automation-diagram .diagram-line:nth-child(4) { animation-delay: 1.3s; }
/* KI-Potenzialanalyse: Zettel nacheinander anheften, dann Markerstrich */
html.tafel-bewegt body:not(.home) #main-content .ideen-zettel { animation: trx-anheften .7s cubic-bezier(.16, 1, .3, 1) both paused; }
html.tafel-bewegt body:not(.home) #main-content .ideen-zettel:nth-child(3) { animation-delay: .5s; }
html.tafel-bewegt body:not(.home) #main-content .ideen-zettel:nth-child(4) { animation-delay: .8s; }
html.tafel-bewegt body:not(.home) #main-content .ideen-zettel:nth-child(5) { animation-delay: 1.1s; }
html.tafel-bewegt body:not(.home) #main-content .ideen-zettel:nth-child(2) { animation-delay: .2s; }
html.tafel-bewegt body:not(.home) #main-content .ideen-zettel.ist-nicht strong::after { animation: trx-zeichnen .45s ease-out 1.9s both paused; }
/* Ablage (Daten für KI): erst drei Fassungen anheften, dann nacheinander durchstreichen, zuletzt die gültige Fassung */
html.tafel-bewegt body:not(.home) #main-content .ist-ablage .ideen-zettel:nth-child(2) strong::after { animation-delay: 1.15s; }
html.tafel-bewegt body:not(.home) #main-content .ist-ablage .ideen-zettel:nth-child(3) strong::after { animation-delay: 1.45s; }
html.tafel-bewegt body:not(.home) #main-content .ist-ablage .ideen-zettel:nth-child(4) strong::after { animation-delay: 1.75s; }
html.tafel-bewegt body:not(.home) #main-content .ist-ablage .ideen-zettel:nth-child(5) { animation-delay: 2.2s; }
html.tafel-bewegt body:not(.home) #main-content .ideen-tafel.ist-da .ideen-zettel,
html.tafel-bewegt body:not(.home) #main-content .ideen-tafel.ist-da .ideen-zettel.ist-nicht strong::after { animation-play-state: running !important; }
/* Zettel im dunklen Beleg-Abschnitt werden angeheftet */
html.tafel-bewegt body:not(.home) #main-content .is-dark .page-grid > .et_pb_column { animation-name: trx-anheften; }
html.tafel-bewegt body:not(.home) #main-content .is-dark .page-grid > .et_pb_column:nth-child(2) { animation-delay: .18s; }
html.tafel-bewegt body:not(.home) #main-content .is-dark .page-grid > .et_pb_column:nth-child(3) { animation-delay: .36s; }
/* Linz: Standortzettel im Einstieg wird angeheftet, Karten gleiten nacheinander herein */
html.tafel-bewegt body:not(.home) #main-content :is(.trx-linz-einstieg > .et_pb_row > .et_pb_column:last-child, .trx-linz-anwendungen > .et_pb_row + .et_pb_row > .et_pb_column, .trx-linz-referenz .et_pb_column:last-child) {
    animation: trx-aufgleiten .7s cubic-bezier(.16, 1, .3, 1) both paused;
}
html.tafel-bewegt body:not(.home) #main-content .trx-linz-einstieg > .et_pb_row > .et_pb_column:last-child { animation-name: trx-anheften; animation-delay: .25s; }
html.tafel-bewegt body:not(.home) #main-content .trx-linz-anwendungen > .et_pb_row + .et_pb_row > .et_pb_column:nth-child(2) { animation-delay: .15s; }
html.tafel-bewegt body:not(.home) #main-content .trx-linz-anwendungen > .et_pb_row + .et_pb_row > .et_pb_column:nth-child(3) { animation-delay: .3s; }
html.tafel-bewegt body:not(.home) #main-content :is(.trx-linz-einstieg, .trx-linz-anwendungen, .trx-linz-referenz).ist-da .et_pb_column { animation-play-state: running !important; }
/* Blätter gleiten leicht herein */
html.tafel-bewegt body:not(.home) #main-content :is(.leistungen-einstiege .leistungen-karte, .leistungen-verzeichnis > .leistungen-karten, .trx-eckdaten > .et_pb_row:has(> .et_pb_column + .et_pb_column), .trx-verzeichnis .page-grid) { animation-name: trx-aufgleiten; }
html.tafel-bewegt body:not(.home) #main-content .leistungen-einstiege .leistungen-karte:nth-child(2) { animation-delay: .15s; }
/* Ablauf: Kreise ploppen der Reihe nach auf, Pfeile zeichnen sich dazwischen */
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column > .et_pb_module:first-child p { animation-name: trx-aufploppen; animation-duration: .5s; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column::after { animation-name: trx-zeichnen; animation-duration: .5s; animation-timing-function: ease-out; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:nth-child(1)::after { animation-delay: .3s; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:nth-child(2) > .et_pb_module:first-child p { animation-delay: .6s; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:nth-child(2)::after { animation-delay: .9s; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:nth-child(3) > .et_pb_module:first-child p { animation-delay: 1.2s; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:nth-child(3)::after { animation-delay: 1.5s; }
html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column:nth-child(4) > .et_pb_module:first-child p { animation-delay: 1.8s; }
@media (max-width: 980px) {
    html.tafel-bewegt body:not(.home) #main-content .trx-ablauf :is(.page-grid, .process-steps, .method-grid) > .et_pb_column::after { animation-name: trx-zeichnen-runter; }
}
/* Checkliste: Haken erscheinen nacheinander */
html.tafel-bewegt body:not(.home) #main-content .trx-checkliste .page-grid > .et_pb_column::before { animation-name: trx-aufploppen; animation-duration: .5s; }
html.tafel-bewegt body:not(.home) #main-content .trx-checkliste .page-grid > .et_pb_column:nth-child(2)::before { animation-delay: .25s; }
html.tafel-bewegt body:not(.home) #main-content .trx-checkliste .page-grid > .et_pb_column:nth-child(3)::before { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
    html.tafel-bewegt body:not(.home) #main-content * { animation: none !important; }
}

/* Immobilien: Chrome trennte „Immobili-enunternehmen“ (Überschrift und Einleitung); ab Tablet nur noch an der gesetzten Trennstelle (&shy;) */
@media (min-width: 981px) {
    body:not(.home) #main-content#main-content .trx-divi-page-immobilien.trx-divi-hero :is(h1, p) { hyphens: manual !important; }
}

/* Lösungen-Übersicht: Einstiegskasten wie auf /leistungen/ (drei Punkte untereinander, Martin 05.11.2026);
   prototype-parity.css legte ihn für .route-solutions als 2×2-Kachelraster mit Mindesthöhe an */
body:not(.home).route-solutions #main-content#main-content .hub-hero-panel .et_pb_text_inner > .hub-hero-panel { grid-template-columns: 1fr !important; gap: 0 !important; padding: 12px 20px !important; }
body:not(.home).route-solutions #main-content#main-content .hub-hero-panel .hub-signal { min-height: 0 !important; background: transparent !important; backdrop-filter: none !important; }

/* Insights-Übersicht (05.11.2026): Beitragskarten als Papier auf dem Tisch wie die Karten der übrigen Unterseiten;
   prototype-parity.css gab ihnen eine blaue Oberkante auf grauem Grund */
body:not(.home).route-insights #main-content#main-content .trx-divi-blog-feed .et_pb_post {
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--trx-zettel-radius) !important;
    background: var(--trx-zettel) !important;
    box-shadow: var(--trx-papier-schatten) !important;
    transition: translate .4s cubic-bezier(.16, 1, .3, 1);
}
body:not(.home).route-insights #main-content#main-content .trx-divi-blog-feed .et_pb_post:hover { translate: 0 -3px; }
body:not(.home).route-insights #main-content#main-content .trx-divi-blog-feed .post-meta { color: var(--trx-muted) !important; }

/* Rechtsseiten (Impressum, Datenschutz, 06.11.2026): Lesetext statt Verkaufsseite. Zwischenüberschriften in Kartengröße
   (eine spätere Abschnittsregel in prototype-parity.css machte sie 54 px groß), ruhiger Abstand */
body:not(.home).route-legal #main-content#main-content .legal-content h2 {
    margin: 56px 0 14px !important;
    font-size: var(--trx-type-card) !important;
    line-height: 1.15 !important;
}
body:not(.home).route-legal #main-content#main-content .legal-content .et_pb_module:first-child h2 { margin-top: 0 !important; }
/* E-Mail im Einstiegskasten: das Verschleierungsskript schreibt die Adresse in ein <span>, das sonst wie ein Etikett
   (Mono, Großbuchstaben, grün) aussieht */
body:not(.home).route-legal #main-content#main-content .legal-hero .hub-signal p span {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
/* Absätze im Rechtstext liefen ohne Abstand ineinander (Absatzabstand 0) */
body:not(.home).route-legal #main-content#main-content .legal-content p:not(:last-child) { margin-bottom: 14px !important; }
body:not(.home).route-legal #main-content#main-content .legal-content .trx-divi-copy-module + .trx-divi-copy-module { margin-top: 14px !important; }

/* Hauptüberschrift einheitlich: prototype-parity.css setzte sie zwischen 1081 und 1340 px fest auf 40 px (Notlösung für die alten, langen Überschriften)
   und sprang dann auf 60 px; einzelne Seiten hoben das schon auf. Jetzt wächst sie auf allen Unterseiten gleichmäßig mit (--trx-type-hero),
   auch auf /insights/ (dort stand bisher die Startseitengröße). */
@media (min-width: 1081px) {
    body:not(.home) #main-content#main-content :is(.hub-hero, .solution-hero, .page-hero) h1 { font-size: var(--trx-type-hero) !important; line-height: 1.04 !important; }
}

/* Gezeichneter Markerpfeil statt der Zeichen „↗“ (Startseite) und „→“ (Textlinks der Unterseiten), DESIGN.md: Pfeile als SVG mit runden Enden.
   Maske in Textfarbe, damit er auf hellem und dunklem Grund die Linkfarbe übernimmt. Schaltflächen bleiben ohne Pfeil. */
:root { --trx-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7.9c5.2-1.5 10.6 1 19-.5'/%3E%3Cpath d='M15.4 2.3l5.8 5-6 4.6'/%3E%3C/svg%3E"); }
#main-content a.text-link::after,
#main-content .page-card a[class]::after,
.et_pb_section[class*="trixner-start-"] .start-link.et_pb_button::after {
    content: "" !important;
    display: inline-block !important;
    position: static !important;
    font-size: inherit !important; /* Divi vergrößert die Schrift im ::after seiner Schaltflächen */
    line-height: 1 !important;
    flex: none;
    width: 1.2em !important;
    height: .7em !important;
    margin: 0 0 0 .45em !important;
    opacity: 1 !important;
    background: currentColor !important;
    -webkit-mask: var(--trx-pfeil) center / contain no-repeat;
    mask: var(--trx-pfeil) center / contain no-repeat;
    transition: translate .25s cubic-bezier(.16,1,.3,1) !important;
    transform: none !important;
}
#main-content a.text-link:is(:hover, :focus-visible)::after,
#main-content .page-card a[class]:is(:hover, :focus-visible)::after,
.et_pb_section[class*="trixner-start-"] .start-link.et_pb_button:is(:hover, :focus-visible)::after { translate: 3px 0; }
/* Divis Flex-Modul stellt Text und Pfeil sonst untereinander und bricht durch Rundung um; als Fließtext hängt der Pfeil am letzten Wort */
.et_pb_section[class*="trixner-start-"] .start-link.et_pb_button { display: inline-block !important; }
.et_pb_section[class*="trixner-start-"] .start-link.et_pb_button::after { vertical-align: -.02em; }
@media (prefers-reduced-motion: reduce) {
    #main-content a.text-link::after, #main-content .page-card a[class]::after,
    .et_pb_section[class*="trixner-start-"] .start-link.et_pb_button::after { transition: none !important; }
}
