@import url("https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* Designarbeit für die MCS TEAM GmbH. Farben, Abstände und Schrift kommen aus tokens.css.
   Präfix mt- (MCS TEAM). Alle Komponenten sind reine CSS-Klassen. Calibri ist die Hausschrift,
   Carlito (metrisch gleich) dient als Ersatz auf Systemen ohne Calibri. */

.mt, .mt *, .mt *::before, .mt *::after { box-sizing: border-box; }
.mt { margin: 0; background: var(--surface); color: var(--ink-body); font-family: var(--font-sans); font-size: 16px; line-height: 1.625; -webkit-font-smoothing: antialiased; }
.mt :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mt a:not([class]) { color: var(--red-dark); text-underline-offset: 3px; }
.mt a:not([class]):hover { color: var(--red); }
.mt .display-xl, .mt .display-lg, .mt .title, .mt .heading, .mt .subheading { color: var(--ink); }
.mt-eyebrow { margin: 0; font: 700 12px/1.2 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-dark); }
.mt-lead { margin: 0; font: 300 22px/1.35 var(--font-sans); max-width: 70ch; }
.mt-measure { max-width: 70ch; }
.mt-num { font-variant-numeric: tabular-nums; }

/* Logo mit Schutzraum: ein Quadrat des Logos (12 % der Logobreite) auf allen Seiten */
.mt-logobox { --w: 240px; display: inline-block; padding: calc(var(--w) * 0.119); outline: 1px dashed var(--line-strong); outline-offset: -1px; line-height: 0; }
.mt-logobox > img { width: var(--w); height: auto; }
.mt-logo { display: block; height: auto; }

/* Logo mit Standortzeile (abgeleitet). a = Kantenlänge eines Quadrats = 11,8 % der Logobreite.
   Die Zeile steht rechtsbündig unter dem Logo, Abstand 0,3 a, Schriftgröße 0,62 a, Calibri Regular in Grau.
   Der Schutzraum a gilt um die ganze Einheit; mt-lockup--schutz zeigt ihn gestrichelt. */
.mt-lockup { --w: 220px; display: inline-grid; justify-items: end; row-gap: calc(var(--w) * 0.0354); line-height: 0; }
.mt-lockup > img { display: block; width: var(--w); height: auto; }
.mt-lockup__ort { margin: 0; font: 400 calc(var(--w) * 0.0732)/1 var(--font-sans); color: var(--grey); white-space: nowrap; }
.mt-lockup--schutz { padding: calc(var(--w) * 0.118); outline: 1px dashed var(--line-strong); outline-offset: -1px; }

/* Keil: die rote Diagonalfläche der Präsentationsvorlage mit weißem Streifen. Koordinaten im Raster 1600 x 900.
   Links (Titel- und Kapitelfolie) und rechts (Schlussfolie), jeweils über die ganze Folie gelegt.
   Logo und Text halten mindestens den Schutzraum a zum Keil. */
.mt-keil { position: absolute; inset: 0; pointer-events: none; }
.mt-keil::before { content: ""; position: absolute; inset: 0; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath d='M0 0H13L87 194L0 227ZM0 278L104 238L355 900H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath d='M0 0H13L87 194L0 227ZM0 278L104 238L355 900H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.mt-keil--rechts::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath d='M1555 0H1600V239L1482 194ZM1600 290L1465 238L1214 900H1600Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath d='M1555 0H1600V239L1482 194ZM1600 290L1465 238L1214 900H1600Z'/%3E%3C/svg%3E"); }

/* Folie 16:9. Alle Maße in cqw und Prozent, damit die Folie in jeder Breite gleich aussieht. */
.mt-slide { container-type: inline-size; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); color: var(--ink); font-family: var(--font-sans); }
.mt-slide > * { margin: 0; }
.mt-slide--titel, .mt-slide--kapitel, .mt-slide--ende, .mt-slide--inhalt { background: var(--surface); }
.mt-slide__logo { position: absolute; left: 32.5%; top: 16.7%; width: 62.5%; height: auto; }
.mt-slide__logo-klein { position: absolute; left: 84.1%; top: 2.8%; width: 13.8%; height: auto; }
.mt-slide__ort { position: absolute; right: 5%; top: 50.6%; text-align: right; white-space: nowrap; font: 400 4.57cqw/1 var(--font-sans); color: var(--grey); }
.mt-slide__ort-klein { position: absolute; right: 2.1%; top: 10.3%; text-align: right; white-space: nowrap; font: 400 1.1cqw/1 var(--font-sans); color: var(--grey); }
.mt-slide--ende .mt-slide__logo-klein { left: 76.25%; }
.mt-slide--ende .mt-slide__ort-klein { right: 10%; }
.mt-slide__thema { position: absolute; left: 27%; top: 77%; width: 72%; font: 400 2.92cqw/1.25 var(--font-sans); color: var(--ink-muted); }
.mt-slide__web { position: absolute; left: 3%; bottom: 3.6%; font: 400 1.9cqw/1 var(--font-sans); color: var(--on-red); }
.mt-slide__web--rechts { left: auto; right: 3.5%; bottom: 3.6%; }
.mt-slide--inhalt .mt-balken { position: absolute; left: 0; width: 7%; background: var(--red); }
.mt-slide--inhalt .mt-balken--oben { top: 0; height: 22%; }
.mt-slide--inhalt .mt-balken--unten { top: 27%; height: 73%; }
.mt-slide__title { position: absolute; left: 9%; top: 4%; width: 73%; font: 700 5cqw/1.1 var(--font-sans); color: var(--ink); }
.mt-slide__body { position: absolute; left: 9%; right: 4%; top: 25%; bottom: 6%; font: 400 2.08cqw/1.4 var(--font-sans); color: var(--ink); }
.mt-slide__body > * { margin: 0 0 1.4cqw; }
.mt-slide__body ul { padding-left: 1.3em; }
.mt-slide__body li { margin-bottom: 0.5cqw; }
.mt-slide__body--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3cqw; align-content: start; }
.mt-slide__ende { position: absolute; left: 3.75%; top: 33%; width: 66%; font: 700 6.2cqw/1.12 var(--font-sans); color: var(--ink); }
.mt-slide__kapitel-no { position: absolute; left: 32.5%; top: 18.9%; font: 700 16.25cqw/1 var(--font-sans); color: var(--red); }
.mt-slide__kapitel-title { position: absolute; left: 32.5%; top: 52.2%; width: 62.5%; font: 700 6cqw/1.1 var(--font-sans); color: var(--ink); }
.mt-slide__kapitel-sub { position: absolute; left: 32.5%; top: 66.7%; width: 61%; font: 400 2.5cqw/1.3 var(--font-sans); color: var(--ink-muted); }

/* Button */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; min-height: 45px; padding: 0 24px; font: 700 16px/1 var(--font-sans); letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; color: var(--on-red); background: var(--red); border: 2px solid var(--red); border-radius: var(--radius-none); cursor: pointer; transition: background 120ms; }
.mt-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--on-red); }
.mt-btn--outline { color: var(--ink); background: transparent; border-color: var(--anthracite); }
.mt-btn--outline:hover { color: var(--on-red); background: var(--anthracite); border-color: var(--anthracite); }
.mt-more { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-dark); text-decoration: none; }
.mt-more::after { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.mt-more:hover { color: var(--red); }
.mt-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Tag */
.mt-tag { display: inline-flex; align-items: center; padding: 5px 9px; font: 700 12px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); background: transparent; border: 1px solid currentColor; border-radius: var(--radius-none); white-space: nowrap; }
.mt-tag--red { color: var(--on-red); background: var(--red); border-color: var(--red); }
.mt-tag--dark { color: var(--on-red); background: var(--anthracite); border-color: var(--anthracite); }

/* Website-Kopf: Kontaktzeile, Logo und Menüleiste in Anthrazit */
.mt-site { background: var(--surface); }
.mt-site__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 32px; border-bottom: 1px solid var(--line); }
.mt-site__top img { height: 44px; width: auto; display: block; }
.mt-site__contact { display: flex; gap: 24px; font: 400 14px/1.4 var(--font-sans); color: var(--ink-muted); }
.mt-nav { display: flex; flex-wrap: wrap; margin: 0; padding: 0 32px; list-style: none; background: var(--anthracite); }
.mt .mt-nav a { display: block; padding: 14px 18px; font: 700 14px/1.2 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--on-anthracite); }
.mt .mt-nav a:hover { color: var(--on-red); background: var(--red-dark); }
.mt .mt-nav a[aria-current=page] { color: var(--on-red); background: var(--red); }
.mt .mt-nav :focus-visible { outline-color: var(--on-red); }

/* Leistungskachel (Website: Bild, Überschrift, Kurztext, MEHR) */
.mt-card { display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border: 1px solid var(--line); }
.mt-card__img { aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--surface-grey); color: var(--ink-muted); font: 700 12px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; }
.mt-card__img > img { width: 100%; height: 100%; object-fit: cover; }
.mt-card__body { display: grid; align-content: start; gap: 8px; padding: 20px 24px 8px; }
.mt-card__title { margin: 0; font: 700 22px/1.2 var(--font-sans); color: var(--ink); }
.mt-card__title::after { content: ""; display: block; width: 40px; height: 4px; margin-top: 10px; background: var(--red); }
.mt-card__text { margin: 0; font: 400 16px/1.5 var(--font-sans); color: var(--ink-body); }
.mt-card__foot { padding: 12px 24px 22px; }

/* Hinweis */
.mt-callout { display: grid; gap: 8px; padding: 20px 24px; background: var(--red-10); border: 1px solid var(--red-20); }
.mt-callout > p { margin: 0; max-width: 70ch; color: var(--ink); }
.mt-callout__label { display: flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-dark); }
.mt-callout__label::before { content: ""; width: 10px; height: 10px; background: var(--red); }
.mt-callout--beispiel { background: var(--surface-grey); border-color: var(--line); }
.mt-callout--beispiel .mt-callout__label { color: var(--ink-muted); }
.mt-callout--beispiel .mt-callout__label::before { background: transparent; border: 2px solid var(--ink-muted); }
.mt-callout--wichtig { background: var(--red); border-color: var(--red); }
.mt-callout--wichtig > p, .mt-callout--wichtig .mt-callout__label { color: var(--on-red); }
.mt-callout--wichtig .mt-callout__label::before { background: var(--on-red); }

/* Kennzahl */
.mt-key { display: grid; gap: 4px; margin: 0; padding-top: 12px; border-top: 4px solid var(--red); }
.mt-key__value { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 700 56px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--red); }
.mt-key__unit { font: 700 20px/1 var(--font-sans); color: var(--ink-muted); }
.mt-key__label { margin: 0; font: 700 18px/1.3 var(--font-sans); color: var(--ink); }
.mt-key__note { margin: 0; max-width: 36ch; font: 400 14px/1.45 var(--font-sans); color: var(--ink-muted); }

/* Tabelle */
.mt-table-wrap { overflow-x: auto; }
.mt-table { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.mt-table caption { padding-bottom: 12px; text-align: left; font: 700 18px/1.3 var(--font-sans); color: var(--ink); }
.mt-table th { padding: 10px 16px 10px 12px; text-align: left; font: 700 12px/1.2 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 3px solid var(--red); white-space: nowrap; }
.mt-table td { padding: 12px 16px 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mt-table tr.is-key td { background: var(--red-10); }
.mt-table .num { text-align: right; }
.mt-swatch { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; }

/* Referenzliste (Website: Gruppen, Titel, Auftraggeber, Leistung) */
.mt-refs { display: grid; gap: 28px; }
.mt-refs__group { display: grid; gap: 4px; }
.mt-refs__group > h3 { margin: 0 0 6px; font: 700 20px/1.2 var(--font-sans); color: var(--ink); }
.mt-refs__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); gap: 4px 24px; padding: 10px 0; border-top: 1px solid var(--line); font: 400 15px/1.45 var(--font-sans); }
.mt-refs__row > :first-child { font-weight: 700; color: var(--ink); }
.mt-refs__row > :nth-child(2) { color: var(--ink-muted); }
@media (max-width: 640px) { .mt-refs__row { grid-template-columns: 1fr; } }

/* Standorte */
.mt-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.mt-sites li { display: grid; gap: 2px; align-content: start; padding-top: 12px; border-top: 4px solid var(--red); font: 400 15px/1.5 var(--font-sans); color: var(--ink-body); }
.mt-sites strong { font: 700 18px/1.3 var(--font-sans); color: var(--ink); }
.mt-sites small { font: 700 12px/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* Diagramm: Rot, Anthrazit und Grau. Reihen unterscheiden sich in Helligkeit und Linienart. */
.mt-chart { margin: 0; display: grid; gap: 12px; padding: 20px 24px 16px; background: var(--surface); border: 1px solid var(--line); }
.mt-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.mt-chart__grid { stroke: var(--line); stroke-width: 1; fill: none; }
.mt-chart__axis { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.mt-chart__tick { fill: var(--ink-muted); font: 400 12px var(--font-sans); }
.mt-chart__axis-title { fill: var(--ink); font: 700 12px var(--font-sans); }
.mt-chart__s1, .mt-chart__s2, .mt-chart__s3 { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.mt-chart__s1 { stroke: var(--series-1); }
.mt-chart__s2 { stroke: var(--series-2); }
.mt-chart__s3 { stroke: var(--series-3); stroke-dasharray: 7 5; }
.mt-chart__dot1 { fill: var(--series-1); } .mt-chart__dot2 { fill: var(--series-2); }
.mt-chart__label { font: 700 14px var(--font-sans); fill: var(--ink); }
.mt-chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font: 400 13px/1.4 var(--font-sans); color: var(--ink-muted); }

/* ---------------------------------------------------------------- Geschäftsausstattung
   Alle Muster arbeiten mit erfundenen Beispieldaten (Max Mustermann, +49 (0) 000 …, Musterstraße 1). */

/* E-Mail-Signatur. Im Mailprogramm werden die Angaben als Inline-Stile gesetzt (README); die Klassen zeigen den Aufbau. */
.mt-sig { display: grid; justify-items: start; max-width: 560px; font: 400 13px/1.4 var(--font-sans); color: var(--ink); }
.mt-sig > * { margin: 0; }
.mt-sig__gruss { margin-bottom: 18px; font-size: 15px; }
.mt-sig__name { font: 700 15px/1.3 var(--font-sans); }
.mt-sig__funktion { margin-bottom: 10px; font-size: 14px; color: var(--ink-muted); }
.mt-sig__linie { width: 320px; max-width: 100%; height: 1px; margin-bottom: 14px; border: 0; background: var(--line-strong); }
.mt-sig__logo { display: block; width: 150px; height: auto; margin-bottom: 14px; }
.mt-sig__kontakt { margin-bottom: 10px; }
.mt-sig__kontakt a { color: var(--red-dark); text-decoration: none; }
.mt-sig__pflicht { margin-bottom: 12px; font-size: 12px; color: var(--ink-muted); }
.mt-sig__profile { display: flex; gap: 8px; margin-bottom: 12px; padding: 0; list-style: none; }
.mt-sig__profile a { display: block; width: 22px; height: 22px; background: var(--grey); color: var(--on-red); font: 700 11px/22px var(--font-sans); text-align: center; text-decoration: none; }
.mt-sig__umwelt { font-size: 12px; color: var(--grey); }

/* Visitenkarte 85 x 55 mm. Maße in Prozent der Kartenbreite (cqw), gemessen an der gedruckten Karte.
   Der Keil der Karte ist steiler als der Keil der Folie (12° statt 21°), der Streifen steht rechtwinklig zur Kante. */
.mt-vk { container-type: inline-size; position: relative; overflow: hidden; aspect-ratio: 85 / 55; background: var(--surface); color: var(--anthracite); font-family: var(--font-sans); }
.mt-vk > * { margin: 0; position: absolute; }
.mt-vk__keil { inset: 0; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 850 550' preserveAspectRatio='none'%3E%3Cpath d='M0 0H115L161.85 214.7L0 250ZM0 286L169.35 249.05L235 550H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 850 550' preserveAspectRatio='none'%3E%3Cpath d='M0 0H115L161.85 214.7L0 250ZM0 286L169.35 249.05L235 550H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.mt-vk__logo { right: 7.06%; top: 15.1%; width: 36.47%; height: auto; }
.mt-vk__name { left: 28.24%; top: 38.5%; font: 700 3.94cqw/1 var(--font-sans); }
.mt-vk__funktion { left: 28.24%; top: 46.2%; font: 400 3.53cqw/1 var(--font-sans); }
.mt-vk__kontakt, .mt-vk__firma { right: 7.65%; text-align: right; white-space: nowrap; font: 400 3.53cqw/4.12cqw var(--font-sans); }
.mt-vk__kontakt { top: 55.6%; }
.mt-vk__firma { top: 78.2%; }
.mt-vk__firma b { font-weight: 700; }
.mt-vk--rueck { background: var(--red); color: var(--on-red); }
.mt-vk--rueck .mt-vk__logo { left: 26.5%; right: auto; top: 37.7%; width: 47%; }
.mt-vk__web { left: 0; right: 0; bottom: 12%; text-align: center; font: 400 3.3cqw/1 var(--font-sans); color: var(--on-red); }

/* Briefbogen A4 nach DIN 5008 Form B. Maße in mm für Druck und PDF. */
.mt-brief { position: relative; width: 210mm; height: 297mm; overflow: hidden; background: var(--surface); color: var(--ink); font: 400 11pt/1.3 var(--font-sans); }
.mt-brief > * { position: absolute; margin: 0; }
.mt-brief__logo { right: 20mm; top: 15mm; width: 55mm; height: auto; }
.mt-brief__absender { left: 20mm; top: 47mm; width: 85mm; padding-bottom: 1mm; border-bottom: 0.2mm solid var(--line); font-size: 7pt; color: var(--ink-muted); white-space: nowrap; }
.mt-brief__anschrift { left: 20mm; top: 56mm; width: 85mm; }
.mt-brief__datum { right: 20mm; top: 98mm; }
.mt-brief__betreff { left: 20mm; top: 106mm; width: 170mm; font-weight: 700; }
.mt-brief__text { left: 20mm; top: 116mm; width: 170mm; bottom: 34mm; overflow: hidden; }
.mt-brief__text p { margin: 0 0 4mm; }
.mt-brief__falz, .mt-brief__loch { left: 3mm; width: 4mm; height: 0; border-top: 0.25pt solid var(--line-strong); }
.mt-brief__falz--1 { top: 105mm; }
.mt-brief__falz--2 { top: 210mm; }
.mt-brief__loch { top: 148.5mm; width: 6mm; }
.mt-brief__seite { right: 20mm; top: 265mm; font-size: 7pt; color: var(--ink-muted); }
.mt-brief__fuss { left: 20mm; right: 20mm; top: 271mm; display: grid; grid-template-columns: 46mm 42mm 48mm 1fr; font-size: 6.5pt; line-height: 1.3; color: var(--ink-muted); }
.mt-brief__fuss p { margin: 0; }

/* Angebot: Positionen und Summen im Textbereich des Briefbogens */
.mt-angebot { width: 100%; border-collapse: collapse; font: 400 10pt/1.35 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.mt-angebot th { padding: 0 0 1.5mm; text-align: right; font: 700 8pt/1.2 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 0.6mm solid var(--red); }
.mt-angebot td { padding: 1.4mm 0; text-align: right; border-bottom: 0.2mm solid var(--line); }
.mt-angebot th:first-child, .mt-angebot td:first-child { text-align: left; }
.mt-angebot .mt-angebot__gruppe td { padding-top: 3mm; font-weight: 700; border-bottom: 0; }
.mt-angebot td.mt-angebot__pos { padding-left: 3mm; }
.mt-angebot__summen { display: grid; grid-template-columns: 1fr auto; gap: 1.5mm 4mm; width: 66mm; margin: 3mm 0 0 auto; font: 400 10pt/1.3 var(--font-sans); font-variant-numeric: tabular-nums; }
.mt-angebot__summen dt, .mt-angebot__summen dd { margin: 0; }
.mt-angebot__summen dd { text-align: right; }
.mt-angebot__summen .is-brutto { padding-top: 1.5mm; border-top: 0.3mm solid var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------- Fahrzeuge und Räume */
/* Fahrzeug- und Raumnamen: Calibri Regular, erster Buchstabe Rot, Rest Anthrazit (wie UHD1 und Regie 1 an den Fahrzeugen). */
.mt-name { display: inline-block; font-family: var(--font-sans); font-weight: 400; line-height: 1; color: var(--anthracite); }
.mt-name::first-letter { color: var(--red); }
/* Türschild mit Balken links */
.mt-schild { position: relative; display: grid; align-content: center; gap: 8px; min-height: 120px; padding: 18px 150px 18px 36px; background: var(--surface); border: 1px solid var(--line); }
.mt-schild::before, .mt-schild::after { content: ""; position: absolute; left: 0; width: 14px; background: var(--red); }
.mt-schild::before { top: 0; height: 43%; }
.mt-schild::after { top: 50%; bottom: 0; }
.mt-schild .mt-name { font-size: 46px; }
.mt-schild__raum { margin: 0; font: 400 15px/1 var(--font-sans); color: var(--ink-muted); }
.mt-schild__logo { position: absolute; right: 20px; top: 18px; width: 110px; height: auto; }
/* Fahrzeugfotos mit nummerierten Hinweisen */
.mt-fahrzeug { position: relative; margin: 0; }
.mt-fahrzeug > img { display: block; width: 100%; height: auto; }
.mt-fahrzeug__mark { position: absolute; width: 24px; height: 24px; background: var(--red); color: var(--on-red); font: 700 14px/24px var(--font-sans); text-align: center; }
.mt-fahrzeug figcaption { margin-top: 8px; font: 400 13px/1.4 var(--font-sans); color: var(--ink-muted); }

/* Logo mit Fahrzeugzeile (Richtlinie Fahrzeuge). Zeile Calibri Regular 0,5 a, linksbündig mit „MCS“ (3,79 a),
   Versalhöhe beginnt 0,35 a unter „TEAM GmbH“, Breite etwa 7,3 a. Farbe wie „MCS“: grey auf Weiß, fz-lichtgrau auf Schwarz. */
.mt-fzlockup { --w: 300px; display: inline-grid; justify-items: start; line-height: 0; }
.mt-fzlockup > img { display: block; width: var(--w); height: auto; }
.mt-fzlockup__zeile { margin: calc(var(--w) * 0.0349) 0 0 calc(var(--w) * 0.4472); font: 400 calc(var(--w) * 0.059)/1 var(--font-sans); color: var(--grey); white-space: nowrap; }
.mt-fzlockup--dunkel .mt-fzlockup__zeile { color: var(--fz-lichtgrau); }

/* ---------------------------------------------------------------- Anwendungen (Vorschlag, die Funktion hat Vorrang) */
.mt-appbar { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mt-appbar > img { height: 32px; width: auto; display: block; }
.mt-appbar__name { margin: 0; padding-left: 16px; border-left: 1px solid var(--line); font: 700 18px/1.2 var(--font-sans); color: var(--ink); }
.mt-appnav { display: grid; align-content: start; gap: 2px; width: 240px; margin: 0; padding: 12px 0; list-style: none; background: var(--anthracite); }
.mt .mt-appnav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 20px; font: 400 15px/1.2 var(--font-sans); color: var(--on-anthracite); text-decoration: none; }
.mt .mt-appnav a[aria-current=page] { background: var(--red); color: var(--on-red); font-weight: 700; }
.mt .mt-appnav a:hover:not([aria-current]) { background: var(--red-dark); color: var(--on-red); }
.mt-status { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--font-sans); white-space: nowrap; }
.mt-status::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.mt-status--ok { color: var(--status-ok); }
.mt-status--warn { color: var(--status-warn); }
.mt-status--err { color: var(--red-dark); }
.mt-status--air { padding: 5px 8px; color: var(--on-red); background: var(--red); letter-spacing: 0.08em; text-transform: uppercase; }
.mt-status--air::before { background: var(--on-red); }
.mt-alert { display: grid; gap: 2px; padding: 12px 16px; border-left: 6px solid; font: 400 15px/1.4 var(--font-sans); color: var(--ink); }
.mt-alert > * { margin: 0; }
.mt-alert__title { font-weight: 700; }
.mt-alert--ok { background: var(--status-ok-surface); border-color: var(--status-ok); }
.mt-alert--warn { background: var(--status-warn-surface); border-color: var(--status-warn); }
.mt-alert--err { background: var(--red-10); border-color: var(--red-dark); }
.mt-field { display: grid; gap: 6px; max-width: 360px; }
.mt-field__label { font: 700 13px/1.2 var(--font-sans); color: var(--ink); }
.mt-field__input { min-height: 44px; padding: 0 12px; font: 400 15px/1 var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-none); }
.mt-field__input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.mt-field--error .mt-field__input { border: 2px solid var(--red-dark); background: var(--red-10); }
.mt-field__error { margin: 0; font: 700 13px/1.3 var(--font-sans); color: var(--red-dark); }

@media (prefers-reduced-motion: reduce) { .mt *, .mt *::before, .mt *::after { transition: none !important; animation: none !important; } }
