/* Theme */
:root {
    --color-primary: ;
    --color-secondary: ;
    --color-accent: ;
    --color-heading: #fff;
    --color-text: #ccc;
    --color-bg-0: #282828;
    --color-bg-1: #1d1d1d;
    --color-bg-2: #000;
    --color-border: #ddd;
    --font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
    --padding-global: 4rem;
    --container-width: 87.5rem;
}

/* Resets */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    padding: 0;
    margin: 0;
}
p,
a {
    color: inherit;
}
* {
    box-sizing: border-box;
}
button {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

/* Fonts */
@font-face {
    font-family: Noto Sans;
    src: url(fonts/noto-sans.woff2);
}

/* Background */
.bg-image {
    background: linear-gradient(var(--color-bg-1), var(--color-bg-2));
    background: url('/assets/texture-1.jpg') no-repeat center center;
    background-size: cover;
    position: absolute;
    inset: 0;
    z-index: -1;
    filter: blur(5px) saturate(0);
    transform: scale(1.1);
}
.bg-image:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(var(--color-bg-1), var(--color-bg-2));
    opacity: 0.8;
}

/* Layout */
body {
    overflow: clip;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg-2);
}
.page-wrap {
    height: 100svh;
    display: flex;
    flex-direction: column;
}
header {
    width: 100%;
    max-width: 56rem;
    padding: 2rem 0;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
}
header .glass-bar {
    width: 100%;
}
main {
    flex: 1;
}
main section {
    height: 100%;
    display: flex;
    align-items: center;
}
footer {
    padding: 2rem 0;
}
.u-container {
    width: 100%;
    margin: 0 auto;
    max-width: var(--container-width);

    display: flex;
    flex-direction: column;
    align-items: center;
}
.padding-global {
    padding: 0 var(--padding-global);
}

/* Content */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    letter-spacing: -0.035em;
    line-height: 1.2;
    text-wrap: pretty;
}
.glass-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100vw;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.name {
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}
.menu {
    display: flex;
    font-size: 0.75rem;
}
.menu a,
.menu button {
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 100vw;
    transition: background 100ms ease-in, color 100ms ease-in;
}
.menu a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.menu a:hover,
.menu button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--color-heading);
}
.menu-icon svg {
    height: 1rem;
    width: 1rem;
}
.copyright {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 2rem;
    text-align: center;
}
.logo-icon {
    width: 1.5rem;
    color: var(--color-heading);
    margin-left: 0.75rem;
}
.logo {
    width: 100%;
    max-width: 32rem;
    color: var(--color-heading);
    margin: 6rem -2rem 2rem 0;
}
.slogan {
    font-size: 2rem;
    text-align: center;
}
.nrw-logo {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
}

/* Modal (Dialog) */
.modal {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.5);
    height: 80svh;
    width: 90%;
    max-width: 40rem;
    padding: 0;

    /* Startzustand */
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none; /* blockt Klicks, wenn versteckt */
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Wenn Dialog geöffnet */
.modal[open] {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Chromium-Enhancement (Progressive) */
@starting-style {
    .modal[open] {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Backdrop */
.modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    transition: background 0.25s ease;
}

.modal[open]::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

/* Chromium-Enhancement für Backdrop */
@starting-style {
    .modal[open]::backdrop {
        background: transparent;
    }
}

.modal_inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal_header,
.modal_body,
.modal_footer {
    width: 100%;
    display: flex;
    padding: 1rem 1.25rem;
}
.modal_header {
    justify-content: space-between;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.modal_header button {
    color: #fff;
    background: none;
    border-radius: 100vw;
    transition: background 100ms ease-in, color 100ms ease-in;
}
.modal_header button:hover {
    background: rgba(255, 255, 255, 0.3);
}
.modal_header button svg {
    height: 1.5rem;
    width: 1.5rem;
}
.modal_title {
    color: var(--color-heading);
    font-size: 1.5rem;
    font-weight: 700;
}
.modal_body {
    flex: 1;
    overflow: scroll;
    color: var(--color-text);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex-direction: column;
}
.modal_body strong {
    color: var(--color-heading);
}
.modal h1,
.modal h2,
.modal h3,
.modal h4,
.modal h5,
.modal h6 {
    margin: 1.25rem 0 0.5rem 0;
}
.modal_footer {
    font-size: 0.75rem;
    color: var(--color-text);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.modal_header,
.modal_footer {
    background: rgba(255, 255, 255, 0.1);
}
/* Utilities */
.sr-only {
    position: absolute;
    height: 1px;
    width: 1px;
    top: -99999px;
    left: -99999px;
}
.u-svg {
    display: block;
    width: 100%;
}

/* Mobile */
@media screen and (max-width: 520px) {
    :root {
        --padding-global: 2rem;
    }
    header {
        padding: 1rem 0;
    }
    .slogan {
        font-size: 5vw;
    }
    .name {
        display: none;
    }
    .logo {
		margin-top: 8rem;
        margin-right: -4vw;
    }
}