:root {
    /* Colors */
    --primary-color: #FF7559;
    --text-color: #212023;
    --background-color: #F6F0ED;
    --discord-blue: #5865F2;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-headline: 'Hammersmith One', sans-serif;
    --base-font-size: 22px;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;

    /* Borders */
    --border-radius: 20px;
    --border-radius-small: 15px;
}

body {
    background-color: var(--background-color);
    background-image: url(../../assets/img/paper-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: var(--base-font-size);
    margin: 0;
    padding: 100px 0 0 0;
    overflow-x: hidden;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-headline);
    font-weight: 400; /* Hammersmith One only has regular weight */
    font-size: 72px;
    line-height: normal;
}

.text {
    font-size: 22px;
}

.text strong, strong, b {
    font-weight: 700;
}

.no-break {
    white-space: nowrap;
}

.btn {
    display: flex;
    gap: 14px;
    width: fit-content;
    font-family: var(--font-headline);
    color: var(--background-color);
    background-color: var(--discord-blue);
    border-radius: var(--border-radius);
    padding: 14px 22px;
    corner-shape: squircle;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.btn--header {
    background-color: var(--primary-color);
    border-radius: var(--border-radius-small);
    padding: 10px 18px;
}

.btn--header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 117, 89, 0.3);
}

.img {
    width: 100%;
}

.ul {
    list-style: none;
    padding: 0;
}

.ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}


/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    /* Verlauf von oben nach unten (Beige zu Weiß) */
    background: linear-gradient(180deg,rgba(246, 240, 237, 1) 80%, rgba(246, 240, 237, 0) 100%);
    font-family: var(--font-headline);
    font-size: 16px;
    padding: 20px 0 55px 0;
    width: 100%;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 50px;
}

/* Navigations-Menü */
.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu .link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu .link:hover, 
.nav-menu .link.active {
    color: #ff7e5f;
}
/* Kleiner Punkt unter dem aktiven Link (Home) */
.nav-menu a::after {
    content: '●';
    display: block;
    font-size: 12px;
    line-height: 0;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 7px;
    opacity: 0;
}


.nav-menu a.active::after {
    opacity: 1;
}

/* SECTION */

.section {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 110px;
}

.textblock {
    max-width: 690px;
    position: relative;
    padding: 2rem;
}

.textblock::before {
    content: '';
    position: absolute;
    inset: -2rem;
    background: rgba(246, 240, 237, 0.6);
    mask-image: 
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    z-index: -1;
    border-radius: var(--border-radius);
}

.textblock .h1 {
    margin-bottom: 20px;
}

.textblock .text {
    max-width: 526px;
    margin-bottom: 30px;
}

.imageblock {
    width: 50%;
}

.section--home {
    height: calc(100vh - 150px);
     gap: 0;
}

.section--home .imageblock {
    position: relative;
    height: 100%;
}

.section--home .imageblock .img {
    position: absolute;
    top: 50%;
    transform: translateY(-38%);
    width: 146%;
    max-width: none;
}

/* FOOTER */
.main-footer {
    background-color: rgba(246, 240, 237, 0.95);
    border-top: 1px solid rgba(33, 32, 35, 0.1);
    padding: 30px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-color);
}

.footer-container p {
    margin: 0;
    font-family: var(--font-primary);
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-primary);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

/* LEGAL PAGES */
.legal-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.legal-container {
    max-width: 800px;
    width: 100%;
}

.back-btn {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 16px;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-btn:hover {
    color: var(--primary-color);
}

.legal-content {
    margin-top: 30px;
}

/* RESPONSIVE DESIGN */

/* Tablet (bis 1024px) */
@media (max-width: 1024px) {
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-size: 56px;
    }

    .text {
        font-size: 20px;
    }

    .section {
        gap: 60px;
        padding: 0 30px;
    }

    .nav-menu ul {
        gap: 25px;
    }

    .logo img {
        height: 40px;
    }
}

/* Mobile Landscape & kleines Tablet (bis 768px) */
@media (max-width: 768px) {
    body {
        padding: 80px 0 0 0;
    }

    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-size: 42px;
    }

    .text {
        font-size: 18px;
    }

    .main-header {
        padding: 15px 0 40px 0;
    }

    .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }

    .nav-menu .link {
        font-size: 12px;
    }

    .btn--header {
        display: none;
    }

    .section {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        gap: 40px;
        padding: 60px 20px;
    }

    .section--about {
        flex-direction: column-reverse;
    }

    .textblock {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .textblock .text {
        max-width: 100%;
    }

    .imageblock {
        width: 100%;
        max-width: 500px;
    }

    .section--home {
        height: auto;
        min-height: calc(100vh - 150px);
    }

    .section--home .imageblock {
        position: relative;
        height: 400px;
    }

    .section--home .imageblock .img {
        position: relative;
        transform: none;
        width: 100%;
        top: 0;
    }

    .btn {
        font-size: 16px;
        padding: 12px 18px;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-nav {
        gap: 20px;
    }
}

/* Mobile Portrait (bis 480px) */
@media (max-width: 480px) {
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-size: 32px;
    }

    .text {
        font-size: 16px;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu ul {
        gap: 10px 15px;
    }

    .nav-menu .link {
        font-size: 11px;
    }

    .btn--header {
        font-size: 11px;
        padding: 6px 10px;
    }

    .btn--header img {
        width: 14px;
    }

    .section {
        padding: 40px 15px;
        gap: 30px;
    }

    .section--home .imageblock {
        height: 300px;
    }

    .btn {
        font-size: 18px;
        padding: 10px 16px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .ul li {
        font-size: 16px;
    }

    .ul li img {
        flex-shrink: 0;
    }

    .footer-container {
        font-size: 12px;
    }

    .footer-nav {
        gap: 15px;
    }

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