/*
 * The public website of Whookup (ADR 0014): the design system's tokens (docs/brand/design-system.md, the same values
 * as Public/css/whookup.css), a little airier than the admin. Light and dark theme follow the system setting.
 * Nothing moves on its own: the owl blinks once when the pointer is over it, and not at all under
 * prefers-reduced-motion (website concept, chapter 3).
 */

@font-face {
    font-family: "Nunito";
    src: url("/assets/fonts/Nunito-latin.woff2") format("woff2");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/IBMPlexSans-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* ===== tokens ===== */

:root {
    color-scheme: light dark;
    --paper: #f4f5f8;
    --header-ground: #f4f5f8eb;
    --surface: #ffffff;
    --sunken: #eaedf2;
    --line: #d8dce4;
    --line-strong: #7d8799;
    --ink: #1a2332;
    --ink-muted: #4a5466;
    --ink-subtle: #5c6678;
    --owl: #1f2b3e;
    --owl-letters: #1f2b3e;
    /* The navy head behind the owl alone: none on dark grounds, as the owner's reversed mark is drawn (docs/brand). */
    --hoo-face: #1f2b3e;
    /* The white ears of the owner's dark-mode drawings (docs/brand): none on light grounds. */
    --hoo-ears: transparent;
    --cream: #fdf4e7;
    --amber: #f3a535;
    --amber-hover: #e5921a;
    --on-amber: #1a2332;
    --amber-ink: #8a4c00;
    --amber-soft: #fdf0d8;
    --nav: #1f2b3e;
    --nav-ink: #c3ccda;
    --sky: #255f8f;
    --focus-ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--sky);
    --shadow-sm: 0 1px 2px #1a23320f, 0 1px 1px #1a23320a;
    --shadow-md: 0 4px 12px #1a23321f, 0 1px 3px #1a232314;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --font-display: "Nunito", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
    --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --page-max: 1120px;
    --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #10151d;
        --header-ground: #10151deb;
        --surface: #161d28;
        --sunken: #0c1118;
        --line: #263042;
        --line-strong: #68758a;
        --ink: #e5e9f0;
        --ink-muted: #a9b2c0;
        --ink-subtle: #8d97a8;
        --owl-letters: #ffffff;
        --hoo-face: transparent;
        --hoo-ears: #ffffff;
        --amber-hover: #f7b95c;
        --amber-ink: #f4c27a;
        --amber-soft: #33270f;
        --nav: #0b1017;
        --nav-ink: #a9b2c0;
        --sky: #8dc0e8;
        --shadow-sm: 0 1px 2px #00000066;
        --shadow-md: 0 6px 16px #00000099;
    }
}

@media (min-width: 720px) {
    :root {
        --gutter: 32px;
    }
}

/* ===== base ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.15;
    text-wrap: balance;
}

h1 {
    font-size: clamp(34px, 6vw, 56px);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(27px, 4vw, 38px);
}

h3 {
    font-size: 21px;
    font-weight: 800;
}

p {
    margin: 0 0 14px;
}

a {
    color: var(--sky);
    text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

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

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -60px;
    z-index: 30;
    padding: 8px 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
}

.skip-link:focus-visible {
    top: 8px;
}

main {
    flex: 1;
}

.wrap {
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 64px 0;
}

.section--surface {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section__lead {
    max-width: 62ch;
    color: var(--ink-muted);
    font-size: 19px;
}

.small {
    color: var(--ink-muted);
    font-size: 15px;
}

/* ===== buttons ===== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.button--primary {
    background: var(--amber);
    color: var(--on-amber);
}

.button--primary:hover {
    background: var(--amber-hover);
}

.button--secondary {
    border: 1px solid var(--line-strong);
    color: var(--ink);
}

.button--secondary:hover {
    background: var(--sunken);
}

.button--small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 15px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 24px 0 12px;
}

/* ===== header ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--header-ground);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.site-header__bar {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.brand {
    display: block;
    flex: none;
    width: 128px;
}

.site-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.site-nav > a:not(.button) {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.site-nav > a:not(.button):hover {
    text-decoration: underline;
}

.site-nav__wide {
    display: none;
}

@media (max-width: 419px) {
    .brand {
        width: 104px;
    }

    .site-header__bar,
    .site-nav {
        gap: 12px;
    }

    .site-nav .button--small {
        padding: 0 12px;
        font-size: 14px;
    }
}

@media (min-width: 760px) {
    .site-nav__wide {
        display: inline;
    }
}

/*
 * The language switch "DE | EN", drawn like the portal's (`wu-portalheader__lang` in Public/css/whookup.css): two
 * links in a sunken pill, the page's own language raised. In the header and, on the dark ground, in the footer.
 */
.language-switch {
    display: inline-flex;
    flex: none;
    padding: 2px;
    border-radius: var(--radius-full);
    background: var(--sunken);
}

.language-switch__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    border-radius: var(--radius-full);
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.language-switch__option:hover {
    color: var(--ink);
}

.language-switch__option[aria-current="true"] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

/* The phone's header has no room for it beside "Anmelden" and the trial: there, the footer's switch serves. */
.site-header .language-switch {
    display: none;
}

@media (min-width: 480px) {
    .site-header .language-switch {
        display: inline-flex;
    }
}

.site-footer .language-switch {
    margin-top: 16px;
    background: rgb(255 255 255 / 0.1);
}

.site-footer .language-switch__option {
    color: var(--nav-ink);
}

.site-footer .language-switch__option:hover {
    color: #ffffff;
}

.site-footer .language-switch__option[aria-current="true"] {
    background: #ffffff;
    color: var(--nav);
}

/* ===== the owl and the wordmark ===== */

.wm-letters {
    fill: var(--owl-letters);
}

.hoo-face {
    fill: var(--hoo-face);
}

.hoo-ears {
    fill: var(--hoo-ears);
}

/*
 * The header holds both of the owner's wordmarks and shows the one for the theme: the dark one has a larger head
 * without a silhouette, a drawing of its own (docs/brand/whookup-wordmark-reversed.svg), not the light one recolored.
 */
.site-header .wordmark--dark {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .site-header .wordmark--light {
        display: none;
    }

    .site-header .wordmark--dark {
        display: block;
    }
}

.hoo-eye {
    transform-box: fill-box;
    transform-origin: center;
}

.owl {
    width: 96px;
    transform-origin: 50% 80%;
}

.owl--tilted {
    transform: rotate(-8deg);
}

.owl--confused {
    transform: rotate(-14deg);
}

@media (prefers-reduced-motion: no-preference) {
    .brand:hover .hoo-eye,
    .owl:hover .hoo-eye {
        animation: hoo-blink 320ms ease-in-out 1;
    }
}

@keyframes hoo-blink {
    0%,
    100% {
        transform: scaleY(1);
    }

    45%,
    55% {
        transform: scaleY(0.12);
    }
}

/* ===== drafts: everything the owner still decides (ADR 0014) ===== */

[data-draft] {
    outline: 2px dashed var(--amber-ink);
    outline-offset: 4px;
}

[data-draft]::before {
    content: "Entwurf · " attr(data-draft);
    display: inline-block;
    margin-right: 6px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--amber-soft);
    color: var(--amber-ink);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.plans[data-draft]::before {
    grid-column: 1 / -1;
    justify-self: start;
}

.placeholder {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 16px;
    border: 2px dashed var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--sunken);
    color: var(--ink-muted);
    font-size: 15px;
    text-align: center;
}

.shot {
    display: block;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* ===== hero ===== */

.hero {
    padding: 48px 0 56px;
}

.hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: 1.1fr 1fr;
    }
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--amber-ink);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
}

.hero__lead {
    max-width: 52ch;
    color: var(--ink-muted);
    font-size: 19px;
}

.built-by {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.built-by:hover {
    text-decoration: underline;
}

.avatar {
    display: block;
    flex: none;
    width: 48px;
    height: 48px;
    border: 2px solid var(--surface);
    border-radius: var(--radius-full);
    box-shadow: 0 0 0 1px var(--line);
    object-fit: cover;
}

.stage {
    position: relative;
    padding-top: 56px;
}

.stage .owl {
    position: absolute;
    top: 0;
    right: 24px;
    z-index: 1;
    width: 88px;
}

.stage .shot {
    position: relative;
    z-index: 2;
}

.stage .shot img {
    border-radius: 0;
}

.stage .placeholder {
    position: relative;
    z-index: 2;
    min-height: 320px;
    box-shadow: var(--shadow-md);
}

/* ===== Lars ===== */

.hello {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 820px) {
    .hello {
        grid-template-columns: minmax(220px, 1fr) 2fr;
    }
}

.hello__photo {
    position: relative;
    max-width: 320px;
}

.hello__portrait {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.hello__photo .owl {
    position: absolute;
    right: -20px;
    bottom: -18px;
    width: 76px;
}

.hello__promise {
    padding: 14px 18px;
    border-left: 4px solid var(--amber);
    border-radius: var(--radius-sm);
    background: var(--amber-soft);
    font-weight: 600;
}

.hello__text {
    max-width: 60ch;
    font-size: 18px;
}

.signature {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
}

/* ===== steps ===== */

.steps {
    display: grid;
    gap: 24px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

@media (min-width: 900px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: var(--radius-full);
    background: var(--amber);
    color: var(--on-amber);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
}

.step__wink {
    color: var(--ink-muted);
    font-style: normal;
}

.peek {
    position: relative;
    margin-top: 72px;
}

.peek .owl {
    position: absolute;
    top: -52px;
    left: 32px;
    z-index: 1;
    width: 84px;
}

.peek .shot {
    position: relative;
    z-index: 2;
}

.peek .shot img {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.peek .placeholder {
    position: relative;
    z-index: 2;
}

.trailer {
    margin: 48px 0 0;
}

.trailer video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    background: #10151d;
    box-shadow: var(--shadow-md);
}

.trailer figcaption {
    margin-top: 8px;
    color: var(--ink-muted);
    font-size: 15px;
}

/* ===== for whom, reference ===== */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-full);
    background: var(--surface);
    font-size: 15px;
    font-weight: 600;
}

.reference {
    display: grid;
    gap: 16px;
    align-items: center;
    margin-top: 40px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

@media (min-width: 720px) {
    .reference {
        grid-template-columns: 160px 1fr;
    }
}

/* The business's own logo keeps its colors: a white tile, also in the dark theme. */
.reference__logo {
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: var(--radius-md);
    background: #ffffff;
}

.reference__image {
    display: block;
    width: 120px;
    height: auto;
}

.reference__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
}

/* ===== features ===== */

.tiles {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 720px) {
    .tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.tile .shot {
    margin-bottom: 8px;
}

.tile .placeholder {
    min-height: 140px;
    margin-bottom: 8px;
}

.tile p {
    margin: 0;
    color: var(--ink-muted);
}

/* ===== prices ===== */

.plans {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 820px) {
    .plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.plan__price {
    margin: 4px 0 2px;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.1;
}

.plan__terms {
    color: var(--ink-muted);
    font-size: 15px;
}

.plan__monthly {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
}

.plan ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.plan li {
    margin: 6px 0;
}

/* Pro's "Bald verfügbar": what isn't built yet, apart from the plan's features so nothing reads as a promise. */
.plan__soon {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
    color: var(--ink-muted);
    font-size: 15px;
}

.plan__soon-title {
    margin: 0;
    color: var(--amber-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan__soon ul {
    margin-top: 8px;
}

/* Event days: paid per day, not a third subscription, so the card spans both plans below them, on the page's
    ground without a shadow, and says "Bald verfügbar" next to its name. */
.plan--days {
    grid-column: 1 / -1;
    background: var(--paper);
    box-shadow: none;
}

@media (min-width: 820px) {
    .plan--days {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 48px;
        align-items: start;
    }

    .plan--days ul {
        margin-top: 0;
    }
}

.plan__head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.plan__head h3 {
    margin: 0;
}

.plan__badge {
    margin: 0;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    background: var(--amber-soft);
    color: var(--amber-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan__pitch {
    margin: 12px 0 0;
}

/* ===== questions ===== */

.faq {
    max-width: 760px;
    margin-top: 24px;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    padding: 16px 0;
    font-weight: 600;
    cursor: pointer;
}

.faq details p {
    color: var(--ink-muted);
}

/* ===== final call ===== */

.final {
    text-align: center;
}

.final .owl {
    width: 112px;
    margin: 0 auto 12px;
}

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

.reference__quote {
    margin: 12px 0 0;
    padding-left: 12px;
    border-left: 3px solid var(--amber);
}

.reference__said {
    margin: 0 0 4px;
    font-style: italic;
}

.reference__who {
    color: var(--ink-muted);
    font-size: 14px;
}

/* ===== footer ===== */

.site-footer {
    padding: 48px 0 40px;
    background: var(--nav);
    color: var(--nav-ink);
    font-size: 15px;
}

/* The footer's ground is dark in both themes: it shows the dark wordmark in the dark theme's colors. */
.site-footer .wm-letters {
    fill: #ffffff;
}

.site-footer .hoo-ears {
    fill: #ffffff;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:focus-visible {
    box-shadow:
        0 0 0 2px var(--nav),
        0 0 0 4px var(--amber);
}

.site-footer .brand {
    width: 150px;
    margin-bottom: 10px;
}

.site-footer [data-draft]::before {
    background: var(--amber);
    color: var(--on-amber);
}

.site-footer [data-draft] {
    outline-color: var(--amber);
}

.footer__grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 820px) {
    .footer__grid {
        grid-template-columns: 1.4fr 1fr;
    }
}

.footer__claim {
    margin: 4px 0 12px;
    color: var(--nav-ink);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.footer__heading {
    margin: 0 0 10px;
    color: var(--nav-ink);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===== text pages and the 404 ===== */

.text-page {
    max-width: 720px;
    padding: 48px 0 72px;
}

.text-page h2 {
    margin-top: 32px;
    font-size: 24px;
}

/* ===== whookup.app/vereine (ADR 0014: not in the start page's navigation) ===== */

.club-uses,
.club-scope {
    display: grid;
    gap: 12px;
    max-width: 72ch;
    margin: 24px 0;
    padding-left: 20px;
}

.club-note {
    max-width: 72ch;
}

.club-tip {
    max-width: 62ch;
    margin-top: 24px;
    color: var(--ink-muted);
}

/*
 * The club reels are portrait, each as wide as a phone at most: stacked on a phone, side by side from 720px, a little
 * wider on a desktop (owner, 21.10.2026).
 */
.club-videos {
    display: grid;
    gap: 32px;
    margin: 48px 0 0;
}

@media (min-width: 720px) {
    .club-videos {
        grid-template-columns: repeat(2, minmax(0, 360px));
        justify-content: center;
    }
}

.club-video {
    max-width: 360px;
    margin: 0;
}

@media (min-width: 1000px) {
    .club-videos {
        grid-template-columns: repeat(2, minmax(0, 420px));
    }

    .club-video {
        max-width: 420px;
    }
}

.not-found {
    padding: 72px 0 96px;
    text-align: center;
}

.not-found .owl {
    width: 168px;
    margin: 0 auto 24px;
}

.logo-line {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}
