/*!
 * flexCSS V1 – projektspezifische Styles für ollis.design
 * Das Framework (flexcss.css) bleibt unverändert. Hier stehen nur
 * Schriften, Token-Überschreibungen und die Bausteine dieser Seite.
 */


/* ========================================
   SCHRIFTEN (lokal, SIL Open Font License)
======================================== */

@font-face {
    font-family: "Londrina Outline";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/londrina-outline/LondrinaOutline-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Heebo";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/heebo/Heebo-VariableFont_wght.woff2") format("woff2");
}


/* ========================================
   DESIGN TOKENS – OLLIS.DESIGN
======================================== */

:root {
    color-scheme: dark;

    /* Grundfarben aus dem Signet */
    --primary: #ffa900;
    --accent: #ffa900;
    --dark: #000204;
    --gold: #b8860b;

    /* Verlauf der Wortmarke */
    --brand-gradient: radial-gradient(circle, #ffa900, #ff6f3f, #eb3d66, #b62b82, #69328c);

    /* Oberflächen und Text */
    --bg-body: #000204;
    --text-title: #efefef;
    --text-body: #efefef;

    /* Schriften */
    --font-primary: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-secondary: "Londrina Outline", "Arial Black", sans-serif;
    --font-body: var(--font-primary);
    --font-heading: var(--font-secondary);
}


/* ========================================
   WORTMARKE MIT VERLAUF
======================================== */

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Schriftgröße folgt der Seitenbreite, damit die Wortmarke immer genau hineinpasst */
.fit-width {
    container-type: inline-size;
}

.brand-title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22.6cqi;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.brand-mail {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 12.9cqi;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mail:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 6px;
    border-radius: 12px;
}


/* ========================================
   BÜHNE: LAUFBAND HINTER DEM SIGNET
======================================== */

.stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    overflow: hidden;
    padding-block: 15px;
}

.marquee {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    rotate: -3deg;
    translate: 0 -50%;
    pointer-events: none;
}

.marquee-track {
    display: inline-block;
    padding-inline: 32px;
    font-family: var(--font-primary);
    font-size: clamp(48px, 18.5px + 5.77vw, 192px);
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--gold);
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.signet-box {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(430px, 100% - 2 * var(--container-gutter));
    aspect-ratio: 1;
    padding: 4%;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

.signet-box img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 479px) {
    .marquee { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}


/* ========================================
   FUSSZEILE UND RECHTSSEITEN
======================================== */

body {
    font-size: max(16px, 1em);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
}

.legal-links a {
    display: inline-block;
    padding: 4px 2px;
    color: var(--text-body);
    opacity: 0.8;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.legal-title {
    display: inline-block;
    background-image: linear-gradient(90deg, #ffa900, #ff6f3f, #eb3d66, #b62b82);
    margin: 0 0 24px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(48px, 8vw, 104px);
    line-height: 1.1;
}

.legal p,
.legal li {
    font-size: max(16px, 1em);
}

.legal h2 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.legal a {
    color: var(--primary);
}

.legal .placeholder {
    color: #1a1a1a;
    background: #ffe27a;
}

.plain-heading {
    font-family: var(--font-primary);
}
