/* Grundlegende Einstellungen */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --menu-transition: 0.3s ease;
}

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

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

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

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 20;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img.header-logo {
    height: 40px;
    width: auto;
}

.logo img {
    height: 40px;
    width: auto;
}

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

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.contact-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
    margin-left: 1rem;
    margin-right: 80px;
}

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

/* Sprach-Flags - Desktop */
.language-switcher {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.flag-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.2s;
    cursor: pointer;
}

.flag-icon:hover {
    transform: scale(1.1);
}

/* Hamburger-Menü */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 30px;
    z-index: 30;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--menu-transition);
}

/* Mobile Navigation */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    transition: all var(--menu-transition);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 30;
    padding: 80px 2rem 2rem;
    transition: right var(--menu-transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.language-switcher-mobile {
    display: flex;
    gap: 15px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

body.menu-open .mobile-nav {
    right: 0;
}

body.menu-open .hamburger-menu span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

body.menu-open .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

body.menu-open .hamburger-menu span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    text-align: left;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 475px;
    width: 100%;
    height: auto;
    max-height: 475px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

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

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Apps Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer Styles */
.footer {
    background-color: #111;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

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

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

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

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 8px;
    color: #bbb;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        justify-content: center;
        padding: 0 60px;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .main-nav {
        display: none;
    }
    
    .contact-btn {
        display: none;
    }
    
    .language-switcher {
        display: none !important;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-image {
        order: 1;
    }
    
    .services-content {
        order: 2;
    }
}

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

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

.services-image img {
    width: 100%;
    height: auto;
    max-width: 475px;
    max-height: 475px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.services-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.services-content p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-image {
        order: 1;
    }
    
    .services-content {
        order: 2;
    }
}

/* Schwarzer Rahmen für die aktive Flagge */
.flag-icon.active {
    border: 2px solid black;
}


