:root {
    --color-bg-dark: #202020;
    --color-text-main: #f5f5f4;
    --color-text-muted: #a8a29e;
    --color-accent: #e05818;
    --color-accent-hover: #c94b11;
    --color-border: #303030;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
    padding: 20px;
    text-align: center;
}

.serif {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 300;
}

.sans-uppercase {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
}

.container {
    max-width: 600px;
    width: 100%;
    animation: fadeIn 1s ease-out;
}

.logo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(224, 88, 24, 0.2);
    box-shadow: 0 0 40px rgba(224, 88, 24, 0.15);
    margin: 0 auto 40px auto;
    position: relative;
    overflow: hidden;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-border));
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(30%) saturate(60%) brightness(90%) contrast(115%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 70%);
    transition: all 0.7s;
}

.logo-wrapper:hover .logo-image {
    transform: scale(1.05);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

h1 span {
    font-style: italic;
    color: var(--color-accent);
    font-size: clamp(2rem, 5vw, 4rem);
    display: block;
    letter-spacing: normal;
}

.subtitle {
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    line-height: 1.7;
}

.lead-magnet {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.lead-magnet h3 {
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.lead-magnet p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .signup-form {
        flex-direction: row;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

input[type="email"] {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-main);
    border-radius: 2px;
    outline: none;
    transition: all 0.3s;
}

input[type="email"]:focus {
    border-color: var(--color-accent);
}

button {
    padding: 15px 30px;
    background: transparent;
    border: 1px solid rgba(224, 88, 24, 0.3);
    color: var(--color-text-main);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.5s;
}

button:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(224, 88, 24, 0.2);
    background: rgba(224, 88, 24, 0.05);
}

.contact-info {
    color: var(--color-text-muted);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-accent);
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    width: 100%;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

footer a {
    color: #57534e;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--color-text-main);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------
   Legal Pages (Impressum & Datenschutz)
   ------------------------------------- */
.legal-content {
    text-align: left;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 3rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.legal-content h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--color-accent);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.legal-content h3 {
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-main);
    margin: 2rem 0 0.8rem 0;
}

.legal-content p, .legal-content ul {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--color-text-main);
    font-weight: 500;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-content a:hover {
    color: var(--color-accent-hover);
    border-bottom-color: var(--color-accent-hover);
}

@media (max-width: 600px) {
    .legal-content {
        padding: 1.5rem;
    }
    .legal-content h2 {
        font-size: 1.5rem;
    }
}
