/* ==========================================================================
   GMM Fassadenbau - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 8rem 0 10rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo-wrapper {
    margin-bottom: 3rem;
}

.logo-wrapper img,
.logo-placeholder {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}

.logo-placeholder {
    filter: brightness(0) invert(1);
}

.hero-title {
    color: var(--color-light);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-diagonal-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent) 15%, transparent 15%);
    z-index: 1;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background-color: #f8f8f8;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background-color: var(--color-light);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-section .diagonal-line {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #f8f8f8;
    padding: 2.5rem;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(35, 31, 32, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.contact-section h2,
.contact-section h3 {
    color: var(--color-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-intro {
    color: var(--color-gray-light);
}

.contact-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.contact-buttons svg {
    flex-shrink: 0;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
}

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

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-privacy-notice {
    margin: 1.5rem 0;
    color: var(--color-gray-light);
}

.form-privacy-notice a {
    color: var(--color-light);
    text-decoration: underline;
}

.form-privacy-notice a:hover {
    color: var(--color-accent);
}

.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.form-message.error {
    background-color: rgba(234, 33, 38, 0.2);
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

/* ==========================================================================
   Location Section
   ========================================================================== */

.location-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.location-section h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.location-map {
    background-color: rgba(255, 255, 255, 0.05);
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem;
    text-align: center;
    color: var(--color-gray-light);
}

.map-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    font-size: 0.875rem;
}

.location-address {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-address address {
    font-style: normal;
    line-height: 1.8;
    color: var(--color-gray-light);
}

.location-address strong {
    color: var(--color-light);
    display: block;
    margin-bottom: 0.5rem;
}

.location-contact p {
    margin-bottom: 0.75rem;
}

.location-contact a {
    color: var(--color-light);
    text-decoration: underline;
}

.location-contact a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--color-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--color-gray-light);
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--color-accent);
}

.footer-company address {
    font-style: normal;
    line-height: 1.8;
    color: var(--color-gray-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .diagonal-line {
    margin: 0 auto 1.5rem;
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    margin: 0;
}

.copyright a {
    color: var(--color-light);
}

/* ==========================================================================
   Legal Pages (Impressum & Datenschutz)
   ========================================================================== */

.page-content {
    padding: 5rem 0;
    min-height: 70vh;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.page-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.page-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.company-info {
    background-color: #f8f8f8;
    padding: 2rem;
    border-left: 4px solid var(--color-accent);
    margin: 2rem 0;
}

.legal-notice {
    background-color: #fff9e6;
    padding: 2rem;
    border-left: 4px solid #ffc107;
    margin-top: 3rem;
}

.legal-notice p {
    margin-bottom: 0;
}

/* ==========================================================================
   Smooth Scroll
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 0 7rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .diagonal-line {
        width: 100px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .hero-section,
    .contact-section,
    .site-footer,
    .back-link {
        display: none;
    }
    
    .page-content {
        padding: 0;
    }
    
    a {
        text-decoration: underline;
    }
}
