        :root {
            /* City of Biel / Bienne — official municipal red */
            --color-label-biel: #DD0B15;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--color-primary-4);
            background-color: var(--color-primary-0);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0; left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            background-image: linear-gradient(var(--color-primary-0), var(--color-primary-2)),
                              url('/resources/Background2.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            filter: grayscale(60%) contrast(25%) brightness(125%) opacity(25%);
            background-blend-mode: multiply;
        }

        /* ── Navigation ─────────────────────────────────────────────────── */
        .top-row {
            display: flex;
            height: 3.8rem;
            background-color: var(--color-primary-0);
            justify-content: space-between;
            align-items: center;
            padding: 0 1.5rem;
            border-bottom: 1px solid var(--color-primary-2);
            z-index: 10;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-box {
            width: 36px;
            height: 36px;
            background-color: var(--color-logo-background);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-image {
            width: 28px;
            height: 28px;
        }

        .logo-text a {
            text-decoration: none;
            color: var(--color-logo-text);
            font-family: 'Museo Modern', sans-serif;
            font-weight: 700;
            font-size: 1.9rem;
            display: flex;
            align-items: center;
            letter-spacing: -0.03em;
        }

        .page-label {
            margin-left: 0.5rem;
            font-size: 1.5rem;
            font-weight: 400;
            font-family: 'Museo Modern', sans-serif;
            display: inline-block;
            transform: translateY(0.1rem);
        }

        .page-label-biel { color: var(--color-label-biel); }

        .nav-right {
            display: flex;
            align-items: center;
        }

        .t2b-logo-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
            text-decoration: none;
        }

        .t2b-logo-image {
            height: 40px;
            width: 80px;
            object-fit: contain;
        }

        /* ── City banner ─────────────────────────────────────────── */
        .city-banner {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            background-color: var(--color-label-biel);
            background-image: linear-gradient(135deg, var(--color-label-biel) 0%, #a80c14 100%);
            color: #ffffff;
            padding: 1.25rem 1.5rem;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .city-banner .coa-image {
            height: 64px;
            width: auto;
            flex-shrink: 0;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        .city-banner .banner-text {
            display: flex;
            flex-direction: column;
            line-height: 1.3;
        }

        .city-banner .banner-city {
            font-family: 'Museo Modern', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -0.02em;
        }

        .city-banner .banner-subtitle {
            font-size: 0.9rem;
            opacity: 0.85;
        }

        /* ── Language hint (inside city banner) ──────────────────────
           Sits flush right so its up-arrow visually points at the
           language bar in the navigation above. */
        .city-banner {
            flex-wrap: wrap;
        }

        .lang-hint {
            margin-left: auto;
            display: flex;
            align-items: center;
            max-width: 26rem;
            font-size: 0.85rem;
            line-height: 1.4;
            text-align: right;
            opacity: 0.92;
        }

        .lang-hint-more {
            display: inline-block;
            padding: 0 0.4em;
            border: 1px solid rgba(255, 255, 255, 0.55);
            border-radius: 4px;
            font-weight: 700;
            line-height: 1.5;
        }

        @media (max-width: 720px) {
            .lang-hint {
                margin-left: 0;
                max-width: none;
                text-align: left;
            }
        }

        /* ── Main layout ─────────────────────────────────────────────────── */
        .container {
            flex: 1;
            max-width: 1000px;
            margin: 0 auto;
            width: 100%;
            padding: 2rem 1.5rem;
        }

        .page-header {
            margin-bottom: 2rem;
        }

        .page-header h1 {
            color: var(--color-primary-4);
            margin-bottom: 0.5rem;
            font-size: 2rem;
        }

        .page-header p {
            color: var(--color-primary-3);
            font-size: 1.1rem;
        }

        /* ── White content card ──────────────────────────────────────────── */
        .content {
            background-color: #f0f0f0;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .content h2 {
            color: var(--color-logo-text);
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            font-size: 1.4rem;
        }

        .content h3 {
            color: var(--color-primary-4);
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .content p {
            color: var(--color-primary-3);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .content a {
            color: var(--color-accent-0);
            text-decoration: none;
            font-weight: 500;
        }

        .content a:hover {
            text-decoration: underline;
        }

        .content hr {
            border: none;
            border-top: 2px solid var(--color-primary-2);
            margin: 2rem 0;
        }

        .content strong {
            color: var(--color-primary-4);
        }

        .placeholder-note {
            color: var(--color-primary-2);
            font-style: italic;
        }

        /* ── Biel app card ───────────────────────────────────────────────── */
        /* two-column layout: left column stacks the app card over the
           sample-chats card, right column holds the screenshots card
           spanning both rows */
        .biel-card-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 400px));
            grid-template-areas:
                'app shots'
                'chats shots';
            justify-content: center;
            align-items: stretch;
            gap: 1.5rem;
            margin: 1.5rem auto;
        }

        .biel-card-row #biel-app-card {
            grid-area: app;
        }

        .biel-card-row .biel-screenshots-card {
            grid-area: shots;
        }

        .biel-card-row .biel-chats-card {
            grid-area: chats;
        }

        @media (max-width: 860px) {
            .biel-card-row {
                grid-template-columns: minmax(0, 400px);
                grid-template-areas:
                    'app'
                    'shots'
                    'chats';
            }
        }

        .biel-card-row .biel-app-card {
            margin: 0;
            max-width: none;
        }

        .biel-chat-link {
            width: fit-content;
            /* never wrap the arrow onto a second line: absolutely positioned
               links near the right edge only have ~25% of the card left, so
               longer translated labels (e.g. "Französisch →") would break */
            white-space: nowrap;
        }

        /* the two chat links sit side by side on one line just below the
           paragraph: German at 1/4 and French at 3/4 width. Height kept tight
           so there is minimal empty space above/below the links. */
        .biel-chat-links {
            position: relative;
            flex: 0 0 auto;
            min-height: 2.75rem;
            margin-top: 0.5rem;
        }

        .biel-chat-links .biel-chat-link {
            position: absolute;
            transform: translate(-50%, -50%);
        }

        .biel-chat-links .biel-chat-link:first-child {
            left: 25%;
            top: 50%;
        }

        .biel-chat-links .biel-chat-link:last-child {
            left: 75%;
            top: 50%;
        }

        a.biel-app-card.biel-link-card {
            text-decoration: none;
            color: inherit;
        }

        /* clickable-card pattern: the card body is a stretched anchor that
           scrolls to the on-page gallery; the small "full page" sub-link
           sits above it with its own href */
        .biel-link-card {
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }

        .biel-card-cta {
            position: static;
        }

        .biel-card-cta::after {
            content: '';
            position: absolute;
            inset: 0;
        }

        .biel-card-sublink {
            position: relative;
            z-index: 1;
            font-size: 0.85rem;
            color: var(--color-primary-3);
            text-decoration: underline;
        }

        .biel-card-sublink:hover {
            color: var(--color-accent-0);
        }

        .biel-app-card {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            background-color: #ffffff;
            border: 1px solid var(--color-primary-2);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem auto;
            max-width: 400px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .biel-app-card:hover {
            border-color: var(--color-accent-0);
            box-shadow: 0 4px 12px rgba(60, 130, 164, 0.15);
            transform: translateY(-2px);
        }

        .biel-app-card-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .biel-app-card-header h3 {
            margin: 0;
            color: var(--color-logo-text);
        }

        .work-in-progress-badge {
            position: absolute;
            top: 10px;
            right: -14px;
            background-color: var(--color-label-biel);
            color: white;
            padding: 0.35rem 0.6rem;
            font-size: 0.66rem;
            font-weight: normal;
            border-radius: 4px;
            transform: rotate(45deg);
            transform-origin: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            white-space: nowrap;
            z-index: 5;
        }

        .content p.status-note {
            color: var(--color-label-biel);
            font-size: 0.9rem;
            text-align: center;
            margin-bottom: 0;
        }

        /* ── Biel screenshot gallery ───────────────────────────────── */
        .biel-gallery {
            margin-top: 1rem;
        }

        .shot-divider {
            margin: 2rem 0;
            border: none;
            border-top: 1px solid var(--color-primary-2);
        }

        .shot-group h3 {
            margin: 0 0 1rem 0;
        }

        .shot-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 1.5rem;
        }

        .biel-shot {
            margin: 0;
            cursor: zoom-in;
        }

        .biel-shot img {
            width: 100%;
            height: auto;
            border: 1px solid var(--color-primary-2);
            border-radius: 6px;
            background-color: #ffffff;
        }

        .biel-shot figcaption {
            display: block;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            color: var(--color-primary-3);
            text-align: justify;
        }

        .biel-shot:hover img {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
        }

        .biel-shot.active-zoom {
            position: fixed;
            inset: 0;
            z-index: 100;
            margin: 0;
            padding: 1.5rem;
            cursor: zoom-out;
            background-color: rgba(0, 0, 0, 0.92);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .biel-shot.active-zoom img {
            /* fill the frame as much as the aspect ratio allows */
            width: 80vw;
            height: auto;
            max-width: 80vw;
            max-height: 80vh;
            object-fit: contain;
            border: 1px solid var(--color-primary-2);
            border-radius: 8px;
            background-color: #ffffff;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        }

        .biel-shot.active-zoom figcaption {
            display: none;
        }

        .biel-zoom-hint {
            display: block;
            margin-top: 0.75rem;
            font-size: 0.85rem;
            color: var(--color-primary-3);
            text-align: center;
            font-style: italic;
        }

        .biel-app-card-header .status-badge {
            flex-shrink: 0;
        }

        .biel-app-card .biel-app-link {
            margin-top: auto;
            display: inline-block;
            color: var(--color-accent-0);
            font-weight: 600;
        }

        a.biel-app-card.biel-link-card:hover .biel-app-link {
            text-decoration: underline;
        }

        .biel-app-link-url {
            white-space: nowrap;
        }

        .status-badge {
            display: none;
            padding: 0.3rem 0.7rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .status-badge.online {
            background-color: #d1e7dd;
            color: #0a3626;
            border: 1px solid #a9d9c3;
        }

        .status-badge.offline {
            background-color: #f8d7da;
            color: #842029;
            border: 1px solid #f5c2c7;
        }

        .status-badge.checking {
            background-color: var(--color-primary-1);
            color: var(--color-primary-3);
            border: 1px solid var(--color-primary-2);
        }

        /* ── Footer ──────────────────────────────────────────────────────── */
        .footer {
            background-color: var(--color-primary-1);
            border-top: 1px solid var(--color-primary-2);
            padding: 1.5rem;
            text-align: center;
            color: var(--color-primary-3);
            font-size: 0.85rem;
            margin-top: auto;
        }

        .footer a {
            color: var(--color-accent-0);
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* ── Responsive ──────────────────────────────────────────────────── */
        @media (max-width: 768px) {
            .top-row    { padding: 0 1rem; height: 3.5rem; }
            .container  { padding: 1.5rem 1rem; }
            .page-header h1 { font-size: 1.5rem; }
            .content    { padding: 1.5rem; }
            .city-banner { padding: 1rem; }
            .city-banner .coa-image { height: 48px; }
            .city-banner .banner-city { font-size: 1.15rem; }
        }

        /* ── Automatic translation (pilot) ───────────────────────────────── */
