:root {
    --primary-color: #3b82f6; 
    --secondary-color: #8b5cf6; 
    --dark-blue: #0f172a; 
    --icon-color: #334155; 
    --text-color: #334155;
    --bg-color: #ffffff;
    --section-bg: #f8fafc;
    --line-color: #e2e8f0;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; overflow-x: hidden; }

/* ----- NAVIGATION ----- */
header {
    background-color: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(15px);
    position: fixed; top: 0; width: 100%; 
    height: 95px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; z-index: 1000;
}

.logo { display: flex; align-items: center; z-index: 1001; text-decoration: none; }
.logo img { height: 80px; width: auto; object-fit: contain; }

.menu-toggle { display: none; width: 24px; height: 18px; position: relative; cursor: pointer; z-index: 1001; }
.menu-toggle span { display: block; position: absolute; height: 2px; width: 100%; background: var(--dark-blue); border-radius: 2px; opacity: 1; left: 0; transition: 0.3s ease-in-out; }
.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 8px; }
.menu-toggle span:nth-child(3) { top: 16px; }

.menu-toggle.open span:nth-child(1) { top: 8px; transform: rotate(135deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; left: -20px; }
.menu-toggle.open span:nth-child(3) { top: 8px; transform: rotate(-135deg); }

nav ul { list-style: none; display: flex; gap: 30px; }
nav ul li a { text-decoration: none; color: #475569; font-weight: 600; font-size: 16px; transition: color 0.3s ease; }
nav ul li a:hover { color: var(--primary-color); }

/* ----- ALLGEMEINE SEKTIONEN ----- */
section { padding: 120px 5% 100px 5%; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.container { max-width: 1100px; width: 100%; text-align: center; position: relative; z-index: 2; }
h2 { font-size: 40px; margin-bottom: 20px; font-weight: 800; color: var(--dark-blue); }
.subtitle { font-size: 18px; color: #64748b; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }

@keyframes float { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(40px) scale(1.1); } }
@keyframes pulse-slow { 0% { transform: scale(1) translate(0, 0); opacity: 0.3; } 100% { transform: scale(1.1) translate(20px, 20px); opacity: 0.5; } }
@keyframes pulse-size { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; } 100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; } }

/* ====== HIER BEGINNT DIE NEUE ÄNDERUNG: Puls-Animation für Button-Glow ====== */
@keyframes glow-pulse {
    0% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 50px rgba(255, 255, 255, 0.7), 0 0 70px rgba(0, 242, 254, 0.4); }
    100% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5); }
}
/* ====== HIER ENDET DIE ÄNDERUNG ====== */

#start { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 95px; }
.hero-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.glow-orb-1, .glow-orb-2 { position: absolute; border-radius: 50%; filter: blur(120px); z-index: 1; pointer-events: none; }
.hero-content-wrapper { position: relative; z-index: 2; padding: 40px; border-radius: 24px; transition: all 0.5s ease; max-width: 850px; margin: 0 auto; text-align: center; }
.slogan { font-size: 60px; font-weight: 900; line-height: 1.1; margin-bottom: 30px; letter-spacing: -1px; }
.slogan-sub { font-size: 20px; margin-bottom: 50px; font-weight: 300; line-height: 1.6; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

.btn { display: inline-block; padding: 16px 40px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 16px; transition: all 0.3s ease; }
.btn-primary { background-color: #3b82f6; color: #fff; box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4); }
.btn-primary:hover { transform: translateY(-4px); background-color: #2563eb; box-shadow: 0 15px 30px rgba(59, 130, 246, 0.6); }
.btn-secondary { background-color: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(5px); }
.btn-secondary:hover { border-color: #fff; background-color: rgba(255,255,255,0.1); }

/* VARIANTE 1: Cyan / Ocean Grid */
.hero-variant-1 { background-color: #0f172a; color: white; }
.hero-variant-1 .hero-grid { background-image: linear-gradient(rgba(0, 242, 254, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 242, 254, 0.25) 1px, transparent 1px); background-size: 50px 50px; transform: perspective(500px) rotateX(60deg); transform-origin: bottom; top: auto; bottom: 0; height: 200%; }
.hero-variant-1 .glow-orb-1 { width: 500px; height: 500px; background: #00f2fe; top: 10%; left: 50%; transform: translateX(-50%); opacity: 0.15; filter: blur(120px); }
.hero-variant-1 .glow-orb-2 { display: none; }
.hero-variant-1 .hero-content-wrapper { background: transparent; }
.hero-variant-1 .slogan { letter-spacing: 1px; }
.hero-variant-1 .slogan span { color: #00f2fe; text-shadow: 0 0 6px rgba(0,242,254,0.4); } /* Reduzierter Glow */
.hero-variant-1 .slogan-sub { color: #cbd5e1; }

/* ====== HIER BEGINNT DIE NEUE ÄNDERUNG: Weißer Button mit extremem Glow ====== */
.hero-variant-1 .btn-primary { 
    background-color: #ffffff; 
    color: #0f172a; 
    /* Mehrschichtiger, starker weißer Glüh-Effekt */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5), 0 10px 25px rgba(255, 255, 255, 0.3);
    animation: glow-pulse 3s infinite; /* Pulsierender Effekt */
    border: 1px solid rgba(255,255,255,0.8);
}
.hero-variant-1 .btn-primary:hover { 
    background-color: #f8fafc; 
    transform: translateY(-5px) scale(1.02); 
    /* Noch stärkerer Glow beim Hover */
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 50px rgba(255, 255, 255, 0.7), 0 0 70px rgba(0, 242, 254, 0.4); 
    animation: none; /* Pulsieren stoppen beim Hover für Stabilität */
}
/* ====== HIER ENDET DIE ÄNDERUNG ====== */

.hero-variant-1 .btn-secondary { border-color: #00f2fe; color: #00f2fe; }
.hero-variant-1 .btn-secondary:hover { background-color: rgba(0,242,254,0.1); box-shadow: 0 4px 15px rgba(0,242,254,0.2); }

/* ----- LEISTUNGEN ----- */
#leistungen { background-color: var(--section-bg); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; text-align: left; }

.flip-card-container { perspective: 1000px; min-height: 400px; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
.flip-card-container:hover .flip-card-inner { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1); border-radius: 16px; }
.flip-card-container.flipped .flip-card-inner { transform: rotateY(180deg); -webkit-transform: rotateY(180deg); }

.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #fff; padding: 45px 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; overflow: hidden; }

.flip-card-front { transform: rotateY(0deg); -webkit-transform: rotateY(0deg); z-index: 2; }
.flip-card-back { transform: rotateY(180deg); -webkit-transform: rotateY(180deg); z-index: 1; background-color: #f8fafc; display: flex; flex-direction: column; justify-content: center; }

.flip-card-front::before, .flip-card-back::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.flip-card-container:nth-child(1) .flip-card-front::before, .flip-card-container:nth-child(1) .flip-card-back::before { background: linear-gradient(to right, #93c5fd, #3b82f6); }
.flip-card-container:nth-child(2) .flip-card-front::before, .flip-card-container:nth-child(2) .flip-card-back::before { background: linear-gradient(to right, #3b82f6, #1d4ed8); }
.flip-card-container:nth-child(3) .flip-card-front::before, .flip-card-container:nth-child(3) .flip-card-back::before { background: linear-gradient(to right, #1d4ed8, #1e3a8a); }

.flip-card-back ul { list-style-type: none; margin-top: 15px; }
.flip-card-back ul li { position: relative; padding-left: 25px; margin-bottom: 12px; font-size: 15px; color: #475569; }
.flip-card-back ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }

.card-svg { width: 45px; height: 45px; margin-bottom: 20px; stroke: var(--icon-color); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flip-card-front h3, .flip-card-back h3 { margin-bottom: 15px; font-size: 22px; color: var(--dark-blue); }
.flip-card-front p { color: #64748b; }

.info-btn, .close-btn { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; top: 15px; right: 15px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; cursor: pointer; transition: all 0.3s ease; z-index: 10; }

.info-btn { background: #f1f5f9; color: #475569; font-style: italic; }
.info-btn:hover { background: var(--primary-color); color: #fff; transform: scale(1.1); }

.close-btn { background: #e2e8f0; color: #475569; }
.close-btn:hover { background: #cbd5e1; color: #0f172a; transform: scale(1.1); }

/* ----- PROZESS (Zeitstrahl) ----- */
/* ====== HIER BEGINNT DIE NEUE ÄNDERUNG: Türkis-Hintergrund etwas dunkler ====== */
#prozess { background-color: #e0f7fa; } /* Leicht dunkleres, klares Türkis */
/* ====== HIER ENDET DIE ÄNDERUNG ====== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; text-align: left; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 24px; width: 4px; background: var(--line-color); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 60px; padding-left: 80px; opacity: 0; transform: translateX(-30px); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-number { position: absolute; left: 0; top: 0; width: 52px; height: 52px; background: white; border: 4px solid var(--line-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; color: #94a3b8; transition: all 0.5s ease; z-index: 2; }
.timeline-item.visible .timeline-number { border-color: var(--primary-color); color: var(--primary-color); box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }

.timeline-content { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid #e2e8f0; position: relative; }
.timeline-content h3 { color: var(--dark-blue); font-size: 22px; margin-bottom: 10px; }
.timeline-content::before { content: ''; position: absolute; top: 18px; left: -10px; width: 20px; height: 20px; background: #fff; border-left: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; transform: rotate(45deg); }


/* ----- WIEDERHERGESTELLTE HELLE ÜBER-UNS SEKTION ----- */
.about-intro { font-size: 19px; line-height: 1.8; max-width: 850px; margin: 0 auto 50px auto; }
.about-outro { font-size: 18px; line-height: 1.8; max-width: 850px; margin: 50px auto 0 auto; padding-top: 30px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 20px; text-align: left; }
.team-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }

.team-img-wrapper { 
    position: relative; width: 100%; height: 340px; 
    display: flex; align-items: center; justify-content: center; overflow: hidden; 
}
.team-img { width: 100%; height: 100%; object-fit: cover; z-index: 2; position: absolute; top: 0; left: 0; }
.img-placeholder { font-size: 15px; font-weight: 600; z-index: 1; letter-spacing: 0.5px; }

.team-info { padding: 35px 30px; }
.team-info h3 { font-size: 26px; margin-bottom: 6px; font-weight: 700; color: #ffffff; }
.team-role { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.team-info p { font-size: 16px; line-height: 1.75; color: #e2e8f0; } 

#ueber-uns { 
    background-color: #0f172a; 
    color: #f8fafc; 
    overflow: hidden;
}
#ueber-uns h2.about-title { color: #ffffff; }
#ueber-uns .about-subtitle { color: #cbd5e1; } 
#ueber-uns .about-outro { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.about-glow-1 { 
    display: block; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.45; 
    width: 450px; height: 450px; background: #00f2fe; top: 5%; left: -10%; z-index: 1; 
}
.about-glow-2 { 
    display: block; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.45; 
    width: 500px; height: 500px; background: #3b82f6; bottom: 0; right: -10%; z-index: 1; 
}

#ueber-uns .team-card { 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); 
    z-index: 2;
}
#ueber-uns .team-img-wrapper { background-color: rgba(255, 255, 255, 0.05); }
#ueber-uns .img-placeholder { color: #94a3b8; }

#ueber-uns .jan-card .team-role { color: #00f2fe; font-weight: 900; }
#ueber-uns .jakob-card .team-role { color: #60a5fa; font-weight: 900; }

#ueber-uns .jan-card:hover { 
    transform: translateY(-5px); 
    background: rgba(255, 255, 255, 0.12); 
    border-color: rgba(0, 242, 254, 0.3); 
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
}
#ueber-uns .jakob-card:hover { 
    transform: translateY(-5px); 
    background: rgba(255, 255, 255, 0.12); 
    border-color: rgba(96, 165, 250, 0.3); 
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.05);
}


/* ----- KONTAKT ----- */
#kontakt { background-color: var(--section-bg); }

.kontakt-wrapper { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: flex-start; margin-top: 40px; }
.kontakt-info-box { flex: 1; min-width: 280px; text-align: left; }

/* ====== HIER BEGINNT DIE NEUE ÄNDERUNG: Styling für Flex-Layout mit cleanen Icons ====== */
.contact-info { 
    font-size: 18px; 
    margin-bottom: 20px; 
    background: #ffffff; 
    padding: 22px 25px; 
    border-radius: 12px; 
    display: flex; /* Flexbox für Icon und Text nebeneinander */
    align-items: center; 
    gap: 15px; /* Abstand zwischen Icon und Link */
    border: 1px solid #e2e8f0; 
    word-break: break-word; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
}
.contact-icon { 
    width: 28px; 
    height: 28px; 
    color: #00e5ff; /* Helles Türkis für die Icons passend zum Webdesign */
    flex-shrink: 0; /* Verhindert, dass das Icon kleiner wird */
}
/* ====== HIER ENDET DIE ÄNDERUNG ====== */

.contact-info a { color: var(--primary-color); text-decoration: none; font-weight: bold; }
.contact-info a:hover { text-decoration: underline; }

.contact-form { flex: 2; min-width: 300px; background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 16px; font-family: inherit; transition: all 0.3s ease; background-color: #f8fafc; color: var(--text-color); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); background-color: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.contact-form .btn { width: 100%; border: none; cursor: pointer; font-size: 18px; }

.form-status { margin-top: 15px; font-weight: 600; text-align: center; font-size: 15px; }
.status-success { color: #10b981; }
.status-error { color: #ef4444; }

/* ----- FOOTER ----- */
footer { background-color: #020617; color: #94a3b8; text-align: center; padding: 30px 10px; font-size: 14px; }
footer a { color: #94a3b8; text-decoration: none; margin: 0 10px; transition: color 0.3s ease; }
footer a:hover { color: #ffffff; }

/* =========================================
   MOBILE ANPASSUNGEN (RESPONSIVE DESIGN) 
   ========================================= */
@media (max-width: 768px) {
    .logo img { height: 60px; }
    .menu-toggle { display: block; }
    nav { position: absolute; top: 95px; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.98); box-shadow: 0 10px 15px rgba(0,0,0,0.05); border-top: 1px solid #eee; visibility: hidden; opacity: 0; transform: translateY(-20px); transition: all 0.3s ease; }
    nav.active { visibility: visible; opacity: 1; transform: translateY(0); } 
    nav ul { flex-direction: column; gap: 0; }
    nav ul li { border-bottom: 1px solid #f1f5f9; }
    nav ul li a { display: block; padding: 20px; text-align: center; font-size: 18px; }

    section { padding: 100px 5% 60px 5%; }
    h2 { font-size: 32px; }
    .subtitle { font-size: 16px; margin-bottom: 40px; }

    .slogan { font-size: 40px; margin-top: 20px; }
    .slogan-sub { font-size: 18px; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .btn { width: 100%; padding: 15px 20px; }
    
    .glow-orb-1 { width: 300px; height: 300px; left: -50px; }
    .glow-orb-2 { width: 250px; height: 250px; right: -50px; }

    .timeline::before { left: 15px; } 
    .timeline-number { width: 34px; height: 34px; font-size: 16px; border-width: 3px; left: -2px; top: 5px; }
    .timeline-item { padding-left: 50px; margin-bottom: 40px; }
    .timeline-content { padding: 20px; }
    .timeline-content h3 { font-size: 18px; }
    .timeline-content::before { top: 12px; }
    
    .text-box { padding: 25px; }
    .text-box p { font-size: 16px !important; }
    
    .kontakt-wrapper { flex-direction: column; gap: 20px; }
    .kontakt-info-box, .contact-form { width: 100%; }
    .contact-form { padding: 25px; }

    .team-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-intro, .about-outro { font-size: 16px !important; text-align: left; }
    .team-img-wrapper { height: 280px; }
}