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

:root {
    --primary-color: #333;
    --blue-color: #3a7c8b;
    --red-color: #e65c4f;
    --green-color: #4ca66b;
    --purple-color: #8a65a9;
    --teal-color: #42969c;
    --light-gray: #f5f5f5;
    --dark-gray: #444;
    --footer-bg: #3a7c8b;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, .btn-primary, .btn-submit {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

section {
    padding: 60px 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    z-index: 1000;
    max-width: 400px;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.btn-accept {
    background-color: var(--blue-color);
    color: white;
}

.btn-decline {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--blue-color);
}

/* Hero Section */
.hero {
    background-color: white;
    padding: 80px 0;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero .blue {
    color: var(--blue-color);
}

.hero .red {
    color: var(--red-color);
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--red-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #d54b3e;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.services > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--dark-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.service-card p {
    font-size: 14px;
    color: white;
    opacity: 0.9;
}

.blue-bg {
    background-color: var(--blue-color);
}

.green-bg {
    background-color: var(--green-color);
}

.purple-bg {
    background-color: var(--purple-color);
}

.teal-bg {
    background-color: var(--teal-color);
}

/* Team Section */
.team h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.team > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--dark-gray);
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    width: 260px;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Quote Section */
.quote {
    background-color: var(--red-color);
    color: white;
    padding: 60px 0;
}

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

.quote blockquote p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
}

.quote blockquote cite {
    font-style: normal;
    font-size: 16px;
    opacity: 0.8;
}

/* Methodology Section */
.methodology {
    padding: 80px 0;
}

.methodology-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.methodology-image {
    flex: 1;
}

.methodology-image img {
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.methodology-text {
    flex: 1;
}

.methodology-text h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.methodology-text ol {
    padding-left: 20px;
}

.methodology-text ol li {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* Contact Section */
.contact {
    background-color: var(--footer-bg);
    color: white;
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.contact > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

textarea {
    height: 150px;
    resize: none;
}

.btn-submit {
    background-color: var(--red-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    display: block;
    margin: 0 auto;
    font-size: 16px;
    min-width: 200px;
}

.btn-submit:hover {
    background-color: #d54b3e;
}

/* Footer */
footer {
    background-color: #333333;
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

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

.footer-info img {
    width: 24px;
    height: 24px;
}

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

.footer-logo h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links h4,
.footer-rechtliches h4,
.footer-social h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links ul li,
.footer-rechtliches ul li {
    margin-bottom: 8px;
}

.footer-links ul li a,
.footer-rechtliches ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links ul li a:hover,
.footer-rechtliches ul li a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 1;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .about-content,
    .methodology-content {
        flex-direction: column;
    }
    
    .methodology-content {
        flex-direction: column-reverse;
    }
    
    .about-image,
    .methodology-image {
        margin-top: 30px;
    }
    
    .about-text,
    .methodology-text,
    .about-image,
    .methodology-image {
        flex: none;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .team-members {
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .quote blockquote p {
        font-size: 20px;
    }
}

@media screen and (max-width: 576px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info {
        flex-direction: column;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 28px;
    }
}