/* Globale Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --background-color: #f4f6f7;
    --text-color: #2c3e50;
    --white: #ffffff;
}

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

a, a span, a h1, a i {
    cursor: pointer;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}


/* Hero Section */
.hero {
    background-image: url('../../assets/images/Luftbild-Schloss-Karlsruhe-Innenstadt-West.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--secondary-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Services */
.services {
    padding: 80px 20px;
    background-color: var(--white);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header h1 {
    margin-top: 1rem;
    text-align: center;
}

.service-item {
    border-left: 5px solid var(--primary-color);
    background-color: var(--white);
    padding: 1rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 1rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-grid {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    padding: 40px 10vh;
    background-color: var(--background-color);
}

.extra-grid {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    padding: 40px 10vh;
    background-color: var(--background-color);
}

.service-card {
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}



.service-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 35px;
}

.service-card ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.service-card ul li {
    margin: 0px 0;
    color: var(--text-color);
    opacity: 0.8;
}





/* Services Intro */
.services-intro {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 40px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.services-intro.secondary-intro {
    background-color: var(--secondary-color);
}

.services-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-intro-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-intro-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}


@media (max-width: 800px) {
    .services-intro {
        padding: 60px 10px;
    }
    
    .services-intro-content h1 {
        font-size: 2rem;
    }
    
    .services-intro-content p {
        font-size: 1rem;
    }
}

@media (max-width: 428px) {
    .services-intro-content h1 {
        font-size: 1.5rem;
    }
    
    .services-intro-content p {
        font-size: 0.9rem;
    }
}










.features-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.extra-card {
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.extra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.extra-card ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.extra-card ul li {
    margin: 0px 0;
    color: var(--text-color);
    opacity: 0.8;
}

.extra-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.extra-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.extra-card p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 35px;
}

.service-cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}


/* About Us */
.about-content {
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    background-color: var(--background-color);
}

.about-text {
    flex: 1;
    max-width: 700px;
}

.about-content h1 {
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.about-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.secondary-intro {
    background-color: var(--secondary-color);
}

.secondary-cta {
    background-color: var(--secondary-color);
}




.price {
    padding-top: 2rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

.price-cs {
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

p.price {
    margin-bottom: 0px;
}

.price-info {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 0.7rem;
    color: var(--text-color);
}

p.price-info {
    margin-bottom: 0px;
}

.price-container {
    text-align: center;
    margin-top: auto;
}


/* FAQ */
.faq {
    background-color: var(--background-color);
    padding: 80px 20px;
}

.faq h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.faq ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr)); 
    gap: 25px; 
    max-width: 1500px; 
    margin: 0 auto;
}

.faq li {
    border-left: 5px solid var(--secondary-color);
    background-color: var(--white);
    margin-bottom: 15px; 
    padding: 20px;
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.faq li:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}

.faq li h3 {
    margin-bottom: 10px;
}

.faq li p {
    color: var(--text-color); 
    line-height: 1.5;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

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

.about-grid {
    display: flex;
    justify-content: space-evenly;
    gap: 100px;
    padding: 40px 10rem;
    background-color: var(--background-color);
}

.about-card {
    border-left: 5px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}


.about-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-card p {
    text-align: center;
    margin-top: 0;
    margin-bottom: 35px;
}

.about-card ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.about-card ul li {
    margin: 0px 0;
    color: var(--text-color);
    opacity: 0.8;
}









/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}


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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.4s;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}


/* Footer */
.main-footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 10vh;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-column a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding-left: 5rem;
    padding-right: 5rem;
}

.main-logo span{
    color: var(--primary-color);
}



.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    padding-right: 5%;
    font-size: 1.1rem;
}

.main-navigation ul {
    display: flex;
    position: relative; 

    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation ul li ul li {
    font-weight: normal;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}


.main-navigation .dropdown {
    display: none; 
    position: absolute; 
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000; 
}

.main-navigation a:hover::after {
    width: 100%;
}


.main-navigation li:hover .dropdown {
    display: block; 
    margin-top: 0.1rem;
}

.dropdown li {
    padding: 10px 20px; 
}

.dropdown li a {
    color: var(--text-color); 
    text-decoration: none; 
}




/* Team */
.team-intro {
    background-color: var(--secondary-color);
    color: var(--white); 
    padding: 60px 20px; 
    text-align: center; 
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 95%);
    margin-bottom: 40px; 
}


.team-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--white); 
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-section h1 {
    text-align: center;
    color: var(--text-color); 
    margin-bottom: 20px;
}

.team-member {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px; 
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: var(--background-color); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

.team-member:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}

.team-member h2 {
    color: var(--primary-color); 
    margin-bottom: 10px; 
}

.team-member p {
    color: var(--text-color);
    margin: 5px 0; 
}


.logo img {
    height: 50px; 
    margin-right: 2rem; 
}




/* Kontakt */
.contact-section {
    background-color: var(--light-gray); 
    padding: 40px 10vh; 
    border-radius: 8px;
}

.contact-section h1 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px; 
}

.contact-container {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.contact-info {
    text-align: center; 
    margin-bottom: 20px; 
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px 0; 
}

/* Kontaktformular */
.contact-form {
    width: 100%; 
    max-width: 600px; 
    background-color: var(--white); 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.contact-form textarea {
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    font-size: 1em; 
    resize: vertical; 
    min-height: 100px; 
    max-height: 300px; 
    overflow: auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

button.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

button.cta-button:hover {
    background-color: var(--secondary-color);
}


.terms {
    background-color: #f9f9f9;
    padding: 20px;
    margin-left: 10rem;
    margin-right: 10rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.terms h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.terms p {
    font-size: 1em;
    line-height: 1.5;
}

.impressum-section {
    background-color: var(--light-gray);
    padding: 40px 10vh;
    border-radius: 8px;
}

.impressum-section h1 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
}


.impressum-text {
    text-align: center;
    font-size: 1em;
    flex: 1;
}

.impressum-text p {
    padding-bottom: 2rem;
}   


@media (max-width: 1200px) {

    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 20px;
        padding: 40px 10vh;
    }

    .service-card {
        width: 100%;
        margin: 0;
    }

    .extra-grid {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 20px;
        padding: 40px 10vh;
    }

    .extra-card {
        width: 100%;
        margin: 0;
    }

    .faq ul {
        list-style-type: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        gap: 25px;
        max-width: 1000px;
        margin: 0 auto;
    }

}

/* Handy */
@media (max-width: 800px) {
    .hero {
        padding: 60px 10px;
    }

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

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

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services {
        padding: 60px 10px;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .about-content {
        display: grid;
        padding: 20px 10px;
    }

    .about-content h2 {
        font-size: 1.8rem; 
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header {
        padding: 10px 0;
    }

    .main-header {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .main-header h1 {
        font-size: 1.5rem;
    }

    .main-header a {
        font-size: 0.9rem;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 10px;
        text-align: center;
        width: 100%;
        margin: 10px 0;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

  
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 40px 5vh;
    }

    .faq ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        padding: 40px 5vh;
    }

    .service-card {
        width: 100%;
        margin: 0;
    }

    .extra-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 40px 5vh;
    }

    .extra-card {
        width: 100%;
        margin: 0;
    }
    

    .service-item {
        padding: 15px;
        margin: 0;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }


    .about-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 40px 5vh;
    }

    .about-card {
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .about-card h3 {
        font-size: 1.5rem;
    }

    .about-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 428px) {
    .hero h2 {
        font-size: 1.5rem;
    }

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

    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .services h2 {
        font-size: 1.5rem;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .header {
        padding: 5px 0;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 35px;
        padding: 40px;
    }

    
    .faq ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 35px;
        padding: 0px;
    }

    .service-card {
        width: 100%;
        margin: 0;
    }

    .extra-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        padding: 40px;
    }

    .extra-card {
        width: 100%;
        margin: 0;
    }

    .service-item {
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .about-card {
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .about-card p {
        font-size: 0.8rem;
    }




    .main-navigation {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 3rem;
        align-items: center;
        padding: 1rem 2rem;
        padding-right: 1%;
    }
    
    .main-navigation ul {
        display: block;
        position: relative;
        list-style: none;
        gap: 1.5rem;
    }
    
    .main-navigation a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .main-navigation a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    
    .main-navigation .dropdown {
        display: none;
        position: absolute;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .main-navigation a:hover::after {
        width: 100%;
    }
    
    
    .main-navigation li:hover .dropdown {
        display: block;
    }




    .header {
        padding: 10px 0;
    }

    .header-container {
        flex-direction: row;
    }


    .main-footer {
        padding: 1.5rem 0;
    }

    .footer-container {
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem;
    }
}
