/* Shared card system: equal dimensions per group; colors follow the topic. */
body #inhalt .module-section .numbered-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:20px}
body #inhalt .module-section .numbered-card{grid-column:auto!important;min-width:0;height:100%;display:flex;flex-direction:column;background:var(--topic-pale);color:var(--topic-deep);border:1px solid color-mix(in srgb,var(--topic-accent) 20%,transparent)}
body #inhalt .module-section .numbered-card :is(p,ul,.number){color:var(--topic-deep)}
body #inhalt .module-section .numbered-card ul{margin-top:auto;padding-top:12px}
body #inhalt .module-section.dark .numbered-card{background:color-mix(in srgb,var(--topic-light) 9%,var(--topic-deep));color:var(--topic-light);border-color:color-mix(in srgb,var(--topic-light) 25%,transparent)}
body #inhalt .module-section.dark .numbered-card :is(p,ul,.number){color:var(--topic-light)}
/* Keep the editorial arrangement, including the large lead decision. */
body #inhalt .case-section .case-card{background:var(--topic-light);color:var(--topic-deep);border-color:color-mix(in srgb,var(--topic-accent) 20%,transparent)}
body #inhalt .case-section .case-card :is(p,.case-meta,summary,.case-links a){color:var(--topic-deep)}
body #inhalt .case-section .case-card .case-limit{border-color:var(--topic-accent)}
body #inhalt .case-section .case-card .case-links{border-color:color-mix(in srgb,var(--topic-accent) 25%,transparent)}
body #inhalt .process{grid-auto-rows:1fr}
body #inhalt .process article{background:var(--topic-pale);color:var(--topic-deep);border-color:color-mix(in srgb,var(--topic-accent) 20%,transparent)}
body #inhalt .process article :is(p,span){color:var(--topic-deep)}
body #inhalt :is(.team-grid,.trust-row,.onboard-track,.datev-media-grid,.audience-grid){grid-auto-rows:1fr}
body #inhalt :is(.team-person,.trust-item,.onboard-track article){min-width:0;height:100%}
body.page-ueber-uns #inhalt .founder{background:var(--topic-surface)}
/* Client tools have equal priority and a uniform surface. */
body.page-mandanten #inhalt .application-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:20px}
body.page-mandanten #inhalt .app-card{grid-column:auto;background:var(--topic-pale);color:var(--topic-deep);height:100%;min-width:0}
body #inhalt .hub-console .hub-apps{grid-auto-rows:1fr}
body #inhalt .hub-console .hub-apps a[data-client-app]{grid-column:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:160px;background:var(--topic-pale);color:var(--topic-deep);border-color:var(--topic-shine)}
body #inhalt .hub-console .hub-apps a[data-client-app] :is(b,.app-symbol){color:var(--topic-accent)}
body #inhalt .hub-console .hub-apps a[data-client-app] .client-app-icon{margin-bottom:12px}
body #inhalt .hub-console .hub-apps a[data-client-app] :is(b,span){align-self:auto}
/* Contact choices are peers, with neutral firm colors for both. */
body.page-kontakt .contact-options{grid-auto-rows:1fr;--card-bg:var(--topic-surface);--card-ink:var(--topic-deep);--card-accent:var(--topic-accent)}
body.page-kontakt .contact-options .contact-option{background:var(--card-bg);color:var(--card-ink);border:1px solid color-mix(in srgb,var(--topic-accent) 20%,transparent)}
body.page-kontakt .contact-options .contact-option :is(.eyebrow,.contact-option-top,.contact-option-note),body.page-kontakt .contact-options .contact-option>p{color:var(--card-ink)}
body.page-kontakt .contact-options .contact-option .btn{background:var(--card-ink);color:#fff}
body.page-kontakt .contact-options .contact-option .btn:hover{background:var(--card-accent)}
@media(max-width:1000px){body.page-mandanten #inhalt .application-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body #inhalt .module-section .numbered-grid,body.page-mandanten #inhalt .application-grid{grid-template-columns:minmax(0,1fr)}body #inhalt .hub-console .hub-apps a[data-client-app]{min-height:155px}}
@media print{body #inhalt :is(.module-section .numbered-card,.case-section .case-card,.process article){background:#fff;color:#111}body #inhalt :is(.module-section .numbered-card,.case-section .case-card) :is(p,ul,.number,summary,.case-links a){color:#111}}

/* Homepage: onboarding spans both columns of the client console. */
body.page-home #inhalt .hub-console .hub-apps a[data-client-app="onboarding"]{grid-column:1/-1}
