:root {
    --primary-color: #000000;
    --secondary-color: #3C3C3C;
    --background-color: #FFFFFF;
    --accent-color: #93D309;
    --text-light: #FFFFFF;
    --text-dark: #000000;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    text-decoration: underline;
}

/* Outline nur für Tastaturnavigation anzeigen */
a:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

.logo {
    color: var(--primary-color);
    font-size: 62px;
    font-family: 'Soyuz Grotesk', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: bold;
    line-height: 72px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(147, 211, 9, 0.2);
}

.button:focus:not(:focus-visible) {
    outline: none;
}

.button:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(147, 211, 9, 0.1);
}

.contact-button {
    padding: 20px 40px;
    font-size: 18px;
    min-width: 200px;
}

/* Skip-Link für Tastatur-Navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

@media (max-width: 1200px) {
    .button {
        border-radius: 10px;
    }
    
    .contact-button {
        padding: 18px 36px;
        font-size: 16px;
        min-width: 180px;
    }

    .logo {
        font-size: 36px;
        line-height: 54px;
    }
}

@media (max-width: 768px) {
    .button {
        border-radius: 10px;
    }

    .contact-button {
        padding: 16px 32px;
        font-size: 16px;
        min-width: 160px;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .logo {
        font-size: 32px;
        line-height: 48px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .button {
        border-radius: 8px;
    }

    .contact-button {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        min-width: unset;
    }

    .logo {
        font-size: 28px;
        line-height: 42px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .container {
        padding: 0 16px;
    }
}

/* High Contrast Mode Unterstützung */
@media (forced-colors: active) {
    .button {
        border: 2px solid currentColor;
    }
    
    a:focus {
        outline: 2px solid currentColor;
    }
}

/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(147, 211, 9, 0.3);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}