/* ============================================================
   Transparenz-Seiten: Methodik, EU-AI-Act-Protokoll und die
   Freigabe-Zeitleiste auf der Implementierungsseite.
   Hell, CI-Farben aus /style.css (--purple, --gold, --white ...),
   keine schweren Animationen, prefers-reduced-motion beachtet.
   ============================================================ */

/* ---------- Hero ---------- */
.tr-hero {
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 45%, var(--purple-light) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}
.tr-hero::before {
    content: ''; position: absolute; top: -30%; right: -10%;
    width: 520px; height: 520px; pointer-events: none;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.16), transparent 65%);
}
.tr-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.tr-eyebrow {
    display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--gold);
    letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px;
}
.tr-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.tr-hero p { font-size: 1.1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); max-width: 720px; margin: 0 auto; }
.tr-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.tr-meta span {
    font-size: 0.82rem; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}
.tr-meta span b { color: var(--gold); font-weight: 600; }

/* ---------- Inhalt ---------- */
.tr-wrap { max-width: 920px; margin: 0 auto; }
.tr-section { padding: 72px 0; }
.tr-section.is-tint { background: var(--gray-50, #F8F7FB); }
.tr-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--purple-dark, #250854); margin-bottom: 14px; letter-spacing: -0.01em; }
.tr-section h3 { font-size: 1.15rem; color: var(--purple-dark, #250854); margin: 34px 0 12px; }
.tr-lead { font-size: 1.05rem; line-height: 1.75; color: var(--gray-700, #4A4458); margin-bottom: 8px; }
.tr-section p, .tr-section li { line-height: 1.7; color: var(--gray-700, #4A4458); }
.tr-section ul { padding-left: 20px; margin: 8px 0 0; }
.tr-section li { margin-bottom: 6px; }
.tr-section a { color: var(--purple); font-weight: 600; }

.tr-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 26px; }
.tr-principle {
    background: var(--white); border: 1px solid var(--gray-200, #E6E1EF); border-radius: 16px;
    padding: 22px 20px; box-shadow: 0 6px 18px rgba(55, 12, 123, 0.06);
}
.tr-principle b { display: block; color: var(--purple-dark, #250854); margin-bottom: 6px; font-size: 1rem; }
.tr-principle span { font-size: 0.93rem; line-height: 1.6; color: var(--gray-700, #4A4458); }

.tr-table-wrap { overflow-x: auto; margin-top: 12px; border-radius: 14px; border: 1px solid var(--gray-200, #E6E1EF); background: var(--white); }
.tr-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.tr-table th, .tr-table td { text-align: left; padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--gray-200, #E6E1EF); }
.tr-table th { background: var(--purple); color: var(--white); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em; }
.tr-table tr:last-child td { border-bottom: 0; }
.tr-table td:first-child { font-weight: 600; color: var(--purple-dark, #250854); white-space: nowrap; }

.tr-note {
    margin-top: 22px; padding: 18px 20px; border-radius: 14px;
    background: rgba(255, 195, 0, 0.12); border-left: 4px solid var(--gold);
    color: var(--gray-800, #2D2D2D); line-height: 1.65;
}
.tr-note b { color: var(--purple-dark, #250854); }
.tr-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- EU-AI-Act-Protokoll ---------- */
.tr-log { list-style: none; padding: 0; margin: 30px 0 0; position: relative; }
.tr-log::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200, #E6E1EF); }
.tr-log > li { position: relative; padding-left: 44px; margin-bottom: 30px; }
.tr-log > li::before {
    content: ''; position: absolute; left: 4px; top: 7px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--white); border: 3px solid var(--purple);
}
.tr-log > li.is-new::before { border-color: var(--gold); background: var(--gold); }
.tr-log-date { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); }
.tr-log-card {
    margin-top: 8px; background: var(--white); border: 1px solid var(--gray-200, #E6E1EF);
    border-radius: 16px; padding: 22px 22px 18px; box-shadow: 0 6px 18px rgba(55, 12, 123, 0.06);
}
.tr-log-card h3 { margin: 0 0 12px; font-size: 1.12rem; }
.tr-log-card dl { margin: 0; }
.tr-log-card dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500, #8A8397); margin-top: 12px; }
.tr-log-card dd { margin: 4px 0 0; line-height: 1.65; color: var(--gray-700, #4A4458); }
.tr-log-card dd a { word-break: break-word; }

/* ---------- Freigabe-Zeitleiste (Implementierungsseite) ---------- */
.flow-section { padding: 80px 0; background: var(--gray-50, #F8F7FB); }
.flow-card {
    max-width: 780px; margin: 34px auto 0; background: var(--white); border-radius: 20px;
    border: 1px solid var(--gray-200, #E6E1EF); box-shadow: 0 24px 60px rgba(55, 12, 123, 0.10); overflow: hidden;
}
.flow-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 22px; background: var(--purple); color: var(--white); font-size: 0.92rem;
}
.flow-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--gold); }
.flow-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: flowPuls 1.8s ease-in-out infinite; }
.flow-steps { list-style: none; margin: 0; padding: 10px 22px 6px; }
.flow-steps li {
    display: grid; grid-template-columns: 58px 26px 1fr; gap: 12px; align-items: start;
    padding: 14px 0; border-bottom: 1px solid var(--gray-100, #F1EEF6);
    opacity: 0; transform: translateY(8px); animation: flowEin .5s ease forwards;
}
.flow-steps li:last-child { border-bottom: 0; }
.flow-steps li:nth-child(1) { animation-delay: .15s; } .flow-steps li:nth-child(2) { animation-delay: .45s; }
.flow-steps li:nth-child(3) { animation-delay: .75s; } .flow-steps li:nth-child(4) { animation-delay: 1.05s; }
.flow-steps li:nth-child(5) { animation-delay: 1.35s; } .flow-steps li:nth-child(6) { animation-delay: 1.65s; }
.flow-time { font-variant-numeric: tabular-nums; font-size: 0.85rem; color: var(--gray-500, #8A8397); padding-top: 2px; }
.flow-dot {
    width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(55, 12, 123, 0.1); color: var(--purple); font-size: 0.72rem; font-weight: 700;
}
.flow-steps li.is-human .flow-dot { background: var(--gold); color: var(--purple-dark, #250854); }
.flow-steps b { display: block; color: var(--purple-dark, #250854); margin-bottom: 3px; }
.flow-steps span.flow-text { font-size: 0.93rem; line-height: 1.6; color: var(--gray-700, #4A4458); }
.flow-steps li.is-human { background: rgba(255, 195, 0, 0.08); margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
.flow-foot { padding: 14px 22px 18px; font-size: 0.82rem; color: var(--gray-500, #8A8397); border-top: 1px solid var(--gray-100, #F1EEF6); }
@keyframes flowEin { to { opacity: 1; transform: none; } }
@keyframes flowPuls { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
    .flow-steps li { animation: none; opacity: 1; transform: none; }
    .flow-live::before { animation: none; }
}
@media (max-width: 560px) {
    .flow-steps li { grid-template-columns: 44px 22px 1fr; gap: 10px; }
    .tr-hero { padding: 120px 0 60px; }
}
