BT Bau
A small business site where every claim is a test
A German-language site for a construction business near Munich, built for one job: it is the page the owner links when he applies to schools and school authorities. Everything on it is a claim somebody may check, so the build checks it first.
01Who reads it
A small construction business that has looked after a school for years needed to win the next one. The readers are school authorities and public bodies, and they read a contractor’s website the way they read a tender: for the trades he is registered for, who he has worked for, and whether the two agree.
That decides most of the design. A landing page for schools carries the reference from the school authority, quoted and shown as an excerpt of the letter itself. The reference list names every documented project. And the site states only what a document backs, because the one thing worse than a thin page for this reader is a claim that falls apart on the first phone call.
02The copy is under test, not only the code
Thirty-five assertions run against the built output, and many of them are about sentences rather than markup. The site may not name a title or qualification the business does not hold. Every project carried out as a subcontractor has to name the main contractor on the same page, so a well-known building never reads as a direct client. All twenty-seven documented reference projects have to be listed. A trade the business is not registered for may appear only as part of work it is registered for, never as a service of its own. And no page may promise a fixed service radius after the owner decided against one.
Those rules came out of conversations, not out of a style guide, and each was turned into a test the day it was decided. A wrong sentence fails the build exactly like a broken link, which is the only way a rule like that survives the next quick edit.
03What must never be deployed
The evidence behind the site is a folder of scanned letters and document photos. They carry signatures, staff names, bank details and an insurance contract number. They stay local and git-ignored, a test fails if any of them reaches the build, and the site offers them on request instead.
The school’s letter is shown, but not whole. A script renders the local PDF and keeps only the letterhead, the heading and the closing recommendation with its date. It stops above the greeting, so no signature, no name and no e-mail of the person who signed ever leave the machine. A test checks that the excerpt is on the school and reference pages, and that the name is not.
04A brand drawn by a script
The owner wanted the look of his old business card back: a white BT with a blue outline in front of the Bavarian lozenges. One Python script draws all of it as plain SVG - the logo for light and dark backgrounds, the mark, the small favicon, the repeating lozenge band, the share image and both sides of the business card - with every letter converted to outlines from the site’s own typeface. A second step renders the icons and the share image from those files.
The business card is the same artwork, printed to PDF. The print shop’s upload rejected the first files for their embedded subsets of a variable font, although they were embedded. So the cards carry no font at all now, and the print step fails if a PDF still contains one.
05Decisions worth explaining
The lozenges, and the line not to cross
The white and blue lozenges are covered by a general permission from the Bavarian interior ministry, as long as they are not combined with the crown or other heraldry and do not create an official impression. For a site that applies to public school authorities that second condition is the one that matters, so it is written into the project notes next to the artwork rather than left to taste.
Light only, on purpose
A dark theme was built and removed on the same day: the owner’s family wanted the site light on every device, and the real problem had been a browser extension recolouring it badly. Every page now declares a light-only colour scheme and opts out of that extension and of forced dark modes, and a test keeps it that way. The templates still use theme variables, so a dark version is a swap rather than a rewrite.
TLS 1.2 where the sister site uses 1.3
The same stack runs a neighbouring site at a minimum of TLS 1.3. Here the floor is 1.2, because school and authority networks often sit behind older clients or TLS-inspecting proxies, and a site whose readers cannot open it has failed at the only thing it is for.
Questions about this project?
I am happy to walk through the architecture, the parts that did not work, or the code itself.