/*
 * Kontor – Layout-Ergänzungen zu layout.css.
 */

body { font-size: 18px; line-height: 1.65; }

/* Wortmarke: Name groß, Firmierung klein darunter (partials/wordmark.php) */
.wordmark { --t-wordmark-weight: 700; --t-wordmark-size: 1.2rem; --t-wordmark-tracking: -.01em; gap: .7rem; }
.wordmark__mark { mask-image: url("mark.svg"); width: 1.9em; height: 1.9em; }
.wordmark__text { display: flex; flex-direction: column; gap: .2rem; }
.wordmark__sub { font: 600 .68rem/1 var(--t-font); letter-spacing: .14em; text-transform: uppercase; color: var(--t-muted); }

/* Hero-Titel ohne automatische Silbentrennung (sonst „Soft-ware“), dafür etwas breiter */
h1.blk-hero__title { hyphens: manual; max-width: 20ch; }

/* Hero ohne Bild: schematische Straßenkarte mit gesperrtem Abschnitt */
.blk-hero:not(.blk-hero--image)::after {
    content: "";
    align-self: center;
    justify-self: end;
    width: min(100%, 21rem);
    aspect-ratio: 1;
    background: url("hero.svg") center / contain no-repeat;
}
@media (max-width: 860px) {
    .blk-hero:not(.blk-hero--image)::after { display: none; }
}

/* Kopfzeile: weiß mit dünner blauer Oberkante */
.site-header { border-top: 3px solid var(--t-signal); border-bottom-color: var(--t-border); }
.site-nav a { font-size: 1rem; font-weight: 550; border-radius: var(--t-radius); }
.site-nav a[aria-current="page"] { background: none; box-shadow: inset 0 -3px 0 var(--t-signal); }
.nav-toggle summary { font: 600 .95rem var(--t-font); border-radius: var(--t-radius); }
.breadcrumbs, .post-meta, .post-card time, .pagination, .lang-switch, .archive-header__label { font-family: var(--t-font); letter-spacing: .01em; }
.breadcrumbs { font-size: .9rem; }

/* Fußzeile: Tintenblau */
.site-footer { background: var(--t-heading); color: #d5dde8; border-top: 0; }
.site-footer .wordmark, .site-footer .wordmark:hover { color: #ffffff; }
.site-footer .wordmark__mark { background: #9fc0ea; }
.site-footer .wordmark__sub { color: #b8c4d4; }
.site-footer__tagline { color: #c3cdda; }
.site-footer nav a { color: #e9eef5; }
.site-footer nav a:hover { color: #ffffff; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #9fc0ea; }
.site-footer__bottom { border-top-color: rgb(255 255 255 / 14%); color: #b8c4d4; font-family: var(--t-font); font-size: .85rem; }

.post-card { background: var(--t-bg-raised); border-top: 3px solid var(--t-signal); }
.error-page__code { font-weight: 800; }

/* Hintergrund „Feines Raster“ */
.backdrop--raster { --backdrop-line: var(--t-grid-line); --backdrop-glow: transparent; }

/* Seitenbreite = Containerbreite (bündig mit Wortmarke und Menü) statt der schmalen Lesebreite aus blocks.css.
   Spalten, Tabellen und Karten nutzen die volle Breite; Fließtext bleibt für gute Lesbarkeit bei etwa zwei Dritteln. */
.page { max-width: none; width: min(100% - 2.5rem, var(--t-container)); padding-inline: 0; }
.page > .blk-richtext, .page > .blk-callout, .page > .blk-contact, .page > .blk-form, .page > .page__lead { max-width: 48rem; }
