/* ============================================
   NON-CRITICAL CSS - Below the fold content
   ============================================ */

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.partner-badge i,
.partner-badge span {
    color: var(--euronics-yellow);
}

.partner-badge span {
    font-weight: 600;
}

.footer .logo h1 {
    color: var(--euronics-yellow);
}

/* style.css */
.hours-table td.notdienst {
    color: #dc3545;
}
.notdienst-box {
    margin-top: 1rem;
    padding: 10px;
    background: #dc3545;
    border-radius: 5px;
    text-align: center;
}
.emergency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
}

#error-message {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
}
#error-message a {
	color: #721c24; font-weight: bold;
}
.footer-bottom a {
    color: #ccc;
}

.contact-card .small-text {
    font-size: 0.9rem;
}
.ds-content {
	scolor: var(--euronics-blue);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toggle Content Styles */
.toggle-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.toggle-content.active {
    display: block;
    max-height: none;
}
.toggle-button {
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    background: var(--euronics-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    margin: 0 10px 10px 0;
}
.toggle-button:hover {
    background: var(--euronics-dark);
}
.toggle-section {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gray-light);
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--euronics-blue);
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--euronics-yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--euronics-blue);
    font-size: 1.8rem;
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--euronics-blue);
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.service-features {
    list-style: none;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.service-features li::before {
    content: "✓";
    color: var(--euronics-yellow);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.about-content .section-header {
    text-align: center;
	margin-bottom:1rem;
}

.about-text-and-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; /* Vertikale Zentrierung */
}

.about-text {
    grid-column: 1;	
}
.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
	margin-top: 0;
}
.about-image {
    grid-column: 2;
}
.team-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.stat {
    text-align: center;
}
.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--euronics-blue);
    margin-bottom: 0.5rem;
}
.stat p {
    color: var(--text-light);
    font-weight: 500;
}
.certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.cert-badge {
    background: var(--gray-light);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}
.cert-badge i {
    color: var(--euronics-yellow);
}

/* Emergency Section */
.emergency {
    background: var(--error-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.emergency h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.emergency p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.emergency-phone {
    background: var(--white);
    color: var(--error-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}
.emergency-phone:hover,
.emergency-phone:focus {
    transform: scale(1.05);
    outline: 2px solid var(--white);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--gray-light);
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--euronics-blue);
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--euronics-blue);
    border-color: var(--euronics-blue);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] {
    border-color: var(--error-color);
}
textarea {
    resize: vertical;
    min-height: 120px;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.checkbox-group input {
    width: auto;
}
.submit-btn {
    width: 100%;
    background: var(--euronics-yellow);
    color: var(--euronics-blue);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover,
.submit-btn:focus {
    background: #e6c200;
    outline: 2px solid var(--euronics-blue);
}
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--euronics-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.contact-card a {
    color: var(--euronics-blue);
    text-decoration: none;
}
.contact-card a:hover,
.contact-card a:focus {
    text-decoration: underline;
    outline: 2px solid var(--euronics-yellow);
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
}
.hours-table tr {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.hours-table tr:last-child {
    border-bottom: none;
}

/* ARIA Live Region für Formular-Fehlermeldungen */
#form-errors {
    border: 1px solid var(--error-color);
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

/* Legal Section */
.legal {
    padding: 80px 0;
    background: var(--white);
}
.legal h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--euronics-blue);
    margin-bottom: 1rem;
    align-items: center;
    gap: 10px;
}
.legal li {
    margin-left: 2rem;
}
.legal-nav {
    text-align: center;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--euronics-blue);
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--euronics-yellow);
}
.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}
.footer-section a:hover,
.footer-section a:focus {
    color: var(--euronics-yellow);
    outline: 2px solid var(--white);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: var(--euronics-yellow);
    color: var(--euronics-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}
.social-links a:hover,
.social-links a:focus {
    background: #e6c200;
    outline: 2px solid var(--white);
}
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive Design - Additional */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .toggle-button {
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .services,
    .about,
    .contact,
    .legal {
        padding: 60px 0;
    }
}