/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #7c3aed;
    --secondary-dark: #6d28d9;
    --success-color: #16a34a;
    --error-color: #dc2626;
    --warning-color: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
    --box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --box-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

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

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    outline: none;
}

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

.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
    padding: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: var(--white);
    padding: 5rem 1.5rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow-md);
    outline: none;
}

.cta-button:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.cta-button:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.cta-button:active {
    transform: translateY(0);
}

/* ============================================
   SECTION TITLE
   ============================================ */

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gray-900);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 5rem 1.5rem;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    outline: none;
}

.service-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-4px);
}

.service-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-arrow {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits {
    padding: 5rem 1.5rem;
    background-color: var(--gray-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.benefit-card:hover {
    box-shadow: var(--box-shadow-md);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background-color: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--success-color);
    margin: 0 auto 1rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 5rem 1.5rem;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details p {
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.contact-details strong {
    color: var(--gray-900);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--box-shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[type="text"].error,
.form-group input[type="email"].error,
.form-group textarea.error {
    border-color: var(--error-color);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group.checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary-color);
}

.form-group.checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

.required {
    color: var(--error-color);
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    min-height: 1px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background-color: #f0fdf4;
    border: 1px solid #86efac;
    color: var(--success-color);
}

.form-message.error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: var(--error-color);
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

.submit-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    outline: none;
}

.footer-link:hover {
    color: var(--white);
}

.footer-link:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }

    .services,
    .benefits,
    .contact {
        padding: 3rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand h1 {
        font-size: 1.25rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .submit-button {
        padding: 0.625rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.hidden {
    display: none;
}
/* Entfernt jede mögliche Unterstreichung für das Logo */
.brand-link {
    text-decoration: none !important;
    color: inherit !important;
    font-size: 32px;       /* wie dein H1 */
    font-weight: 700;      /* wie dein H1 */
    line-height: 1;        /* gleiche Höhe */
}

/* Auch beim Hover keine Linie */
.brand-link:hover,
.brand-link:visited,
.brand-link:active {
    text-decoration: none !important;
    color: inherit !important;
}