/* ==========================================================================
   YST CI-Guide — Youngstar Travel
   Fonts: Bebas Neue Pro (Bold + Book + Regular) — selbst gehostet
   Farben: aus CI-Guide PDF (exakte HEX-Werte)
   Stand: 2026-02-26
   ========================================================================== */

/* --- @font-face: Bebas Neue Pro Book (Fliesstext, weight 400) --- */
@font-face {
    font-family: "Bebas Neue Pro";
    src: url("./fonts/Bebas-Neue-Pro-Book.woff2") format("woff2"),
         url("./fonts/Bebas-Neue-Pro-Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- @font-face: Bebas Neue Pro Regular (weight 500, Fallback) --- */
@font-face {
    font-family: "Bebas Neue Pro";
    src: url("./fonts/Bebas-Neue-Pro-Regular.woff2") format("woff2"),
         url("./fonts/Bebas-Neue-Pro-Regular.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* --- @font-face: Bebas Neue Pro Bold (Ueberschriften, weight 700) --- */
@font-face {
    font-family: "Bebas Neue Pro";
    src: url("./fonts/Bebas-Neue-Pro-Bold.woff2") format("woff2"),
         url("./fonts/Bebas-Neue-Pro-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- CI-Farben + ACSS-Overrides --- */
:root,
.color-scheme--main {
    /* === YST CI-Farben (Custom Properties) === */
    --yst-blau: #00b0de;
    --yst-schwarz: #1d1d22;
    --yst-schoenfeld-gelb: #ffe57a;
    --yst-koessen-gruen: #52baa3;
    --yst-tauplitzalm-orange: #f08759;
    --yst-gerlosplatte-lavendel: #b299c7;

    /* === ACSS Primary Override: #00b0de (HSL 195 100% 44%) === */
    --primary-hex: #00b0de;
    --primary-hsl: 195 100% 44%;
    --primary-rgb: 0 176 222;
    --primary-r: 0;
    --primary-g: 176;
    --primary-b: 222;
    --primary-h: 195;
    --primary-s: 100%;
    --primary-l: 44%;
    --primary-hover-h: 195;
    --primary-hover-s: 100%;
    --primary-hover-l: 36%;
    --primary-ultra-light-h: 195;
    --primary-ultra-light-s: 100%;
    --primary-ultra-light-l: 95%;
    --primary-light-h: 195;
    --primary-light-s: 100%;
    --primary-light-l: 85%;
    --primary-semi-light-h: 195;
    --primary-semi-light-s: 100%;
    --primary-semi-light-l: 65%;
    --primary-medium-h: 195;
    --primary-medium-s: 100%;
    --primary-medium-l: 50%;
    --primary-semi-dark-h: 195;
    --primary-semi-dark-s: 100%;
    --primary-semi-dark-l: 35%;
    --primary-dark-h: 195;
    --primary-dark-s: 100%;
    --primary-dark-l: 25%;
    --primary-ultra-dark-h: 195;
    --primary-ultra-dark-s: 100%;
    --primary-ultra-dark-l: 10%;
    --primary-comp-h: 15;

    /* === ACSS Font-Familie Override === */
    --f-family: "Bebas Neue Pro", "bebas-neue-pro", sans-serif;
    --heading-font-family: "Bebas Neue Pro", "bebas-neue-pro", sans-serif;
    --heading-font-weight: 700;
    --body-font-weight: 400;
}

/* --- Font-Zuweisung (global, ueberschreibt ACSS + Bricks) --- */
body,
.brxe-text,
.brxe-text-basic,
p, li, td, th, span, label,
input, textarea, select {
    font-family: "Bebas Neue Pro", "bebas-neue-pro", sans-serif !important;
    font-weight: 400;
    color: var(--yst-schwarz);
}

h1, h2, h3, h4, h5, h6,
.brxe-heading,
.bricks-heading,
[class*="heading"],
strong, b,
.brxe-text strong,
.brxe-text b {
    font-family: "Bebas Neue Pro", "bebas-neue-pro", sans-serif !important;
    font-weight: 700;
}

/* --- Link-Farben --- */
a {
    color: var(--yst-blau);
}

a:hover {
    color: hsl(195 100% 36%);
}

/* --- Button-Overrides --- */
.brxe-button,
.bricks-button,
button[type="submit"],
input[type="submit"] {
    background-color: var(--yst-blau) !important;
    border-color: var(--yst-blau) !important;
    color: #fff !important;
}

.brxe-button:hover,
.bricks-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: hsl(195 100% 36%) !important;
    border-color: hsl(195 100% 36%) !important;
}
