/* =====================================================================
   Gena Software — the whole site's stylesheet.

   Lifted out of index.html so the imprint (and anything after it) can
   share it. Two copies of this would drift the first time a colour
   changed, and the chrome — nav, buttons, footer — is the thing that
   must match exactly from page to page.
   ===================================================================== */

/* =====================================================================
   The two faces, served from this server.

   They used to come from fonts.googleapis.com, which means every visitor's
   IP address reached Google before the page had asked anyone anything.
   Since LG Munchen (20.01.2022) that is the classic German warning-letter
   target, and it was this site's only third-party request -- so hosting
   the files here is what lets the privacy policy say "no data leaves".

   Files and unicode-ranges are Google's own (fonts.gstatic.com), kept to
   the latin and latin-ext subsets: a German page never needs the cyrillic
   or vietnamese cuts, and unicode-range means latin-ext is only fetched
   if a character actually calls for it.

   Licences sit next to the files: Luckiest Guy is Apache-2.0,
   Nunito is SIL OFL 1.1. Both permit exactly this.
   ===================================================================== */


/* Luckiest Guy -- latin */
@font-face {
    font-family: 'Luckiest Guy';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/luckiestguy-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Luckiest Guy -- latin-ext */
@font-face {
    font-family: 'Luckiest Guy';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/luckiestguy-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito -- latin */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/static/fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Nunito -- latin-ext */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/static/fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ===== The Pixel Shuttle palette =====
   Sky and horizon from the menu scene, the six block colours from the
   picture tiles, and one dark INK that outlines everything — the way
   every button, plate and card in the game is drawn. */
:root {
    --ink: #14223a;
    --sky-top: #5fc0f2;
    --sky-mid: #a9e1fb;
    --horizon: #ffe9bf;
    --grass: #6cc24a;
    --grass-dark: #3f8f2a;
    --road: #4f5666;
    --road-dark: #3c4250;
    --cream: #fff4dc;
    --cream-dark: #f0dcb1;
    --teal: #1590b3;
    --teal-dark: #0d6683;

    --green: #3ccf3a;
    --green-dark: #22952a;
    --blue: #1cc2f2;
    --blue-dark: #0b86c0;
    --yellow: #ffcd3a;
    --orange: #ff8d3a;
    --red: #f25563;
    --purple: #9a6be6;

    --face: 'Luckiest Guy', 'Arial Black', sans-serif;
    --body: 'Nunito', -apple-system, 'Segoe UI', sans-serif;

    /* the game's outlined lettering: a solid ink stroke all round and
       a drop of the same ink underneath */
    --outline:
        3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
        2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
        3px 2px 0 var(--ink), -3px 2px 0 var(--ink), 3px -2px 0 var(--ink), -3px -2px 0 var(--ink),
        2px 3px 0 var(--ink), -2px 3px 0 var(--ink), 2px -3px 0 var(--ink), -2px -3px 0 var(--ink),
        0 7px 0 var(--ink), 3px 6px 0 var(--ink), -3px 6px 0 var(--ink);
    --outline-sm:
        2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink),
        2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
        0 4px 0 var(--ink), 2px 4px 0 var(--ink), -2px 4px 0 var(--ink);
}

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

html {
    scroll-behavior: smooth;
    background: var(--road-dark);
}

body {
    font-family: var(--body);
    font-weight: 700;
    color: var(--ink);
    background: var(--sky-mid);
    line-height: 1.55;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Chunky game buttons =====
   The game's long green / blue buttons: a glossy pill, ink outline,
   a lip of ink underneath that the button sinks into when pressed. */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.9rem 0.75rem;
    border: 3px solid var(--ink);
    border-radius: 999px;
    font-family: var(--face);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 0 rgba(20, 34, 58, 0.45);
    background: linear-gradient(180deg, #7af06f 0%, var(--green) 55%, var(--green-dark) 100%);
    box-shadow:
        inset 0 -5px 0 rgba(0, 0, 0, 0.16),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        0 6px 0 var(--ink);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    white-space: nowrap;
}

/* the gloss streak across the top of every button */
/* kept to the left shoulder of the pill, so it never runs through the
   lettering */
.btn::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 9%;
    width: 16%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 -5px 0 rgba(0, 0, 0, 0.16),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        0 8px 0 var(--ink);
}

.btn:active {
    transform: translateY(5px);
    box-shadow:
        inset 0 -3px 0 rgba(0, 0, 0, 0.16),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        0 1px 0 var(--ink);
}

.btn:focus-visible {
    outline: 4px solid #fff;
    outline-offset: 4px;
}

.btn--blue {
    background: linear-gradient(180deg, #7fe3ff 0%, var(--blue) 55%, var(--blue-dark) 100%);
}

.btn--yellow {
    background: linear-gradient(180deg, #ffe58a 0%, var(--yellow) 55%, #e09a12 100%);
    color: var(--ink);
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5);
}

.btn--sm {
    font-size: 1.05rem;
    padding: 0.7rem 1.3rem 0.55rem;
}

.btn--sm::before {
    height: 4px;
    top: 3px;
}

/* ===== Navigation: a floating toy-plate ===== */
nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1160px, calc(100% - 24px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.7rem 0.55rem 1.1rem;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 22px;
    box-shadow: 0 6px 0 var(--ink);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    font-family: var(--face);
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    line-height: 1;
    padding-top: 4px;
    white-space: nowrap;
}

.logo img {
    width: 2.3rem;
    height: 2.3rem;
    margin-top: -4px;
}

.nav-actions {
    display: flex;
    gap: 0.6rem;
}

/* ===== Hero: the sky above the toy town ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 8.5rem 0 7rem;
    background:
        radial-gradient(ellipse 60% 40% at 15% 18%, rgba(255, 255, 255, 0.75), transparent 70%),
        radial-gradient(ellipse 45% 30% at 85% 12%, rgba(255, 255, 255, 0.6), transparent 70%),
        linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 62%, var(--horizon) 100%);
}

/* soft cartoon clouds */
.cloud {
    position: absolute;
    height: 46px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 0 rgba(20, 34, 58, 0.08);
    opacity: 0.95;
    animation: drift 60s linear infinite;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.cloud::before {
    width: 58px;
    height: 58px;
    top: -30px;
    left: 22%;
}

.cloud::after {
    width: 42px;
    height: 42px;
    top: -20px;
    left: 55%;
}

.cloud--1 { width: 150px; top: 22%; left: -10%; }
.cloud--2 { width: 110px; top: 58%; left: -20%; animation-duration: 80s; animation-delay: -30s; transform: scale(0.8); }
.cloud--3 { width: 180px; top: 12%; left: -30%; animation-duration: 95s; animation-delay: -60s; }

@keyframes drift {
    from { translate: 0 0; }
    to { translate: 140vw 0; }
}

/* the picture's pixel blocks, scattered like the crash in the game */
.cube {
    position: absolute;
    width: var(--s, 26px);
    height: var(--s, 26px);
    border-radius: 5px;
    background: var(--c);
    box-shadow:
        inset -4px -4px 0 rgba(0, 0, 0, 0.18),
        inset 4px 4px 0 rgba(255, 255, 255, 0.35),
        0 4px 0 rgba(20, 34, 58, 0.25);
    transform: rotate(var(--r, 12deg));
    animation: bob 5s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    margin-top: 1.4rem;
    font-family: var(--face);
    font-weight: 400;
    font-size: clamp(2.8rem, 6.4vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: var(--outline);
}

.hero h1 .y { color: var(--yellow); }
.hero h1 .g { color: #8af27d; }

.hero p.lead {
    margin-top: 1.4rem;
    max-width: 34rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f3557;
}

.hero-actions {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.1rem;
}

/* the game running on an iPhone (the Smartiqo site's mockup frame) */
.hero-art {
    position: relative;
    justify-self: center;
    width: min(100%, 330px);
}

.phone {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    transform: rotate(4deg);
    filter: drop-shadow(0 22px 30px rgba(20, 34, 58, 0.35));
}

.float {
    position: absolute;
    width: var(--w, 110px);
    filter: drop-shadow(0 8px 0 rgba(20, 34, 58, 0.25));
    animation: bob 4.5s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    z-index: 3;
}

/* ===== The road: cars driving across ===== */
.road {
    position: relative;
    height: 150px;
    background:
        linear-gradient(180deg,
            var(--grass) 0, var(--grass) 18px,
            var(--grass-dark) 18px, var(--grass-dark) 22px,
            #c9ccd3 22px, #c9ccd3 30px,
            var(--road) 30px, var(--road) calc(100% - 30px),
            #c9ccd3 calc(100% - 30px), #c9ccd3 calc(100% - 22px),
            var(--grass-dark) calc(100% - 22px), var(--grass-dark) calc(100% - 18px),
            var(--grass) calc(100% - 18px));
    overflow: hidden;
    border-top: 4px solid var(--ink);
    border-bottom: 4px solid var(--ink);
}

/* the dashed centre line */
.road::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 4px);
    height: 8px;
    background: repeating-linear-gradient(90deg, #fff 0 46px, transparent 46px 92px);
    opacity: 0.9;
}

/* ONE lane. Two lanes on a 150px road shared the same height, so a car
   in one drove straight through a car in the other. All five share
   one loop of the same length and are a fifth of it apart, so they
   keep their distance for ever. */
.car {
    position: absolute;
    bottom: 24px;
    width: 104px;
    left: 100%;
    animation: drive 20s linear infinite;
    animation-delay: var(--d, 0s);
    filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25));
}

/* At least 1500px of road, even on a phone: the cars are spaced by
   TIME (a fifth of 20s), which is 300px apart at that length. */
@keyframes drive {
    from { transform: translateX(0); }
    to { transform: translateX(min(-1500px, calc(-100vw - 220px))); }
}

/* ===== Section heading on the game's teal ribbon ===== */
.ribbon {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 800 / 242;
    margin: 0 auto 2.6rem;
    background: url("/images/game/ribbon.webp") center / contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ribbon h2 {
    font-family: var(--face);
    font-weight: 400;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: var(--outline-sm);
    padding-top: 0.2em;
    margin-top: -0.35em;
}

/* ===== Apps ===== */
.apps {
    position: relative;
    padding: 5rem 0 6rem;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px) 0 0 / 34px 34px,
        linear-gradient(180deg, #8edb6a 0%, var(--grass) 100%);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

/* a game card: coloured frame with a gloss lip, cream panel inside */
.card {
    position: relative;
    padding: 1.4rem;
    border: 4px solid var(--ink);
    border-radius: 30px;
    background: linear-gradient(180deg, var(--c1) 0%, var(--c2) 100%);
    box-shadow:
        inset 0 6px 0 rgba(255, 255, 255, 0.35),
        inset 0 -8px 0 rgba(0, 0, 0, 0.15),
        0 10px 0 var(--ink);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px) rotate(-0.4deg);
}

.card--shuttle {
    --c1: #45a8ff;
    --c2: #1f63d6;
}

.card--smartiqo {
    --c1: #45d7c6;
    --c2: #1a9d9c;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0.4rem 1.2rem;
}

.card-head .app-icon {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    border: 4px solid var(--ink);
    box-shadow: 0 5px 0 var(--ink);
    background: #fff;
    flex-shrink: 0;
}

.card-head h3 {
    font-family: var(--face);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: 0.03em;
    line-height: 1.05;
    color: #fff;
    text-shadow: var(--outline-sm);
    padding-top: 0.15em;
}



.panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 1.5rem 1.6rem;
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 20px;
    box-shadow: inset 0 -5px 0 var(--cream-dark);
}

.panel p {
    font-size: 1.08rem;
    color: #33405a;
}

.panel-foot {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.store-badges img {
    height: 44px;
    width: auto;
}

.text-link {
    font-weight: 800;
    color: var(--teal-dark);
    text-decoration: none;
    border-bottom: 3px solid var(--yellow);
}

.text-link:hover {
    color: var(--ink);
}

.soon {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.1rem 0.45rem;
    background: var(--yellow);
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 0 4px 0 var(--ink);
    font-family: var(--face);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    transform: rotate(-2deg);
}

.soon::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid var(--ink);
    margin-top: -3px;
    animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
    50% { background: #ffd0d4; }
}




.card .deco {
    position: absolute;
    width: 92px;
    right: -26px;
    top: -34px;
    transform: rotate(14deg);
    filter: drop-shadow(0 6px 0 rgba(20, 34, 58, 0.3));
}

/* ===== Contact: the parchment sheet from the settings card ===== */
.contact {
    padding: 5.5rem 0 6rem;
    background: linear-gradient(180deg, var(--grass) 0%, #5ab83c 100%);
}

.sheet {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 3.4rem 2.5rem 3rem;
    text-align: center;
    background: var(--cream);
    border: 10px solid var(--teal);
    border-radius: 34px;
    outline: 4px solid var(--ink);
    box-shadow:
        inset 0 0 0 4px var(--ink),
        inset 0 -10px 0 var(--cream-dark),
        0 14px 0 var(--ink);
}

/* the four screw heads of the game's teal frames */
.sheet .screw {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cfe7ef, #7fa9b8);
    border: 2px solid var(--ink);
}

.sheet .screw::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 5px;
    height: 2px;
    background: var(--ink);
    transform: rotate(-35deg);
}

.screw--tl { top: -13px; left: 18px; }
.screw--tr { top: -13px; right: 18px; }
.screw--bl { bottom: -13px; left: 18px; }
.screw--br { bottom: -13px; right: 18px; }

.sheet h2 {
    font-family: var(--face);
    font-weight: 400;
    font-size: clamp(2rem, 4.4vw, 3rem);
    letter-spacing: 0.03em;
    line-height: 1.05;
    color: var(--orange);
    text-shadow: var(--outline-sm);
}

.sheet p {
    margin: 1.1rem auto 2.1rem;
    max-width: 32rem;
    font-size: 1.15rem;
    color: #33405a;
}

.sheet .coins {
    position: absolute;
    width: 110px;
    left: -46px;
    bottom: -30px;
    transform: rotate(-10deg);
    filter: drop-shadow(0 6px 0 rgba(20, 34, 58, 0.3));
}

.sheet .lolly {
    position: absolute;
    width: 84px;
    right: -34px;
    top: -40px;
    transform: rotate(16deg);
    filter: drop-shadow(0 6px 0 rgba(20, 34, 58, 0.3));
}

/* ===== Footer: down on the asphalt ===== */
footer {
    position: relative;
    background: var(--road-dark);
    color: #e8ecf3;
    padding: 3.5rem 0 2rem;
    border-top: 4px solid var(--ink);
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    height: 6px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0 40px, transparent 40px 80px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
}

footer .logo {
    color: #fff;
    margin-bottom: 0.9rem;
}

footer h3 {
    font-family: var(--face);
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: var(--yellow);
    margin-bottom: 0.8rem;
}

footer p,
footer a {
    display: block;
    color: #c4cad6;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--yellow);
}

footer .logo:hover {
    color: #fff;
}

.copy {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(255, 255, 255, 0.18);
    text-align: center;
    font-size: 0.92rem;
    color: #9aa3b5;
}

/* ===== Smaller screens ===== */
@media (max-width: 900px) {
    .hero {
        padding: 7.5rem 0 5rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-art {
        width: min(78%, 340px);
        margin-top: 1rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .wrap {
        padding: 0 16px;
    }

    nav {
        padding-left: 0.8rem;
    }

    .logo {
        font-size: 1.15rem;
    }

    .logo img {
        width: 1.9rem;
        height: 1.9rem;
    }

    .nav-actions .btn--blue {
        display: none;
    }

    .btn {
        font-size: 1.15rem;
    }

    .card {
        padding: 1rem;
    }

    .card-head .app-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .panel {
        padding: 1.2rem;
    }

    .card .deco {
        width: 70px;
        right: -10px;
        top: -30px;
    }


    .sheet {
        padding: 2.6rem 1.3rem 2.4rem;
        border-width: 8px;
    }

    .sheet .btn {
        font-size: 1rem;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .sheet .coins {
        width: 76px;
        left: -18px;
        bottom: -34px;
    }

    .sheet .lolly {
        width: 60px;
        right: -12px;
        top: -40px;
    }

    .road {
        height: 128px;
    }

    .car {
        width: 84px;
    }
}

/* =====================================================================
   The scene holds still.

   The clouds, cubes, floating food and cars all have idle animations, and
   they only ever ran for visitors whose system does NOT ask for reduced
   motion -- which made the site look like two different sites depending on
   the device. Standing still is the version we want, so it is no longer
   conditional. The keyframes stay defined: turning any of this back on is
   deleting a rule here, not rebuilding the motion.
   ===================================================================== */

.cloud,
.cube,
.float,
.soon::before {
    animation: none;
}

/* parked rather than gone: the road still shows its cars */
.car {
    animation: none;
    left: auto;
    right: var(--park, 20%);
}

/* Parked cars on a phone: five in 390px would touch, three fit. */
@media (max-width: 560px) {
    .car--extra {
        display: none;
    }

    .car:nth-child(1) { right: 6%; }
    .car:nth-child(2) { right: 38%; }
    .car:nth-child(4) { right: 70%; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .card {
        transition: none;
    }
}


/* =====================================================================
   The legal pages (/imprint)

   Long prose on a cream panel, the same card the home page uses, over the
   same sky. Narrower than the home page's 1200px: a wall of German legal
   text at that width is unreadable, and ~70 characters a line is the point
   at which the eye finds the next line without hunting.
   ===================================================================== */

.legal {
    padding: 8.5rem 0 4rem;             /* clears the fixed nav */
    background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 70%);
    min-height: 70vh;
}

.legal .wrap {
    max-width: 820px;
}

.legal-panel {
    padding: 2.2rem 2.4rem 2.6rem;
    background: var(--cream);
    border: 4px solid var(--ink);
    border-radius: 22px;
    box-shadow: 0 10px 0 rgba(20, 34, 58, 0.18);
}

.legal-panel h3 {
    font-family: var(--face);
    font-weight: 400;
    font-size: 1.35rem;
    letter-spacing: 0.03em;
    color: var(--teal-dark);
    margin: 2.1rem 0 0.7rem;
}

.legal-panel h3:first-child {
    margin-top: 0;
}

.legal-panel p {
    font-size: 1.04rem;
    font-weight: 600;
    color: #33405a;
    margin: 0 0 0.9rem;
}

/* "Diensteanbieter" and friends: a label over the block it introduces */
.legal-panel .legal-lead {
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.legal-panel a {
    color: var(--teal-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-panel a:hover {
    color: var(--ink);
}

/* ── Longer legal texts (privacy policies) ───────────────────────────── */

/* the two language buttons under the ribbon */
.legal-switch {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: -1rem 0 2rem;
}

/* the anchors land BELOW the fixed nav, not under it */
.legal-panel[id] {
    scroll-margin-top: 7.5rem;
}

/* ── One language at a time ──
   <main data-lang> holds the choice (set by the page's script); the
   :target rules are the same switch without JavaScript, and stand down
   once the script runs (.js) -- a #de that is still the :target after a
   click on English must not win over that click. */
.legal[data-lang="en"] [data-show="de"],
.legal[data-lang="de"] [data-show="en"] {
    display: none;
}

.legal:not(.js):has(#de:target) #de,
.legal:not(.js):has(#en:target) #en {
    display: block;
}

.legal:not(.js):has(#de:target) #en,
.legal:not(.js):has(#en:target) #de {
    display: none;
}

/* the chosen language is the green button, the other a plain white one */
.legal-switch .btn {
    color: var(--ink);
    text-shadow: none;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
}

.legal-switch .btn[aria-pressed="true"] {
    color: #fff;
    text-shadow: 0 2px 0 rgba(20, 34, 58, 0.45);
    background: linear-gradient(180deg, #7af06f 0%, var(--green) 55%, var(--green-dark) 100%);
}

.legal-title {
    font-family: var(--face);
    font-weight: 400;
    font-size: clamp(1.6rem, 3.6vw, 2.1rem);
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: var(--ink);
    /* "DATENSCHUTZERKLÄRUNG" is wider than a small phone's panel: the
       headings carry a soft hyphen (&shy;), this is the safety net */
    overflow-wrap: break-word;
}



.legal-panel ul {
    margin: 0 0 1rem;
    padding-left: 1.3rem;
}

.legal-panel li {
    font-size: 1.04rem;
    font-weight: 600;
    color: #33405a;
    margin-bottom: 0.45rem;
}

.legal-panel li::marker {
    color: var(--teal);
}

.legal-panel strong {
    color: var(--ink);
    font-weight: 800;
}

@media (max-width: 640px) {
    .legal {
        padding-top: 7rem;
    }

    .legal-panel {
        padding: 1.5rem 1.3rem 1.8rem;
        border-radius: 18px;
    }
}


/* =====================================================================
   The pre-launch page (/coming-soon)

   One screen, no nav, no footer: while the site is closed there is
   nowhere to navigate to. The only two links are the two routes the
   lockdown still lets through, because both are legally required to stay
   reachable -- which is the whole reason they are exempt.
   ===================================================================== */

.launch {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;                 /* not the iOS toolbar-inclusive vh */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background:
        radial-gradient(ellipse 60% 40% at 15% 18%, rgba(255, 255, 255, 0.75), transparent 70%),
        radial-gradient(ellipse 45% 30% at 85% 12%, rgba(255, 255, 255, 0.6), transparent 70%),
        linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 62%, var(--horizon) 100%);
}

/* The hero parks its clouds off the left edge, where the drift animation
   used to bring them in from. Nothing drifts any more, so this page needs
   them placed where they are actually visible. */
.launch .cloud--1 { top: 14%; left: 6%; }
.launch .cloud--2 { top: 70%; left: 12%; }
.launch .cloud--3 { top: 24%; left: auto; right: 4%; }

.launch-inner {
    position: relative;                 /* above the clouds */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.launch-logo {
    color: var(--ink);
    margin-bottom: 2.2rem;
}

.launch-logo img {
    height: 34px;
}

.launch-art {
    width: clamp(96px, 20vw, 150px);
    height: auto;
    margin-bottom: 1.4rem;
    filter: drop-shadow(0 8px 0 rgba(20, 34, 58, 0.18));
}

.launch h1 {
    margin: 0;
    font-family: var(--face);
    font-weight: 400;
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: var(--outline);
}

.launch-lead {
    max-width: 30ch;
    margin: 1.6rem 0 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #33405a;
}

.launch-links {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2.4rem;
    font-weight: 800;
}

.launch-links a {
    color: var(--teal-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.launch-links a:hover {
    color: var(--ink);
}

.launch-links span {
    color: var(--teal-dark);
    opacity: 0.6;
}

.launch-copy {
    margin: 0.9rem 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5878;
}

@media (max-width: 560px) {
    .launch .cloud--2 { display: none; }

    .launch-logo {
        margin-bottom: 1.6rem;
    }
}

/* Very small phones (iPhone SE / mini, 320-380px): the wordmark and the
   nav button no longer fit side by side, so both give a little. */
@media (max-width: 380px) {
    nav .logo {
        font-size: 1rem;
        gap: 0.45rem;
    }

    nav .logo img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .nav-actions .btn {
        font-size: 0.95rem;
        padding: 0.6rem 0.9rem 0.45rem;
    }
}
