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

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Verhindere horizontales Scrollen */
html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

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

/* Sicherstellen, dass Container auf mobilen Geräten nicht überlaufen */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (min-width: 393px) and (max-width: 430px) {
    .container {
        padding: 0 16px;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Desktop-Ansicht: Container wieder auf 1200px begrenzen */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
        width: 100%;
        margin: 0 auto;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Sehr leichter Hintergrund für Logo im transparenten Header */
.navbar:not(.scrolled) .logo-link {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.875rem;
    color: #000000;
    font-weight: 700;
    white-space: nowrap;
    margin-top: 0.25rem;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Sehr leichter Hintergrund für Links im transparenten Header */
.navbar:not(.scrolled) .nav-link {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    color: var(--text-dark);
}

/* Im gescrollten Zustand keinen Hintergrund */
.navbar.scrolled .nav-link {
    background: transparent;
    backdrop-filter: none;
}

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

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

.navbar:not(.scrolled) .nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Sehr leichter Hintergrund für Hamburger im transparenten Header */
.navbar:not(.scrolled) .hamburger {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
}

/* Fix für mobile Geräte mit dynamischen Browser-Leisten */
@supports (height: 100dvh) {
    .hero {
        height: 100dvh;
    }
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Dunklerer Overlay für mobile Geräte für besseren Kontrast */
@media (max-width: 768px) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .whatsapp-button {
    border-radius: 8px;
    padding: 1rem 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

.hero-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.875rem;
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-indicators .indicator.active {
    background: var(--bg-white);
    width: 30px;
    border-radius: 6px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
    box-sizing: border-box;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.service-card > h3,
.service-card > p,
.service-card > ul {
    padding: 0 2.5rem;
}

.service-card > h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 2.5rem;
}

.service-card > p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card > p:first-of-type {
    margin-top: 0;
}

.service-card > p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.service-card > p em {
    font-style: italic;
    color: var(--text-light);
}

.service-card > ul {
    margin-bottom: 2.5rem;
    margin-top: 1rem;
    flex-grow: 1;
}

/* Footer-Text am unteren Rand ausrichten */
.service-footer-text {
    margin-top: auto;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0 2.5rem;
}

/* Desktop-Ansicht: Optimierungen für große Bildschirme */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
    
    .service-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Sicherstellen, dass alle Sections richtig begrenzt sind */
    .gdp-content-new,
    .gdp-features-content,
    .about-content,
    .contact-content {
        max-width: 100%;
    }
    
    .gdp-features-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    .gdp-features-content {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.2;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

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

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

/* GDP Section */
.gdp-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.gdp-header {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gdp-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.gdp-logo {
    flex-shrink: 0;
}

.gdp-logo img {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.gdp-main-title sup {
    font-size: 0.5em;
    vertical-align: super;
}

.gdp-contact-btn {
    margin: 0;
}

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

.gdp-headline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gdp-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.gdp-separator {
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 2rem;
}

.gdp-text-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.gdp-text-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gdp-text-content p strong {
    font-weight: 600;
    color: var(--text-dark);
}

.gdp-features-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.gdp-features-list li {
    padding: 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0;
}

.gdp-features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.2;
}

.gdp-certifications-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.gdp-certifications-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gdp-certifications-list li {
    padding: 1rem 0;
    padding-left: 3.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.25rem;
    font-weight: 500;
}

.gdp-certifications-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 28px;
    height: 28px;
    border: 3px solid var(--primary-color);
    border-radius: 6px;
    background: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M15 4.5L7.5 12L4.5 9l2.25-2.25L7.5 9L12.75 3.75L15 4.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
}

.gdp-features-section {
    margin-top: 4rem;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.gdp-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.gdp-features-image {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.gdp-features-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.gdp-features-slideshow {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-light);
}

.gdp-features-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
    -webkit-transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    will-change: opacity;
}

.gdp-features-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
}

.gdp-features-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.gdp-features-list-container {
    width: 100%;
    box-sizing: border-box;
}

.gdp-features-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gdp-features-numbered-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gdp-features-numbered-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

.gdp-features-numbered-list li:not(.expandable) {
    flex-direction: row;
}

.gdp-features-numbered-list li:last-child {
    border-bottom: none;
}

.feature-item.expandable {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-item.expandable.expanded {
    flex-direction: column;
    gap: 0;
}

.feature-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.feature-text {
    flex: 1;
    transition: color 0.3s ease;
}

.feature-item.expandable:hover .feature-text {
    color: var(--primary-color);
    font-weight: 600;
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item.expandable:hover .feature-number {
    background: var(--primary-dark);
}

.feature-item.expandable .feature-number span {
    transition: opacity 0.3s ease;
}

.feature-item.expandable:hover .feature-number span {
    opacity: 0;
}

.feature-item.expandable .feature-number::after {
    content: "+";
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-item.expandable:hover .feature-number::after {
    opacity: 1;
}

.feature-item.expandable.expanded:hover .feature-number::after {
    content: "−";
}

.feature-content {
    max-height: 0;
    overflow: hidden;
    transition: none;
    width: 100%;
    opacity: 0;
    padding-left: 0;
    margin-top: 0;
}

.feature-item.expanded .feature-content {
    max-height: 2000px;
    opacity: 1;
    padding-top: 1rem;
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.feature-content-image {
    margin: 0;
    pointer-events: none;
}

.feature-content-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    pointer-events: none;
}

.feature-content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-content-list li {
    padding: 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 1rem;
    border-bottom: none;
}

.feature-content-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-content-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-content-text p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

.feature-content:has(.feature-content-text):not(:has(.feature-content-image)) {
    grid-template-columns: 1fr;
}

.feature-content:has(.feature-content-text):not(:has(.feature-content-image)) .feature-content-text {
    grid-column: 1 / -1;
}

.gdp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.gdp-image {
    position: relative;
}

.gdp-image img {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.gdp-image:hover img {
    transform: scale(1.02);
}

.gdp-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    margin-top: 2rem;
}

.gdp-text h3:first-child {
    margin-top: 0;
}

.gdp-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gdp-badge {
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    width: 200px;
    height: 200px;
}

.gdp-badge-primary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.badge-inner {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.badge-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #1e293b;
    line-height: 1.2;
}

.badge-text sup {
    font-size: 0.5em;
    vertical-align: super;
}

.badge-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    width: 100%;
}

.badge-icons svg {
    color: #64748b;
    width: 14px;
    height: 14px;
}

.gdp-badge-secondary {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #1e293b;
    text-align: center;
    padding: 1.5rem 1rem;
}

.badge-text-small {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.badge-text-large {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.gdp-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.gdp-qualifications {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.qualification-item {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto;
}

.qualification-text {
    text-align: center;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.gdp-certifications {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certification-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

.gdp-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.gdp-features {
    list-style: none;
    margin-top: 1.5rem;
}

.gdp-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.8;
}

.gdp-features li:last-child {
    border-bottom: none;
}

.gdp-features li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.gdp-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.gdp-highlight p {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.gdp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.gdp-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    height: 250px;
}

.gdp-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gdp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gdp-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gdp-gallery-item:hover .gdp-gallery-overlay {
    transform: translateY(0);
}

.gdp-gallery-overlay p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* References Section */
.references-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
}

.reference-item {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    width: 100%;
    max-width: 100%;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.reference-item:has(.reference-link) {
    cursor: pointer;
}

.reference-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.reference-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.reference-item:hover .reference-logo img {
    transform: scale(1.05);
}

.birdaini-logo img {
    max-height: 200px;
    transform: scale(1.3);
}

.reference-item:hover .birdaini-logo img {
    transform: scale(1.35);
}

.sana-logo img {
    max-height: 180px;
    transform: scale(1.2);
}

.reference-item:hover .sana-logo img {
    transform: scale(1.25);
}

.hscommerce-logo img {
    max-height: 180px;
    transform: scale(1.2);
}

.reference-item:hover .hscommerce-logo img {
    transform: scale(1.25);
}

.drperformance-logo {
    background-color: #000000;
    padding: 1rem;
    border-radius: 8px;
}

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

.references-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.references-note p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.references-note code {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

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

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.whatsapp-button-container {
    margin-top: 1rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:active {
    transform: translateY(0);
}

.whatsapp-button svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-button span {
    color: white;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

#form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

#form-message.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-map {
    margin-top: 4rem;
    width: 100%;
}

.contact-map h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design - Tablets (iPad, iPad Pro) */
@media (min-width: 481px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
        padding: 0 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
        padding: 0 2rem;
    }
    
    .gdp-features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 30px;
    }
    
    .gdp-header {
        flex-direction: row;
        align-items: center;
    }
    
    .gdp-main-title {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Mobile Geräte */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    @supports (height: 100dvh) {
        .hero {
            min-height: 100dvh;
        }
    }

    .hero-title {
        font-size: 1.75rem;
        padding: 0 0.75rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 0, 0, 0.4);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        hyphens: auto;
        -webkit-hyphens: auto;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 2.5rem;
        line-height: 1.5;
        text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .hero-content .container {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-buttons .whatsapp-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .about-content,
    .contact-content,
    .gdp-content {
        grid-template-columns: 1fr;
    }
    
    .gdp-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }
    
    .gdp-main-title {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-logo img {
        height: 90px;
        max-width: 225px;
    }
    
    .gdp-headline {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
    
    .gdp-subtitle {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-content-new {
        padding: 0;
    }
    
    .gdp-text-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-features-content {
        padding: 0 16px;
    }
    
    .gdp-gallery {
        grid-template-columns: 1fr;
    }
    
    .gdp-image img {
        height: 300px;
    }
    
    .gdp-badges {
        justify-content: center;
    }
    
    .gdp-badge {
        width: 160px;
        height: 160px;
    }
    
    .badge-inner {
        width: 100px;
        padding: 0.5rem;
    }
    
    .badge-text {
        font-size: 0.95rem;
    }
    
    .qualification-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .qualification-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .reference-item {
        width: 200px;
        padding: 1.5rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .reference-item {
        padding: 2rem;
        min-height: 150px;
    }
    
    .logo-img {
        height: 50px;
        max-width: 200px;
    }
    
    .logo-text {
        font-size: 0.75rem;
        white-space: normal;
        max-width: 200px;
    }
    
    .nav-wrapper {
        padding: 1rem 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card h3 {
        font-size: 1.35rem;
        line-height: 1.2;
        hyphens: none;
        -webkit-hyphens: none;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 90px;
        padding-bottom: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    @supports (height: 100dvh) {
        .hero {
            min-height: 100dvh;
        }
    }
    
    .hero-title {
        font-size: 1.75rem;
        padding: 0 0.75rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 0, 0, 0.5);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.75rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .hero-content .container {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-buttons {
        padding: 0 0.75rem;
        width: 100%;
        max-width: 100%;
        gap: 0.875rem;
        box-sizing: border-box;
    }
    
    .hero-buttons .btn,
    .hero-buttons .whatsapp-button {
        width: 100%;
        max-width: calc(100% - 1.5rem);
        box-sizing: border-box;
    }

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

    .service-card,
    .contact-form {
        padding: 0;
    }
    
    .whatsapp-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .whatsapp-button svg {
        width: 22px;
        height: 22px;
    }
    
    .contact-map {
        margin-top: 3rem;
    }
    
    .contact-map h3 {
        font-size: 1.5rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .service-card > h3,
    .service-card > p,
    .service-card > ul {
        padding: 0 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        line-height: 1.2;
        hyphens: none;
        -webkit-hyphens: none;
        white-space: normal;
    }
    
    .service-card > ul {
        margin-bottom: 1.5rem;
    }
    
    .service-image {
        height: 200px;
    }
    
    .about-img {
        height: 300px;
    }
    
    .gdp-main-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-logo img {
        height: 75px;
        max-width: 180px;
    }
    
    .gdp-headline {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
    }
    
    .gdp-subtitle {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-text-content {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-content-new {
        padding: 0;
    }
    
    .gdp-certifications-box {
        padding: 1.5rem;
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
    }
    
    .gdp-certifications-list li {
        padding-left: 2.5rem;
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-certifications-list li::before {
        width: 20px;
        height: 20px;
        top: 1rem;
        background-size: 12px;
    }
    
    .gdp-features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 12px;
    }
    
    .gdp-features-section {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .gdp-features-slideshow {
        height: 200px;
        margin-top: 1.5rem;
        min-height: 200px;
    }
    
    .gdp-features-slide {
        transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    }
    
    .gdp-features-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-features-numbered-list li {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .feature-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .feature-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .feature-item.expanded .feature-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 0;
    }
    
    .feature-content-text p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Zusätzliche Optimierungen für sehr kleine Bildschirme */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 1.5rem;
        padding: 0 0.75rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 0, 0, 0.5);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 0.75rem;
        margin-bottom: 1.75rem;
        line-height: 1.5;
        text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-content .container {
        padding: 0 0.5rem;
    }
    
    .gdp-features-title {
        font-size: 1.5rem;
    }
    
    .gdp-features-numbered-list li {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }
    
    .feature-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .gdp-gallery-item {
        height: 200px;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-logo-img {
        height: 50px;
        max-width: 200px;
    }
    
    .gdp-features-content {
        padding: 0 10px;
    }
    
    .gdp-certifications-box {
        margin-left: -10px;
        margin-right: -10px;
        padding: 1.25rem;
    }
}

/* Spezielle Optimierungen für iPhone 16 Pro und ähnliche Geräte */
@media (min-width: 393px) and (max-width: 430px) {
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 90px;
        padding-bottom: 110px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    @supports (height: 100dvh) {
        .hero {
            min-height: 100dvh;
        }
    }
    
    .hero-title {
        font-size: 1.65rem;
        padding: 0 0.5rem;
        margin-bottom: 1.25rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        line-height: 1.15;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        line-height: 1.4;
        text-align: center;
    }
    
    .hero-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .hero-content .container {
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-buttons {
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        gap: 0.875rem;
        box-sizing: border-box;
    }
    
    .hero-buttons .btn,
    .hero-buttons .whatsapp-button {
        width: 100%;
        max-width: calc(100% - 1rem);
        box-sizing: border-box;
    }
    
    /* GDP Section Optimierungen */
    .gdp-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .gdp-main-title {
        font-size: 2rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-content-new {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .gdp-headline {
        font-size: 1.5rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0;
    }
    
    .gdp-subtitle {
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0;
    }
    
    .gdp-text-content {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0;
    }
    
    .gdp-text-content p {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .gdp-features-content {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Services Section */
    .services-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* About Section */
    .about-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* Contact Section */
    .contact-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* References */
    .references-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .reference-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Modal Styles */
.modal {
    display: none !important;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.modal.active {
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 2001;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.modal-close:hover {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 1);
}

.modal-body {
    padding: 3rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.modal-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.modal-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid var(--border-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-banner-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Spezifische Styles für Cookie-Banner Buttons */
.cookie-banner-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.cookie-banner-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.cookie-banner-buttons .btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.cookie-banner-buttons .btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.cookie-settings-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.cookie-settings-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }
    
    .cookie-banner-text {
        min-width: 100%;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .cookie-settings-link {
        text-align: center;
        width: 100%;
        display: block;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .modal-body h1 {
        font-size: 2rem;
    }
    
    .modal-body h2 {
        font-size: 1.25rem;
    }
    
    .modal-close {
        top: 0.75rem;
        right: 1rem;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h1 {
        font-size: 1.75rem;
    }
}

