/* Transidentität – eigenes Design (ab 5.3.0). Sanfte Farben, viel Luft. */
.tr-page {
	--ink: #1f1d33;
	--muted: #5f5c77;
	--bg: #fbfaff;
	--tint: #f3f1fb;
	--line: #e5e2f2;
	--blue: #2f8fc8;
	--blue-l: #8fd6f7;
	--pink: #d4628a;
	--pink-l: #f5b4c3;
	--lav: #8b7fd0;
	--grad: linear-gradient(120deg, #6cc8f2 0%, #b8a7ea 50%, #f19bb2 100%);
	--serif: "Brainstrand Titel", Georgia, serif;
	--sans: "Brainstrand Text", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r: 22px;
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 18px/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
}
.tr-page *, .tr-page *::before, .tr-page *::after { box-sizing: border-box; }
.tr-page a { color: var(--blue); }
.tr-page img { max-width: 100%; height: auto; }
.tr-page :focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; border-radius: 6px; }
.tr-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:has(.tr-page) { scroll-behavior: smooth; scroll-padding-top: 90px; }
.tr-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff !important; padding: .6em 1em; border-radius: 10px; }
.tr-skip:focus { left: 12px; }
.tr-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Kopf */
.tr-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 255, .86); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.tr-head.is-scrolled { border-color: var(--line); }
.admin-bar .tr-head { top: 32px; }
.tr-head__in { display: flex; align-items: center; gap: 2rem; height: 70px; }
.tr-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink) !important; flex: none; }
.tr-brand .brand__mark, .tr-brand img, .tr-brand .bs-nocopy { width: 34px; height: 34px; }
.tr-brand b { font: 700 1.15rem/1 var(--serif); }
.tr-brand small { font: italic 400 1.05rem var(--serif); color: var(--muted); }
.tr-nav { display: flex; gap: .3rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.tr-nav::-webkit-scrollbar { display: none; }
.tr-nav a { padding: .45rem .8rem; border-radius: 999px; color: var(--muted); text-decoration: none; font: 500 .86rem/1 var(--sans); white-space: nowrap; transition: background .2s, color .2s; }
.tr-nav a:hover { background: var(--tint); color: var(--ink); }
.tr-nav a.is-active { background: var(--ink); color: #fff; }
.tr-progress { height: 3px; background: transparent; }
.tr-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .1s linear; }

/* Hero */
.tr-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }
.tr-hero__glow { position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(40% 50% at 20% 30%, rgba(108, 200, 242, .38), transparent 70%), radial-gradient(35% 45% at 80% 25%, rgba(241, 155, 178, .4), transparent 70%), radial-gradient(40% 40% at 55% 75%, rgba(184, 167, 234, .3), transparent 70%); filter: blur(10px); animation: tr-breathe 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes tr-breathe { to { transform: translateY(-3%) scale(1.06); } }
.tr-hero__in { position: relative; text-align: center; max-width: 920px; }
.tr-kicker { display: inline-block; margin: 0 0 1.4rem; padding: .4rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font: 600 .8rem/1.3 var(--sans); letter-spacing: .06em; color: var(--muted); }
.tr-hero h1 { margin: 0 0 1.4rem; font: 700 clamp(3rem, 7.5vw, 5.8rem)/1.02 var(--serif); letter-spacing: -.01em; }
.tr-hero h1 span { font-style: italic; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.tr-lead { font-size: 1.18rem; color: var(--muted); max-width: 40em; margin: 0 auto; }
.tr-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.2rem; }
.tr-hero__chips a { padding: .7rem 1.25rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 .92rem var(--sans); box-shadow: 0 10px 30px -18px rgba(60, 50, 120, .35); transition: transform .2s, box-shadow .2s; }
.tr-hero__chips a:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(60, 50, 120, .45); }
.tr-hero__chips a:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.tr-flag { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-rows: repeat(5, 3px); opacity: .9; }
.tr-flag i:nth-child(1), .tr-flag i:nth-child(5) { background: #8fd6f7; }
.tr-flag i:nth-child(2), .tr-flag i:nth-child(4) { background: #f5b4c3; }
.tr-flag i:nth-child(3) { background: #fff; }

/* Abschnitte */
.tr-sec { padding: clamp(4rem, 9vw, 7rem) 0; }
.tr-sec--tint { background: var(--tint); }
.tr-sec--dark { background: radial-gradient(70% 60% at 85% 0%, rgba(184, 167, 234, .18), transparent 70%), #1f1d33; color: #e7e5f4; }
.tr-sec--dark .tr-lead { color: #bdb9d6; }
.tr-sec--dark h2, .tr-sec--dark h3 { color: #fff; }
.tr-sechead { margin-bottom: 2.6rem; }
.tr-sechead--center { text-align: center; max-width: 760px; margin-inline: auto; }
.tr-sechead--row { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.tr-sechead h2 { margin: 0 0 .8rem; font: 700 clamp(2.1rem, 4.4vw, 3.3rem)/1.1 var(--serif); }
.tr-num { margin: 0 0 .6rem; font: 700 .82rem/1 var(--sans); letter-spacing: .2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.tr-split { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.tr-split .tr-sechead { position: sticky; top: 110px; }
.tr-prose p { margin: 0 0 1.2rem; }
.tr-big { font: 400 1.4rem/1.55 var(--serif); color: var(--ink); }
.tr-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.tr-mini { padding: 1.3rem 1.3rem 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; gap: .3rem; }
.tr-mini b { font: 700 1.2rem var(--serif); }
.tr-mini span { font-size: .93rem; color: var(--muted); line-height: 1.55; }
.tr-mini:nth-child(1) { border-top: 3px solid var(--blue-l); }
.tr-mini:nth-child(2) { border-top: 3px solid #cfc5f3; }
.tr-mini:nth-child(3) { border-top: 3px solid var(--pink-l); }

/* Glossar */
.tr-search input { width: min(340px, 80vw); height: 48px; padding: 0 1.1rem 0 2.6rem; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238b7fd0' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 1rem center; font: 400 1rem var(--sans); color: var(--ink); }
.tr-search input:focus { outline: none; border-color: var(--lav); box-shadow: 0 0 0 4px rgba(139, 127, 208, .18); }
.tr-glossar { columns: 2; column-gap: 1.2rem; }
.tr-term { break-inside: avoid; margin: 0 0 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .2s, border-color .2s; }
.tr-term[open] { border-color: #cfc5f3; box-shadow: 0 16px 40px -26px rgba(60, 50, 120, .45); }
.tr-term summary { list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.3rem; font: 700 1.12rem/1.3 var(--serif); position: relative; }
.tr-term summary::-webkit-details-marker { display: none; }
.tr-term summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--lav); font: 600 1.15rem/1 var(--sans); transition: transform .25s; }
.tr-term[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tr-term p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 1rem; }
.tr-term[hidden] { display: none; }
.tr-empty { color: var(--muted); }

/* Wege */
.tr-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tr-path { position: relative; padding: 2rem 1.7rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -38px rgba(60, 50, 120, .5); }
.tr-path__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1.1rem; background: var(--tint); font: 700 1.4rem var(--serif); color: var(--lav); }
.tr-path:nth-child(1) .tr-path__ic { background: #e6f5fd; }
.tr-path:nth-child(3) .tr-path__ic { background: #fde9ee; color: var(--pink); }
.tr-path h3 { margin: 0 0 .5rem; font: 700 1.45rem var(--serif); }
.tr-path p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Recht */
.tr-steps { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; position: relative; }
.tr-steps::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 2rem; height: 2px; background: var(--grad); opacity: .6; }
.tr-steps li { position: relative; display: grid; gap: 1rem; }
.tr-steps__n { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem var(--serif); color: #1f1d33; background: var(--grad); box-shadow: 0 0 0 6px #1f1d33; }
.tr-steps h3 { margin: 0 0 .3rem; font: 700 1.3rem var(--serif); }
.tr-steps p { margin: 0; font-size: .97rem; color: #c9c5e0; }
.tr-steps strong, .tr-box strong { color: #fff; }
.tr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.tr-box { padding: 1.7rem 1.8rem; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.tr-box h3 { margin: 0 0 .8rem; font: 700 1.35rem var(--serif); }
.tr-box ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .6rem; font-size: .98rem; color: #d3d0e6; }
.tr-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 1.7rem 1.8rem; border-radius: var(--r); background: linear-gradient(120deg, rgba(108, 200, 242, .14), rgba(241, 155, 178, .14)); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 1.2rem; }
.tr-stat b { display: block; font: 700 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4rem; }
.tr-stat span { color: #d3d0e6; font-size: .97rem; }
.tr-stat__src { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: #9e9abb; }
.tr-note { padding: 1.5rem 1.8rem; border-radius: var(--r); border: 1px dashed rgba(255, 255, 255, .25); }
.tr-note h3 { margin: 0 0 .5rem; font: 700 1.2rem var(--serif); }
.tr-note p { margin: 0; font-size: .97rem; color: #c9c5e0; }

/* Mythen – Wendekarten */
.tr-flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tr-flip { perspective: 1200px; border: 0; background: none; padding: 0; height: 250px; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.tr-flip__in { position: relative; display: block; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.tr-flip[aria-pressed="true"] .tr-flip__in { transform: rotateY(180deg); }
.tr-flip__front, .tr-flip__back { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tr-flip__front { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -38px rgba(60, 50, 120, .5); }
.tr-flip__front b { font: 700 1.3rem/1.35 var(--serif); }
.tr-flip__front em { margin-top: auto; font: 600 .82rem var(--sans); font-style: normal; color: var(--lav); }
.tr-flip__back { transform: rotateY(180deg); background: var(--ink); color: #e7e5f4; font-size: 1rem; line-height: 1.6; }
.tr-flip small { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tr-flip__front small { color: var(--pink); }
.tr-flip__back small { color: var(--blue-l); }
.tr-flip:hover .tr-flip__front { border-color: #cfc5f3; }

/* Respekt */
.tr-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.tr-do, .tr-dont { padding: 1.9rem 2rem; border-radius: var(--r); }
.tr-do { background: #edf8f1; border: 1px solid #cfe9d8; }
.tr-dont { background: #fdf0f3; border: 1px solid #f4d2db; }
.tr-do h3, .tr-dont h3 { margin: 0 0 1rem; font: 700 1.4rem var(--serif); display: flex; align-items: center; gap: .6rem; }
.tr-do h3 span, .tr-dont h3 span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; font: 700 1rem var(--sans); }
.tr-do h3 span { background: #3a9a5f; }
.tr-dont h3 span { background: var(--pink); }
.tr-do ul, .tr-dont ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .7rem; font-size: 1rem; }
.tr-family { margin-top: 1.2rem; padding: 1.8rem 2rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: .9fr 2fr; gap: 1.5rem; align-items: start; }
.tr-family h3 { margin: 0; font: 700 1.35rem/1.3 var(--serif); }
.tr-family p { margin: 0; color: var(--muted); }

/* Hilfe */
.tr-help { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-bottom: 1.4rem; }
.tr-page a.tr-help__card { display: grid; gap: .4rem; padding: 1.6rem 1.7rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tr-page a.tr-help__card:hover { transform: translateY(-3px); border-color: #cfc5f3; box-shadow: 0 22px 50px -30px rgba(60, 50, 120, .5); }
.tr-help__card b { font: 700 1.3rem var(--serif); }
.tr-help__card span { color: var(--muted); font-size: .98rem; }
.tr-help__card em { font-style: normal; font: 600 .88rem var(--sans); color: var(--blue); margin-top: .3rem; }
.tr-crisis { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem; padding: 2rem; border-radius: var(--r); background: var(--ink); color: #e7e5f4; }
.tr-crisis h3 { margin: 0 0 .5rem; font: 700 1.45rem var(--serif); color: #fff; }
.tr-crisis p { margin: 0; color: #bdb9d6; }
.tr-crisis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.tr-crisis li { display: grid; grid-template-columns: 11rem 1fr; gap: .2rem 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tr-crisis li:last-child { border-bottom: 0; padding-bottom: 0; }
.tr-crisis li b { color: #fff; }
.tr-page .tr-crisis a { color: var(--blue-l); font-weight: 700; text-decoration: none; }
.tr-crisis small { grid-column: 2; color: #9e9abb; font-size: .84rem; }
.tr-sources { padding: 2.5rem 0 3rem; }
.tr-sources summary { cursor: pointer; font: 600 .95rem var(--sans); color: var(--muted); }
.tr-sources ul { margin: 1rem 0; padding-left: 1.2rem; color: var(--muted); font-size: .9rem; display: grid; gap: .4rem; }
.tr-sources p { font-size: .88rem; color: var(--muted); }

/* Fuß */
.tr-foot { border-top: 1px solid var(--line); padding: 1.6rem 0; font-size: .9rem; color: var(--muted); }
.tr-foot__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tr-foot p { margin: 0; }
.tr-foot nav { display: flex; gap: 1.2rem; }
.tr-page .tr-foot a { color: var(--muted); }

/* Einblenden */
.tr-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.tr-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
	.tr-nav { display: none; }
	.tr-split, .tr-family, .tr-crisis { grid-template-columns: 1fr; }
	.tr-split .tr-sechead { position: static; }
	.tr-paths, .tr-flips { grid-template-columns: 1fr 1fr; }
	.tr-steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
	.tr-steps::before { display: none; }
}
@media (max-width: 640px) {
	.tr-page { font-size: 17px; }
	.tr-cards3, .tr-paths, .tr-flips, .tr-grid2, .tr-stat, .tr-dos, .tr-help, .tr-steps { grid-template-columns: 1fr; }
	.tr-glossar { columns: 1; }
	.tr-crisis li { grid-template-columns: 1fr; }
	.tr-crisis small { grid-column: 1; }
	.admin-bar .tr-head { top: 0; }
	.tr-flip { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
	.tr-page *, .tr-page *::before, .tr-page *::after { animation: none !important; transition: none !important; }
	.tr-reveal { opacity: 1; transform: none; }
}

/* Korrekturen */
.tr-brand .bs-nocopy { display: inline-block; flex: none; background-size: contain; background-repeat: no-repeat; background-position: center; -webkit-user-select: none; user-select: none; }
.tr-sechead:not(.tr-sechead--center) .tr-lead { margin: 0; }
.tr-steps li { align-content: start; }
