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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

.text-list {
    margin: 10px 0 15px;
    padding-left: 20px;
}

.text-list li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 35%;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Logo Wrapper */
.sidebar__logo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

/* Stern (Hintergrund) */
.sidebar__logo-star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    animation: spin 60s linear infinite;
    will-change: transform;
}


/* Vordergrund-Logo */
.sidebar__logo-front {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: auto;
    transform: translate(-50%, -50%);
}


.sidebar__text-box {
    width: 100%;
    padding: 20px;

    text-align: left;
}

.sidebar__heading1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.sidebar__text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.sidebar__list {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-left: 20px;
}

/* Button */
.sidebar__discord-button {
    background-color: rgba(88, 101, 242, 0.15);
    padding: 14px;
    border-radius: 0px;
    margin: 20px;

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

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

/* Icon */
.sidebar__discord-icon {
    width: 42px;
    height: 42px;
}

/* Hover active */
.sidebar__discord-button:hover {
    background-color: rgba(88, 101, 242, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(88, 101, 242, 0.4);
}

.sidebar__discord-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.25);
}

/* Links unten */
.sidebar__footer {
    font-size: 12px;
    opacity: 0.6;
    margin-top: auto;
    margin-left: 20px;
}

.sidebar__link {
    color: white;
    text-decoration: none;
}

.sidebar__link:hover {
    text-decoration: underline;
}

.sidebar__separator {
    margin: 0 6px;
    opacity: 0.6;
}

/* Content */
.content {
    width: 65%;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}
.content::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Form Card */
.form-card {
    background-color: white;
    width: 100%;
    max-width: 420px;
    padding: 35px;
    border-radius: 0px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.form-card__title {
    text-align: center;
    margin-bottom: 25px;
}

/* Form */
.form__group {
    margin-bottom: 18px;
}

.form__label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.form__input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 0px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus {
    outline: none;
    border-color: #4d6cfa;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.form__textarea {
    resize: vertical;
}

/* Button */
.form__button {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 0px;
    border: none;
    background-color: #4d6cfa;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;

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

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

.form__button:hover {
    background-color: #3f5ae0;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(88, 101, 242, 0.4);
}

.form__button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.15);
}

/* Rechtliche Seiten */

.legal-page {
    min-height: 100vh;

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

    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.legal-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    background-size: cover;
}


.legal-container {
    width: 100%;
    padding: 20px;
    z-index: 1;
}

.legal-card {
    background-color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.legal-card p {
    line-height: 1.6;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.legal-card h1 {
    margin-bottom: 20px;
}
.legal-card h2 {
    margin-bottom: 5px;
}

.legal-card a {
    color: #4d6cfa;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-back {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

.legal-card__D {
    background-color: white;
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.legal-card__D p {
    line-height: 1.6;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.legal-card__D h1 {
    margin-bottom: 20px;
}
.legal-card__D h2 {
    margin-bottom: 5px;
}

.legal-card__D a {
    color: #4d6cfa;
    text-decoration: none;
}

.legal-card__D a:hover {
    text-decoration: underline;
}

.legal-back {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
