/* CSS Variables für Farbschema */
:root {
    --color-green: #8cc156;
    --color-green-hover: #7ab047;
    --color-orange: #fa7f28;
}

/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-green);
}

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

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23e2e8f0" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    color: var(--color-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.4s forwards;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.6s forwards;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-green);
    color: white;
}

.btn-primary:hover {
    background: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(140, 193, 86, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.btn-secondary:hover {
    background: var(--color-green);
    color: white;
    transform: translateY(-2px);
}

.btn-download {
    background: var(--color-orange);
    color: white;
}

.btn-download:hover {
    background: #e86a1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(250, 127, 40, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e2e8f0;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease 0.8s forwards;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--color-green);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--color-green);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-green);
    border-bottom: 2px solid var(--color-green);
    transform: rotate(45deg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.2s forwards;
}

/* About Section */
.about {
    background: #ffffff;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding-top: 130px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--color-green);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.about-card p {
    color: #6b7280;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.4s; }
.stat-item:nth-child(2) { animation-delay: 0.6s; }
.stat-item:nth-child(3) { animation-delay: 0.8s; }

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Experience Section */
.experience {
    background: #f8fafc;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.qualification-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--color-orange);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.qualification-item:nth-child(1) { animation-delay: 0.1s; }
.qualification-item:nth-child(2) { animation-delay: 0.2s; }
.qualification-item:nth-child(3) { animation-delay: 0.3s; }

.qualification-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.qualification-item p {
    color: #6b7280;
    line-height: 1.7;
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

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

.cert-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.cert-item:nth-child(1) { animation-delay: 0.4s; }
.cert-item:nth-child(2) { animation-delay: 0.5s; }
.cert-item:nth-child(3) { animation-delay: 0.6s; }
.cert-item:nth-child(4) { animation-delay: 0.7s; }
.cert-item:nth-child(5) { animation-delay: 0.8s; }
.cert-item:nth-child(6) { animation-delay: 0.9s; }

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cert-logo {
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cert-logo i {
    color: white;
    font-size: 1.25rem;
}

.cert-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.cert-info p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
    border: 1px solid #e2e8f0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

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

.project-header {
    background: var(--color-green);
    color: white;
    padding: 1.5rem;
}

.project-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-period {
    font-size: 0.875rem;
    opacity: 0.9;
}

.project-content {
    padding: 2rem;
}

.project-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.project-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.project-content li {
    color: #6b7280;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.project-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: bold;
}

.testimonial {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-green);
    margin-top: 1.5rem;
}

.testimonial blockquote {
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-author {
    font-size: 0.875rem;
}

.testimonial-author strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #6b7280;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author a {
    color: var(--color-green);
    text-decoration: none;
}

.testimonial-author a:hover {
    text-decoration: underline;
}

/* Services Section */
.services {
    padding: 5rem 0 8rem 0;
    background: #f8fafc;
    position: relative;
    z-index: 5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Minimal Service Card */
.service-card {
    background: #ffffff;
    padding: 2rem 1.75rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(24px);
    animation: slideUp 0.7s ease forwards;
    border: 1px solid #e5e7eb;
    z-index: 0; /* base stacking context for hover promotion */
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
    border-radius: 16px 16px 0 0;
    z-index: 2; /* ensure card sits above neighbors on hover */
}

/* Dropdown details - minimal */
.service-details {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    padding: 0 1.75rem 1.75rem 1.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    border-top: none;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 3; /* higher than hovered card */
    text-align: left; /* left-align inner content */
}

.service-card:hover .service-details {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.service-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin: 1.25rem 0 1rem 0;
    text-align: left; /* left-align heading */
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.service-details h4::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    margin: 8px 0 0; /* align underline to left */
    background: linear-gradient(90deg, var(--color-green), var(--color-orange));
    border-radius: 1px;
}

.service-details ul {
    list-style: none;
    margin: 0 0 1.25rem 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.service-details li {
    color: #374151;
    position: relative;
    padding: 0.65rem 0.75rem 0.65rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-radius: 8px;
}

.service-details li:hover {
    background: #f7faf7; /* subtle greenish */
    transform: translateX(4px);
}

.service-details li::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
}

/* Price - minimal */
.service-price {
    background: #f8fafc;
    padding: 1.1rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    position: relative;
}

.service-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-orange));
}

.service-price .price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-green);
    display: block;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.service-price .price-unit {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Icon - minimal */
.service-icon {
    width: 72px;
    height: 72px;
    background: var(--color-orange);
    color:#fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 12px rgba(250, 127, 40, 0.25);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(250, 127, 40, 0.25);
    transition: box-shadow 0.35s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(250, 127, 40, 0.3);
}

.service-card:hover .service-icon::after {
    box-shadow: 0 0 0 8px rgba(250, 127, 40, 0.08);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-orange));
    transition: width 0.35s ease;
    border-radius: 1px;
}

.service-card:hover h3::after {
    width: 36px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: #fff;
    color: white;
}

.contact-content {
    display: block;
    width: 100%;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }
.contact-item:nth-child(5) { animation-delay: 0.5s; }

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insurance-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.insurance-link:hover {
    transform: scale(1.1);
}

.insurance-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #6b7280;
}

.contact-details p a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details p a:hover {
    color: #6b7280;
    text-decoration: underline;
}

.contact-link {
    color: var(--color-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-green-hover);
    text-decoration: underline;
}

.calendly-placeholder {
    width: 100%;
    min-height: 600px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.4s forwards;
}

.calendly-placeholder-content {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-green);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1000px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 670px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-logo .logo-text {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 624px) {
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons .btn:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1.25rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-details {
        padding: 0 1.25rem 1.25rem 1.25rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 500px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo .logo-text {
        font-size: 0.95rem;
        max-width: 150px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 1023px) {
    .nav-logo .logo-text, .footer-logo .logo-text {
        font-size: 1rem;
    }
}

/* Language Selector Styles */
.nav-lang-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .nav-lang-selector {
        margin-left: 0.5rem;
    }
    .lang-flag {
        min-width: 28px;
        height: 20px;
        padding: 2px 6px;
        font-size: 0.75rem;
    }
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 4px 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.875rem;
}

.lang-flag:hover {
    opacity: 1;
    transform: scale(1.05);
    background-color: #f8fafc;
}

.lang-flag.active {
    opacity: 1;
    border-color: var(--color-green);
    background-color: #f0f9ff;
    color: var(--color-green);
}

.lang-flag span {
    display: block;
}

/* Language Popup Styles */
.lang-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lang-popup.show {
    opacity: 1;
    visibility: visible;
}

.lang-popup-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lang-popup.show .lang-popup-content {
    transform: scale(1);
}

.lang-popup h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.5rem;
}

.lang-popup p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.lang-popup-flags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.lang-popup-flag {
    cursor: pointer;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.lang-popup-flag:hover {
    border-color: var(--color-green);
    transform: scale(1.05);
    background: #f8fafc;
}

.lang-popup-flag.active {
    border-color: var(--color-green);
    background: #f0f9ff;
}

.lang-popup-flag .lang-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.lang-popup-flag.active .lang-code {
    color: var(--color-green);
}

.lang-popup-flag span:not(.lang-code) {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.lang-popup-flag.active span:not(.lang-code) {
    color: #1f2937;
}

.lang-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.lang-popup-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-popup-btn-primary {
    background: var(--color-green);
    color: white;
}

.lang-popup-btn-primary:hover {
    background: var(--color-green-hover);
}

.lang-popup-btn-secondary {
    background: #e5e7eb;
    color: #1f2937;
}

.lang-popup-btn-secondary:hover {
    background: #d1d5db;
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
    padding: 120px 0 80px 0;
    background: #ffffff;
    min-height: calc(100vh - 70px);
}

.legal-content {
    width: 100%;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.legal-text {
    color: #374151;
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px 0;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-text h2 {
        font-size: 1.25rem;
    }
    
    .legal-text h3 {
        font-size: 1.125rem;
    }
}

