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

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

/* Verhindert horizontales Scrollen auf allen Geräten */
html, body {
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
}

/* Zusätzliche iPhone-Optimierung */
@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: none;
    }
    
    /* Alle Elemente begrenzen */
    * {
        max-width: 100vw;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* iPhone-Optimierung: Verhindert Überlauf */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-circle:hover {
    background: #1d4ed8;
    transform: scale(1.05) rotate(360deg);
    box-shadow: 0 5px 15px rgba(29, 78, 216, 0.3);
    transition: all 1.2s ease;
}

.logo-inner {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #3b82f6;
    transition: all 0.3s ease;
    gap: 1px;
}

.logo-circle:hover .logo-symbol {
    color: #1d4ed8;
}

.symbol-t {
    margin-right: 0px;
}

.symbol-m {
    margin-left: 0px;
}

.logo-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.logo-circle:hover .logo-ring {
    border-color: rgba(29, 78, 216, 0.6);
}

.logo-text {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.logo-container:hover .logo-text {
    color: #1d4ed8;
}


.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

/* Kontakt Button */
.contact-btn {
    background: #3b82f6;
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid #3b82f6;
    display: inline-block;
    margin-left: 1rem;
    white-space: nowrap;
}

.contact-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.hamburger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
    pointer-events: none;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    color: white;
    position: relative;
    overflow: hidden;
    animation: modernBackgroundShift 30s ease-in-out infinite;
}

@keyframes modernBackgroundShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 0% 0%;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        background-position: 25% 25%, 75% 75%, 25% 25%;
        filter: hue-rotate(15deg) brightness(1.1);
    }
    50% { 
        background-position: 50% 50%, 50% 50%, 50% 50%;
        filter: hue-rotate(30deg) brightness(1.2);
    }
    75% { 
        background-position: 75% 75%, 25% 25%, 75% 75%;
        filter: hue-rotate(15deg) brightness(1.1);
    }
}

.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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Animated Background Elements */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    will-change: transform;
}

/* Modern background effects */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: modernPulse 15s ease-in-out infinite;
    z-index: 1;
}

/* Modern geometric patterns */
.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 100 100"><defs><pattern id="modernGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23modernGrid)"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,12.5 25,22.5 15,30 5,22.5 5,12.5" fill="none" stroke="rgba(255,255,255,0.01)" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
    animation: modernMove 40s linear infinite;
    z-index: 1;
}

@keyframes modernPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes modernMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5px, -3px) rotate(1deg); }
    50% { transform: translate(3px, -5px) rotate(0deg); }
    75% { transform: translate(-3px, 3px) rotate(-1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Animated Code Background */
.code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    animation: codeFloat 20s ease-in-out infinite;
}

.code-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 18px;
    line-height: 1.8;
}

.code-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 5px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.code-dots span:nth-child(2) {
    background: #ffbd2e;
}

.code-dots span:nth-child(3) {
    background: #28ca42;
}

.code-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
}

.code-content {
    padding: 30px;
    color: #f8f8f2;
}

.code-line {
    margin: 12px 0;
    animation: typewriter 0.5s ease-in-out;
    animation-fill-mode: both;
}

.code-line:nth-child(1) { animation-delay: 0s; }
.code-line:nth-child(2) { animation-delay: 0.5s; }
.code-line:nth-child(3) { animation-delay: 1s; }
.code-line:nth-child(4) { animation-delay: 1.5s; }
.code-line:nth-child(5) { animation-delay: 2s; }
.code-line:nth-child(6) { animation-delay: 2.5s; }
.code-line:nth-child(7) { animation-delay: 3s; }
.code-line:nth-child(8) { animation-delay: 3.5s; }
.code-line:nth-child(9) { animation-delay: 4s; }
.code-line:nth-child(10) { animation-delay: 4.5s; }
.code-line:nth-child(11) { animation-delay: 5s; }
.code-line:nth-child(12) { animation-delay: 5.5s; }

.indent { margin-left: 20px; }
.indent-2 { margin-left: 40px; }

.comment { color: #6272a4; }
.keyword { color: #ff79c6; }
.class-name { color: #50fa7b; }
.function { color: #8be9fd; }
.type { color: #8be9fd; }
.string { color: #f1fa8c; }
.parameter { color: #ffb86c; }
.variable { color: #bd93f9; }
.variable-name { color: #f8f8f2; }

@keyframes codeFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-20px) rotate(1deg);
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-10px) rotate(0deg);
        opacity: 0.2;
    }
    75% { 
        transform: translateY(-30px) rotate(-1deg);
        opacity: 0.15;
    }
}

@keyframes typewriter {
    0% { 
        opacity: 0;
        transform: translateX(-20px);
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
    }
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 10%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.particle:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 5%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(6) {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 90%;
    animation-delay: 5s;
    animation-duration: 8s;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    animation: floatShape 12s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.floating-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    border-radius: 30%;
    top: 60%;
    left: 75%;
    animation-delay: 3s;
}

.floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    top: 30%;
    left: 85%;
    animation-delay: 6s;
}

/* Animated Lines */
.animated-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    height: 2px;
    animation: moveLine 15s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.animated-line:nth-child(1) {
    width: 300px;
    top: 25%;
    left: -300px;
    animation-delay: 0s;
}

.animated-line:nth-child(2) {
    width: 200px;
    top: 50%;
    left: -200px;
    animation-delay: 5s;
}

.animated-line:nth-child(3) {
    width: 250px;
    top: 75%;
    left: -250px;
    animation-delay: 10s;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-5px); }
    75% { transform: translateY(-30px) translateX(15px); }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(90deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
    75% { transform: translateY(-40px) rotate(270deg); }
}

@keyframes moveLine {
    0% { transform: translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 300px)); opacity: 0; }
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Larger logo in hero section */
.hero .logo-container {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .logo-circle {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.hero .logo-inner {
    width: 80px;
    height: 80px;
}

.hero .logo-symbol {
    font-size: 2.5rem;
}

.hero .logo-text {
    font-size: 2.5rem;
}

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

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

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

.btn-primary {
    background: #3b82f6;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Hero Pricing */
.hero-pricing {
    margin-top: 2rem;
    text-align: center;
}

.pricing-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-text i {
    color: #60a5fa;
    font-size: 1.1rem;
}

.pricing-text strong {
    color: white;
    font-weight: 600;
}

/* Code Animation */
.code-animation {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.code-line {
    margin: 0.5rem 0;
    color: #f8f8f2;
}

.indent {
    margin-left: 2rem;
}

.keyword {
    color: #ff79c6;
}

.function {
    color: #50fa7b;
}

.string {
    color: #f1fa8c;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

/* Services Pricing */
.services-pricing {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    color: #1e40af;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    border: 1px solid #3b82f6;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.pricing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.pricing-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.pricing-item span {
    flex: 1;
    text-align: left;
}

.pricing-item strong {
    color: #1e3a8a;
    font-weight: 600;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: white;
}

.portfolio .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-disclaimer {
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.portfolio-disclaimer p {
    margin: 0;
    color: #1e40af;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.portfolio-disclaimer i {
    color: #3b82f6;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-disclaimer strong {
    color: #1e3a8a;
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

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

/* App Preview */
.app-preview {
    perspective: 1000px;
    position: relative;
}

.app-preview::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 40px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.app-preview:hover::before {
    opacity: 1;
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d, #1a1a1a);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    transform: rotateY(-12deg) rotateX(8deg);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 8px;
    background: linear-gradient(90deg, #000, #333, #666, #999, #666, #333, #000);
    border-radius: 4px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(255, 255, 255, 0.1);
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #666, #333, #111, #000);
    border-radius: 50%;
    box-shadow: 
        0 0 12px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.12);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.app-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #f8fafc, #ffffff);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        inset 0 3px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.app-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem 1.2rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    letter-spacing: 0.5px;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.app-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* LearnHub Header - Educational Green */
.phone-frame:has(.education-item) .app-header {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

/* FitnessApp Header - Energetic Orange/Red */
.phone-frame:has(.fitness-item) .app-header {
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
}

/* TeamApp Header - Corporate Purple */
.phone-frame:has(.team-item) .app-header {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}



.app-content {
    padding: 1.2rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    position: relative;
}

.app-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    color: #1a202c;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.95));
    margin: 0.8rem 0;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 5px solid #3b82f6;
    font-size: 0.95rem;
    min-height: 50px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    font-weight: 600;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

@keyframes featureFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 0 2px 2px 0;
}

.feature-item:hover {
    transform: translateX(12px) translateY(-4px) scale(1.03);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 1));
    box-shadow: 
        0 12px 35px rgba(59, 130, 246, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 1);
    border-left-color: #1d4ed8;
}

.feature-item:hover i {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item i {
    margin-right: 1rem;
    color: #3b82f6;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
}

/* LearnHub Theme - Educational Green */
.education-item {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(255, 255, 255, 0.9));
    border-left: 4px solid #10b981;
}

.education-item::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.education-item i {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.education-item:hover {
    box-shadow: 
        0 8px 25px rgba(16, 185, 129, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #059669;
}

.education-item:hover i {
    background: linear-gradient(135deg, #059669, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FitnessApp Theme - Energetic Orange/Red */
.fitness-item {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(255, 255, 255, 0.9));
    border-left: 4px solid #f97316;
}

.fitness-item::before {
    background: linear-gradient(180deg, #f97316, #ef4444);
}

.fitness-item i {
    background: linear-gradient(135deg, #f97316, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fitness-item:hover {
    box-shadow: 
        0 8px 25px rgba(249, 115, 22, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #ef4444;
}

.fitness-item:hover i {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* TeamApp Theme - Corporate Purple */
.team-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.9));
    border-left: 4px solid #8b5cf6;
}

.team-item::before {
    background: linear-gradient(180deg, #8b5cf6, #3b82f6);
}

.team-item i {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-item:hover {
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #3b82f6;
}

.team-item:hover i {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Web Preview */
.web-preview {
    perspective: 1000px;
}

.browser-frame {
    width: 320px;
    height: 220px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: rotateY(15deg) rotateX(-5deg);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.browser-frame:hover {
    transform: rotateY(5deg) rotateX(0deg) scale(1.05);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.browser-header {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.browser-dots {
    display: flex;
    gap: 0.6rem;
}

.browser-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-content {
    padding: 1.2rem;
    height: calc(100% - 50px);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.website-mockup {
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mockup-header {
    height: 30px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    position: relative;
}

.mockup-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 60px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.mockup-content {
    padding: 1rem;
}

.mockup-card {
    height: 25px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    margin: 0.6rem 0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.mockup-card::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: #3b82f6;
    border-radius: 3px;
}

.mockup-card:nth-child(2)::before {
    background: #10b981;
}

.mockup-card:nth-child(3)::before {
    background: #f59e0b;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.portfolio-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.skills {
    display: grid;
    gap: 2rem;
}

.skill-category h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-items span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #64748b;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.25rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Group */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkmark {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-text {
    flex: 1;
}

.privacy-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Form validation */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.checkbox-group input:invalid + .checkmark {
    border-color: #ef4444;
}

.checkbox-group input:invalid ~ .checkbox-text {
    color: #ef4444;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 10px;
    color: #2563eb;
}

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

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

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

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

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

.footer-social a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

.footer-legal {
    margin-top: 1rem;
}

.legal-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: white;
}

.separator {
    margin: 0 1rem;
    color: #64748b;
}

/* Impressum Section */
.impressum {
    padding: 100px 0;
    background: #f8fafc;
}

.impressum-content, .datenschutz-content, .agb-content, .cookies-content, .widerruf-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section, .datenschutz-section, .agb-section, .cookies-section, .widerruf-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impressum-section h3, .datenschutz-section h3, .agb-section h3, .cookies-section h3, .widerruf-section h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.impressum-section h4, .datenschutz-section h4, .agb-section h4, .cookies-section h4, .widerruf-section h4 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1rem 0 0.5rem 0;
}

.impressum-section p, .datenschutz-section p, .agb-section p, .cookies-section p, .widerruf-section p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.impressum-section strong, .datenschutz-section strong, .agb-section strong, .cookies-section strong, .widerruf-section strong {
    color: #1e293b;
    font-weight: 600;
}

.datenschutz-section a, .agb-section a, .cookies-section a, .widerruf-section a {
    color: #3b82f6;
    text-decoration: none;
}

.datenschutz-section a:hover, .agb-section a:hover, .cookies-section a:hover, .widerruf-section a:hover {
    text-decoration: underline;
}

.agb-section ul, .cookies-section ul, .widerruf-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.agb-section li, .cookies-section li, .widerruf-section li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    border-top: 3px solid #3b82f6;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #60a5fa;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e1;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-accept {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.cookie-accept:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cookie-decline {
    background: transparent;
    color: #94a3b8;
    border: 2px solid #64748b;
}

.cookie-decline:hover {
    background: #64748b;
    color: white;
    transform: translateY(-2px);
}

.cookie-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
}

/* Hamburger Menu - Immer sichtbar */
.hamburger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
    pointer-events: none;
}

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

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

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



/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation bleibt sichtbar auf mobilen Geräten */
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu a {
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    /* Kontakt Button auf mobilen Geräten */
    .contact-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: auto;
        max-width: none;
        padding: 4px 8px;
        font-size: 0.75rem;
        border-radius: 12px;
    }
    
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1000;
        overflow-y: auto;
        display: flex !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
    }
}

/* Mobile Menu - Immer verfügbar */
.nav-menu {
    position: fixed !important;
    left: -100% !important;
    top: 70px !important;
    flex-direction: column !important;
    background-color: white !important;
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    text-align: center !important;
    transition: left 0.3s ease !important;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05) !important;
    padding: 2rem 0 !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    display: flex !important;
    -webkit-overflow-scrolling: touch !important;
}

.nav-menu.active {
    left: 0 !important;
    display: flex !important;
}

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

.nav-menu a {
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-menu a:hover,
.nav-menu a:active {
    color: #3b82f6;
    background-color: #f8fafc;
}

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

.nav-menu a {
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-menu a:hover,
.nav-menu a:active {
    color: #3b82f6;
    background-color: #f8fafc;
}
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .portfolio-item {
        padding: 1.5rem;
    }
    
    .pricing-text {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .pricing-info {
        gap: 0.8rem;
    }
    
    .pricing-item {
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .pricing-item span {
        text-align: center;
    }
}

/* iPhone-spezifische Optimierungen */
@media screen and (max-width: 480px) {
    /* Verhindert horizontales Scrollen auf iPhone */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
        margin: 0;
        padding: 0;
        /* Verhindert horizontales Scrollen komplett */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: none;
    }
    
    /* Alle Container auf iPhone - schmaler machen */
    .container,
    .hero-container,
    .nav-container,
    .footer-content,
    .contact-content,
    .about-content {
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
        padding-left: 10px;
        padding-right: 10px;
        margin: 0;
    }
    
    /* Navigation schmaler */
    .navbar {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        margin: 0;
    }
    
    /* Hero-Section schmaler */
    .hero {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        margin: 0;
    }
    
    /* Services schmaler */
    .services {
        padding: 40px 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100vw;
        gap: 1rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 1rem;
    }
    
    /* Portfolio schmaler */
    .portfolio {
        padding: 40px 10px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100vw;
        gap: 1rem;
    }
    
    .portfolio-item {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 1rem;
        flex-direction: column;
    }
    
    /* About schmaler */
    .about {
        padding: 40px 10px;
    }
    
    .about-content {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        margin: 0;
    }
    
    /* Contact schmaler */
    .contact {
        padding: 40px 10px;
    }
    
    .contact-content {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        margin: 0;
        grid-template-columns: 1fr;
    }
    
    /* Footer schmaler */
    .footer {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 20px 10px;
    }
    
    .footer-content {
        width: 100%;
        max-width: 100vw;
        padding: 0 10px;
        margin: 0;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Text-Größen anpassen */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Buttons schmaler */
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 10px;
    }
    
    /* Pricing schmaler */
    .pricing-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* Portfolio-Items schmaler */
    .phone-frame {
        width: 180px;
        height: 360px;
    }
    
    .browser-frame {
        width: 250px;
        height: 160px;
    }
    
    /* Formulare schmaler */
    .form-group input,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
    }
}
