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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
header {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.contact-info {
    text-align: right;
}

.contact-info p {
    margin: 3px 0;
    font-size: 0.95rem;
}

/* Navigation */
nav {
    background-color: #e55100;
    padding: 1rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
}

nav a:hover,
nav a:focus {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    outline: none;
    transform: translateY(-2px);
}

nav a:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

/* Main Content */
main {
    padding: 3rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2.2rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #ff6b35;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #ff6b35;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-card ul {
    color: #555;
    padding-left: 20px;
}

.service-card li {
    margin: 5px 0;
}

/* About Section */
.about {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 4rem;
    text-align: center;
}

.about h2 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.experience {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.experience h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 4rem;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
}

.cta-button:hover,
.cta-button:focus {
    transform: scale(1.05);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

.footer-section h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.footer-section p {
    margin: 5px 0;
}

/* Footer and Content Links */
.footer-link,
.content-link {
    color: #ff6b35;
    text-decoration: underline;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.footer-link:hover,
.footer-link:focus,
.content-link:hover,
.content-link:focus {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
    outline: none;
    text-decoration: none;
}

.footer-link:focus,
.content-link:focus {
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.4);
}

/* Legal Links */
.legal-link {
    background: none;
    border: 2px solid transparent;
    color: #ff6b35;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.legal-link:hover,
.legal-link:focus {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
    outline: none;
    text-decoration: none;
    transform: translateY(-1px);
}

.legal-link:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 2rem;
}

.footer-bottom nav {
    background: none;
    padding: 1rem 0 0 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-body h3 {
    color: #ff6b35;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body h4 {
    color: #333;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.close {
    background: none;
    border: 2px solid transparent;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    outline: none;
    transform: scale(1.1);
}

.close:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer-link,
    .content-link,
    .legal-link {
        border: 2px solid currentColor;
    }
    
    nav a {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Kontaktformular Styles */
.contact-options {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ffcccb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
    font-style: italic;
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.privacy-link {
    background: none;
    border: none;
    color: white;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0;
    display: inline;
}

.privacy-link:hover,
.privacy-link:focus {
    color: rgba(255, 255, 255, 0.8);
    outline: none;
}

.submit-button {
    background: white;
    color: #ff6b35;
    border: 2px solid white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 120px;
    font-family: inherit;
    margin-top: 1rem;
    width: 100%;
}

.submit-button:hover,
.submit-button:focus {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.submit-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.direct-contact {
    text-align: center;
    padding: 2rem 1rem;
}

.direct-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.direct-contact p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.direct-contact .cta-button {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.phone-contact {
    margin-top: 1rem;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    min-height: 44px;
    text-align: center;
}

.phone-link:hover,
.phone-link:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
    transform: translateY(-2px);
}

/* Responsive Design für Kontaktformular */
@media (max-width: 1024px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .direct-contact {
        order: -1;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-options {
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
    }
    
    .submit-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Formular-Validierung Styles */
.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: rgba(34, 197, 94, 0.5);
}

.form-group input:required:invalid:not(:focus):not(:placeholder-shown),
.form-group select:required:invalid:not(:focus),
.form-group textarea:required:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

/* Loading state für Submit Button */
.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-button.loading::after {
    content: "...";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Statusnachrichten */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.form-message-success {
    background-color: #10b981;
    color: white;
    border: 2px solid #059669;
}

.form-message-error {
    background-color: #ef4444;
    color: white;
    border: 2px solid #dc2626;
}

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