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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* horizontal zentrieren */
    padding: 50px 0px;
}

/* Background image nur für die Hauptseite */
body.index-page {
    background-image:
        linear-gradient(to bottom,
            rgb(80, 77, 77) 0%,
            rgba(0, 0, 0, 0.95) 10%,
            rgba(0, 0, 0, 0.7) 60%,
            rgba(0, 0, 0, 0.3) 80%
        ),
        url('island-background.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.header-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.header-logo a {
    display: block;
    width: 120px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.header-logo a:hover {
    opacity: 1;
}

.header-logo svg {
    width: 100%;
    height: auto;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0px solid white;
    padding: 20px;
}

.main-content.align-top {
    align-items: flex-start;
    padding: 60px 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1.5s ease-in;
}

.container.wide {
    max-width: 900px;
}

.container.left-align {
    text-align: left;
}

.logo {
    margin-bottom: 60px;
}

.logo svg {
    width: 200px;
    height: auto;
}

h1 {
    font-size: 3rem;
    font-weight: 600;              /* leicht fett */
    letter-spacing: 0.01em;
    margin-bottom: 40px;
    line-height: 1.3;

    font-family: 
        "Arial Narrow",
        "Helvetica Neue Condensed",
        "Roboto Condensed",
        "Liberation Sans Narrow",
        Arial,
        Helvetica,
        sans-serif;
}

h1.large {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.content {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2;
    color: #cccccc;
    margin-bottom: 60px;
}

.content p {
    margin-bottom: 30px;
    line-height: 1.4;
}

.content p:last-child {
    margin-bottom: 0;
}

.powered-by {
    font-size: 0.9rem;
    color: #888888;
    margin-top: 50px;
    padding: 20px 0;
}

.powered-by a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.powered-by a:hover {
    border-bottom-color: #ffffff;
}

.back-link {
    display: inline-block;
    color: #888888;
    text-decoration: none;
    margin-bottom: 40px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

.back-link::before {
    content: "← ";
}

/* Impressum Styles */
.impressum-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
}

.impressum-content p {
    margin-bottom: 30px;
}

.impressum-content strong {
    color: #ffffff;
    font-weight: 500;
}

.impressum-content a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.impressum-content a:hover {
    border-bottom-color: #ffffff;
}

/* Datenschutz Styles */
.datenschutz-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cccccc;
}

.datenschutz-content p {
    margin-bottom: 20px;
}

.datenschutz-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.datenschutz-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.datenschutz-content strong {
    color: #ffffff;
    font-weight: 500;
}

.datenschutz-content a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.datenschutz-content a:hover {
    border-bottom-color: #ffffff;
}

.datenschutz-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.datenschutz-content li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 100px 20px;
    font-size: 0.85rem;
    color: #666666;
    border-top: 1px solid #222222;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    margin-top: 10px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-logo {
        top: 20px;
        left: 20px;
    }

    .header-logo a {
        width: 80px;
    }

    .logo svg {
        width: 140px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h1.large {
        font-size: 2rem;
    }

    .content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .datenschutz-content {
        font-size: 0.9rem;
    }

    .main-content.align-top {
        padding: 40px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}