/* Branchen-Seiten (/branchen/) – kleine Ergänzung zu style.css, nutzt dessen Variablen und Muster */

/* Brotkrümel */
.crumbs { margin: -10px 0 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; font-size: 0.92rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '/'; padding: 0 8px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--muted); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.crumbs a:focus-visible, .br-links a:focus-visible, .br-tile:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Kopf */
.br-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.br-for { font-size: 0.95rem; color: var(--muted); max-width: 720px; }
.br-for strong { color: var(--text); }

/* Problem → Lösung */
.br-pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.br-pairs > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.br-pair { display: flex; flex-direction: column; }
.card.br-pair h3 { margin: 6px 0 0; font-size: 1.14rem; line-height: 1.3; }
.br-label { display: block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.br-prob { color: #B45309; }
.br-sol { color: var(--brand-dark); margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.card.br-pair p { margin-top: 6px; color: var(--text); }
.card.br-pair .br-from { margin-top: auto; padding-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--muted); }

/* So sieht das aus */
.br-demos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.br-demos.solo { grid-template-columns: 1fr; }
.br-demos.solo .br-demo { display: grid; grid-template-columns: 1.15fr 1fr; }
.br-demos.solo .br-demo .browser-bar { grid-column: 1 / -1; }
.br-shot { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; background: var(--soft); }
.br-demos:not(.solo) .br-shot { border-bottom: 1px solid var(--line); }
.br-demos.solo .br-shot { height: 100%; border-right: 1px solid var(--line); }
.br-demo .demo-body p { color: var(--text); }
.br-demo .tags { margin-bottom: 4px; }
.br-demo .demo-body .btn { margin-top: 14px; }
.br-lock { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 28px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.br-lock p { flex: 1 1 380px; color: var(--text); }
.br-lock .btn { text-align: center; }

/* Arbeitsweise & weiterführende Links */
.br-how .card h3 { font-size: 1.1rem; }
.br-more { margin-top: 28px; color: var(--text); }
.br-next h2 { font-size: 1.45rem; margin-bottom: 16px; }
.br-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.br-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--text); font-weight: 600; text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.br-links a:hover { border-color: #A5B4FC; color: var(--brand); }
.br-links .br-links-main a { border-color: #C7D2FE; color: var(--brand-dark); }

/* Übersicht */
.br-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card.br-tile { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; }
.br-tile .br-shot { border-bottom: 1px solid var(--line); }
.br-tile-body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 22px; }
.card.br-tile h3 { margin: 0 0 8px; }
.card.br-tile p { color: var(--text); }
.br-tile .card-link { margin-top: auto; padding-top: 14px; }

@media (max-width: 1024px) {
    .br-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .br-pairs, .br-demos { grid-template-columns: minmax(0, 1fr); }
    .br-demos.solo .br-demo { display: flex; }
    .br-demos.solo .br-shot { height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .br-lock { padding: 20px; }
}
@media (max-width: 560px) {
    .br-grid { grid-template-columns: 1fr; }
    .br-actions .btn, .br-lock .btn { width: 100%; }
}
@media (prefers-color-scheme: dark) {
    .br-prob { color: #FBBF24; }
    .br-sol { color: #93C5FD; }
    .br-links a { background: #0F1829; }
    .br-links a:hover { border-color: #6366F1; color: #BFDBFE; }
    .br-links .br-links-main a { border-color: #3B4B7A; color: #BFDBFE; }
    .br-lock { background: #0F1829; }
}
