/* =========================================================
   HOCKENHEIM-FM
   GLOBAL STYLES
   Basis für alle öffentlichen Seiten
   ========================================================= */


/* RESET */

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 50% 0%,
            #24120a 0,
            #090909 38%,
            #050505 70%
        );

    color: #f2f2f2;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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


/* GLOBALER SEITENCONTAINER */

.section-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: #000;
}

.banner {
    width: 100%;
    overflow: hidden;

    background: #000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.banner img {
    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 20;

    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.98),
            rgba(4, 4, 4, 0.95)
        );

    backdrop-filter: blur(14px);

    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.28);
}

.nav-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 68px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.nav-home {
    position: relative;

    color: #f4f4f4;

    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.5px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-home::after {
    content: ".com";

    color: #ff6a00;
}

.nav-home::before {
    content: "";

    position: absolute;
    left: 0;
    bottom: -9px;

    width: 28px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #ff7b18,
            #d84900
        );

    box-shadow:
        0 0 12px rgba(255, 101, 0, 0.45);
}

.nav-home:hover {
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 34px;
}

.nav-links a {
    position: relative;

    color: #9d9d9d;

    font-size: 14px;
    font-weight: 650;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -9px;

    width: 0;
    height: 2px;

    transform: translateX(-50%);

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #ff7b18,
            #d84900
        );

    transition:
        width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;

    transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* =========================================================
   TYPOGRAFIE
   ========================================================= */

.eyebrow {
    margin-bottom: 9px;

    color: #ff6a00;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.4px;
}

h1,
h2,
h3 {
    line-height: 1.12;
}

h1 {
    font-size: clamp(38px, 5vw, 67px);
    letter-spacing: -2.6px;
}

h2 {
    font-size: clamp(30px, 4vw, 45px);
    letter-spacing: -1.5px;
}

h3 {
    font-size: 22px;
    letter-spacing: -0.6px;
}


/* =========================================================
   GEMEINSAME SECTION-ÜBERSCHRIFT
   ========================================================= */

.section-heading {
    margin-bottom: 35px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
}

.section-link {
    margin-bottom: 5px;

    color: #b5b5b5;

    font-size: 13px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.section-link:hover {
    color: #ff6a00;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #020202;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding: 35px 0 22px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding-bottom: 25px;
}

.footer-brand {
    font-size: 16px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 25px;
}

.footer-links a {
    color: #8c8c8c;

    font-size: 12px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 17px;

    display: flex;
    justify-content: space-between;

    gap: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.055);

    color: #555;

    font-size: 10px;
}

.footer-memory {
    text-align: right;

    font-size: 12px;
}



/* =========================================================
   ACCOUNT-MENÜ
   Rollenabhängiges Menü für eingeloggte Nutzer
   ========================================================= */

.hfm-account-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hfm-account-menu-toggle {
    width: 42px;
    height: 42px;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    color: #fff;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.24);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hfm-account-menu-toggle:hover,
.hfm-account-menu.is-open .hfm-account-menu-toggle {
    border-color: rgba(255, 106, 0, 0.45);

    background:
        linear-gradient(
            180deg,
            rgba(255, 106, 0, 0.13),
            rgba(255, 106, 0, 0.04)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 18px rgba(255, 106, 0, 0.12),
        0 10px 26px rgba(0, 0, 0, 0.3);

    transform: translateY(-1px);
}

.hfm-account-menu-toggle-line {
    width: 18px;
    height: 2px;

    border-radius: 999px;

    background: #f2f2f2;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}

.hfm-account-menu.is-open .hfm-account-menu-toggle-line {
    background: #ff7b18;
}

.hfm-account-menu.is-open .hfm-account-menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hfm-account-menu.is-open .hfm-account-menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.hfm-account-menu.is-open .hfm-account-menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hfm-account-menu-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 100;

    width: min(360px, calc(100vw - 28px));
    max-height: min(82vh, 760px);

    overflow-y: auto;
    overscroll-behavior: contain;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 18, 18, 0.985),
            rgba(7, 7, 7, 0.985)
        );

    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(255, 106, 0, 0.03);

    backdrop-filter: blur(22px);
}

.hfm-account-menu-panel[hidden] {
    display: none;
}

.hfm-account-menu-head {
    padding: 15px 18px 13px;

    display: flex;
    flex-direction: column;

    gap: 2px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hfm-account-menu-head strong {
    color: #fff;

    font-size: 15px;
    font-weight: 800;
}

.hfm-account-menu-head span {
    color: #727272;

    font-size: 11px;

    overflow-wrap: anywhere;
}

.hfm-account-menu-section {
    padding: 7px 10px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hfm-account-menu-section:last-child {
    border-bottom: 0;
}

.hfm-account-menu-section-title {
    padding: 3px 10px 5px;

    color: #ff6a00;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hfm-account-menu-section a,
.hfm-account-menu-section button {
    width: 100%;
    min-height: 34px;

    padding: 9px 10px;

    display: flex;
    align-items: center;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #b6b6b6;

    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;

    cursor: pointer;

    transition:
        color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.hfm-account-menu-section a::after {
    display: none;
}

.hfm-account-menu-section a:hover,
.hfm-account-menu-section button:hover {
    color: #fff;

    background: rgba(255, 255, 255, 0.055);

    transform: translateX(2px);
}

.hfm-account-menu-danger {
    padding-top: 7px;
    padding-bottom: 7px;
}

.hfm-account-menu-danger .hfm-account-menu-delete {
    color: #d66a5f;
}

.hfm-account-menu-danger .hfm-account-menu-delete:hover {
    color: #ff8a7d;

    background: rgba(255, 77, 61, 0.07);
}

.hfm-account-menu-logout {
    color: #9f9f9f;
}

.hfm-account-menu-panel::-webkit-scrollbar {
    width: 8px;
}

.hfm-account-menu-panel::-webkit-scrollbar-track {
    background: transparent;
}

.hfm-account-menu-panel::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;

    background:
        linear-gradient(
            #4b4b4b,
            #2e2e2e
        );

    background-clip: padding-box;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .section-heading {
        gap: 22px;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 650px) {

    .section-inner,
    .nav-inner,
    .footer-inner {
        width: min(100% - 26px, 1180px);
    }

    .nav-inner {
        min-height: 58px;
    }

    .nav-home {
        font-size: 16px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-links a:nth-child(3),
    .nav-links a:nth-child(4) {
        display: none;
    }

    .hfm-account-menu-toggle {
        width: 38px;
        height: 38px;

        border-radius: 10px;
    }

    .hfm-account-menu-panel {
        position: fixed;
        top: 72px;
        right: 13px;

        width: min(360px, calc(100vw - 26px));
        max-height: calc(100vh - 90px);
    }

    h1 {
        font-size: 39px;

        letter-spacing: -1.8px;
    }

    h2 {
        font-size: 32px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

    .footer-main,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-memory {
        text-align: left;
    }
}